Wicri Grand Est (en)
WicriGrandEstEn
https://wicri-demo.istex.fr/Wicri/Europe/France/GrandEst/en/index.php/Main_Page
MediaWiki 1.31.10
first-letter
Media
Special
Talk
User
User talk
Wicri Grand Est (en)
Wicri Grand Est (en) talk
File
File talk
MediaWiki
MediaWiki talk
Template
Template talk
Help
Help talk
Category
Category talk
Property
Property talk
Concept
Concept talk
smw/schema
smw/schema talk
Rule
Rule talk
GeoJson
GeoJson talk
TimedText
TimedText talk
Module
Module talk
Wicri
Discussion Wicri
Projets
Discussion Projets
Gadget
Gadget talk
Gadget definition
Gadget definition talk
Template:Template imported from Semantic Web
10
289
564
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="120" align="center"|[[Image:W3CSw-horz.png|100px|logo import Semantic Web]]
|width="30" align="center"|[[Image:Nuvola apps forward arrow.png|30px|arrow]]
|Template imported from Sematic Web, see:
* original one (Semantic Web): [[semweb:Template:{{{Template}}}|Template:{{{Template}}}]].
* local adaptations are described below.
|}
</div>[[Category:Template imported from Semantic Web]]<noinclude>
This template must be used in order to indicate that it comes from Semantic Web.
[[fr:Modèle:Modèle importé du Semantic Web]]
</noinclude>
ad905223ef1fd777a3bf721f22e73940c7c016b8
Template:Tablelongrow
10
290
566
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{|
! A long table row (helper template)
|-
|{{Template imported from Semantic Web|Template=Tablelongrow}}
|-
|'''adaptations''': A value test had been inserted in order to avoid emply lines
|}
[[fr:Modèle:Tablelongrow]]
</noinclude>{{#if:{{{Value|}}}|{{!}} colspan="2" style="text-align: {{{Align|center}}}; background: {{{Color|white}}}"{{!}}<div style="font-size: {{{Font size|100%}}}">{{{Value}}}</div>}}
68d40bdf5854ff113486e1227ba720f1cf172e44
Template:Tablerow
10
291
568
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{|
! A
! table row (helper template)
|-
</noinclude>|style="vertical-align: top;" |{{{Label}}}
| {{{Value|undefined}}}<noinclude>
|}</noinclude>
bc60b9969fd3098e8b7cafbd3c611a14ca2ffe7c
Template:Tablesection
10
292
570
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{|
! A
! table section (helper template)
|-
</noinclude>! colspan="2" style="text-align: center; background: {{{Color|#eee}}}"| {{{Label}}}
<noinclude>|}</noinclude>
51fe7428ca40b6cf6e7854f25327651714c48f2f
Template:Infobox Document - Notes
10
293
572
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #4c4cff; color: white" | {{{Title}}}
|-
{{#ifeq:{{{Text|}}}|||{{Tablelongrow|Value={{{Text}}}|Align={{{Align text|center}}}}}}}
|-
{{#ifeq:{{{Label 1|}}}|||{{Tablerow|Label={{{Label 1}}} :|Value={{{Value 1}}}}}}}
|-
{{#ifeq:{{{Label 2|}}}|||{{Tablerow|Label={{{Label 2}}} :|Value={{{Value 2}}}}}}}
|-
{{#ifeq:{{{Label 3|}}}|||{{Tablerow|Label={{{Label 3}}} :|Value={{{Value 3}}}}}}}
|-
{{#ifeq:{{{Label 4|}}}|||{{Tablerow|Label={{{Label 4}}} :|Value={{{Value 4}}}}}}}
|-
{{#ifeq:{{{Label 5|}}}|||{{Tablerow|Label={{{Label 5}}} :|Value={{{Value 5}}}}}}}
|-
{{#ifeq:{{{Label 6|}}}|||{{Tablerow|Label={{{Label 6}}} :|Value={{{Value 6}}}}}}}
|-
{{#ifeq:{{{Label 7|}}}|||{{Tablerow|Label={{{Label 7}}} :|Value={{{Value 7}}}}}}}
|}<noinclude>
[[fr:Modèle:Infobox document - complément]]
</noinclude>
b9ab2df7fe28e1bc4039716e41f33afefc205468
Template:Semantic Infobox Person Extension
10
296
578
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox Event
10
297
580
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template is an adaptation of [[semweb:Template:Event|Semantic Web]].
This template is used for collecting data about some event. When inserted in an event's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
<pre>{{Semantic Infobox Event
| Logo = Logo of the given event (ex: logoSUITMA.jpg), to be added through "Upload file" on the left
| Logo label = Description of the logo
| Title = Full title of the given event
| Series = Abbreviation of event series, in case the event belongs to a continuing series
| Superevent = Larger hosting event (e.g. conference of a workshop)
| Homepage = URL of the homepage (without http://)
| Homepage label = Optional label if homepage URL is too long
| Start date = November 9 2006
| End date = November 10 2006
| City = the city the event takes place in
| Country = the country the event takes place in
| Submission deadline = general deadline for (most relevant kinds of) submissions; read the docu below
| Abstract deadline = deadline for abstract submissions (usually for papers that are to be submitted later)
| Paper deadline = deadline for submitting papers, a special kind of submission deadline; read the docu below
| Poster deadline = deadline for submitting posters; read the docu below
| Workshop deadline = deadline for submitting workshops proposals
| Tutorial deadline = deadline for submitting tutorial proposals
| Demo deadline = deadline for submitting demo papers; read the docu below
| Camera ready = deadline for submitting the camera ready
| Notification = date of acceptance notifications
}}</pre>
[[fr:Modèle:Infobox sémantique manifestation]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the '''Template:Semantic Infobox Event Extension''' (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
'''A note on the various deadlines:''' In general, you only need some deadlines. The ''submission deadline'' should represent the single most important deadline for an event. If there is a paper deadline, it automatically counts as a submission deadline as well. The other kinds of deadlines are just relevant for events that accept many forms of contribution (e.g. papers and demos). If an event has just one type of submission (e.g. a developer's event might only accpept demos) then use ''submission deadline'' since it is the main deadline and it is clear what kind of submissions are meant.
</noinclude>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Title|}}}|||{{Tablelongrow|Value=[[title:={{{Title}}}]]|Color=#fdddbb}}}}
|-
{{#ifeq:{{{Series|}}}|||{{Tablerow|Label=Series :|Value=[[belong to::{{{Series}}}]]}}}}
|-
{{#ifeq:{{{Superevent|}}}|||{{Tablerow|Label=Subevent of :|Value=[[belong to::{{{Superevent}}}]]}}}}
|-
{{#ifeq:{{{Start date|}}}|||{{Tablerow|Label=Start :|Value=[[start date:={{{Start date}}}]] {{#ifeq:{{{End date|}}}|||<small>{{#ask:[[{{PAGENAME}}]]|?start date=start|?end date=end|?has location city=location|searchlabel=(iCal)|format=icalendar}}</small>}}}}}}
|-
{{#ifeq:{{{End date|}}}|||{{Tablerow|Label=End :|Value=[[end date:={{{End date}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage :|Value=[[homepage:=http://{{{Homepage}}}|{{{Homepage label|Homepage}}}]]}}}}
|-
<!-- *** Location: *** -->
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City :|Value=[[has location city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country :|Value=[[has location country::{{{Country}}}]]}}}}
|-
<!-- *** Dates: *** -->
|colspan="2" bgcolor=#DFDFDF align="center" | '''Important dates'''
|-
{{#ifeq:{{{Submission deadline|}}}|||{{Tablerow|Label=Submissions due :|Value=[[submission deadline:={{{Submission deadline}}}]]}}}}
|-
{{#ifeq:{{{Abstract deadline|}}}|||{{Tablerow|Label=Abstracts due :|Value=[[abstract deadline:={{{Abstract deadline}}}]]}}}}
|-
{{#ifeq:{{{Paper deadline|}}}|||{{Tablerow|Label=Papers due :|Value=[[paper deadline:=submission deadline:={{{Paper deadline}}}]]}}}}
|-
{{#ifeq:{{{Poster deadline|}}}|||{{Tablerow|Label=Posters due :|Value=[[poster deadline:={{{Poster deadline}}}]]}}}}
|-
{{#ifeq:{{{Workshop deadline|}}}|||{{Tablerow|Label=Workshops due :|Value=[[workshop deadline:={{{Workshop deadline}}}]]}}}}
|-
{{#ifeq:{{{Tutorial deadline|}}}|||{{Tablerow|Label=Tutorial due :|Value=[[tutorial deadline:={{{Tutorial deadline}}}]]}}}}
|-
{{#ifeq:{{{Demo deadline|}}}|||{{Tablerow|Label=Demos due :|Value=[[demo deadline:={{{Demo deadline}}}]]}}}}
|-
{{#ifeq:{{{Camera ready|}}}|||{{Tablerow|Label=Camera ready due :|Value=[[Camera ready due:={{{Camera ready}}}]]}}}}
|-
{{#ifeq:{{{Notification|}}}|||{{Tablerow|Label=Notification :|Value=[[notification:={{{Notification}}}]]}}}}
{{Semantic Infobox Event Extension}}
|-
|}<!--
--><includeonly>{{#ifeq:{{{Superevent|}}}||[[Category:Stand-alone event]]|}}</includeonly>
85e6610d2916cd76e87ab23b48666877462bedc7
Template:Semantic Infobox Event Extension
10
298
582
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox University
10
299
584
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template simplifies the creation of articles about universities. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox University
| Nickname = UPV-M
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label = UPV-M's logo
| Chancellor =
| Homepage = www.univ-metz.fr/ (without http://)
| Homepage label = UPV-M's webpage
| City =
| Country =
}}
</pre>
[[fr:Modèle:Infobox sémantique université]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the Template:Semantic Infobox University Extension (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Nickname|}}}|||{{Tablerow|Label=Nickname: |Value=[[Has nickname::{{{Nickname}}}]]}}}}
|-
{{#ifeq:{{{Chancellor|}}}|||{{Tablerow|Label=Chancellor: |Value=[[Has chancellor::{{{Chancellor}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage: |Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City: |Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country: |Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** University data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Laboratories:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]] OR [[Member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members:_ }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of:_ }}|Color=#e4f8b6}}
{{Semantic Infobox University Extension}}
|-
|}
[[Category:Academic establishment]]
[[Category:University]]
[[Category:University page]]
</includeonly>
bde40860be9eb035a9d1cac623b054de79e6cb64
Template:Semantic Infobox University Extension
10
300
586
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox Organization
10
301
588
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template simplifies the creation of articles about organizations. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
See also: [[Template:Semantic Infobox University]]
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Organization
| Nickname = UPV-M
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label = UPV-M's logo
| Chancellor =
| Homepage = www.univ-metz.fr/ (without http://)
| Homepage label = UPV-M's webpage
| City = Metz
| Country = France
}}
</pre>
[[fr:Modèle:Infobox sémantique organisme]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the Template:Semantic Infobox University Extension
(existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Nickname|}}}|||{{Tablerow|Label=Nickname:|Value=[[Has nickname::{{{Nickname}}}]]}}}}
|-
{{#ifeq:{{{Chancellor|}}}|||{{Tablerow|Label=Chancellor:|Value=[[Has chancellor::{{{Chancellor}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country:|Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** University data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Laboratories: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members: }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of : }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of: }}|Color=#e4f8b6}}
{{Semantic Infobox University Extension}}
|-
|}
[[Category:Organization]]
</includeonly>
90f3fda5acb0767a73d5145ca5df3b2eaf85bc5a
Template:Semantic Infobox Organisation Extension
10
302
590
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox Company
10
303
592
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the creation of articles about private companies. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Organization
| Nickname = UPV-M
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label = UPV-M's logo
| Chancellor =
| Homepage = www.univ-metz.fr/ (without http://)
| Homepage label = UPV-M's webpage
| City = Headquarter city
| Country = France
}}
</pre>
[[fr:Modèle:Infobox sémantique société]]
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{{Name|{{PAGENAME}}}}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Nickname|}}}|||{{Tablerow|Label=Nickname:|Value=[[Has nickname::{{{Nickname}}}]]}}}}
|-
{{#ifeq:{{{CEO|}}}|||{{Tablerow|Label=CEO:|Value=[[Has CEO::{{{CEO}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country:|Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** Compagny data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Laboratories: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members: }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of : }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of: }}|Color=#e4f8b6}}
|-
|}
[[Category:Company page]]
</includeonly>
b2b3c1c883454c7e33806d4867c92b124a4dbdfd
Template:Semantic Infobox Research Center
10
304
594
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template simplifies the creation of articles about research centers. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Research Center
| Acronym = LORIA
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label =
| Head =
| Homepage = www.loria.fr/ (without http://)
| Homepage label = LORIA's webpage
| City =
| Country =
}}
</pre>
[[fr:Modèle:Infobox sémantique laboratoire]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the Template:Semantic Infobox University Extension (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
</noinclude><includeonly>{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Acronym|}}}|||{{Tablerow|Label=Acronym: |Value=[[Has acronym::{{{Acronym}}}]]}}}}
|-
{{#ifeq:{{{Head|}}}|||{{Tablerow|Label=Head: |Value=[[Has head::{{{Head}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage: |Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City: |Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country: |Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** Research Center data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Teams:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]] OR [[Member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members:_ }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of:_ }}|Color=#e4f8b6}}
{{Semantic Infobox University Extension}}
|-
|}
[[Category:Academic establishment]]
[[Category:Research Center]]
</includeonly>
374b993f162dc2bafe367cca688bd96fa659de43
Template:Semantic Infobox end
10
305
596
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template must close all modular infoboxes:
* [[Template:Semantic Infobox OrgUnit begin]]
</noinclude><includeonly>
|}
</includeonly>
d62ed928de1a774221f537d7da81fe927160a961
Template:Semantic Infobox OrgUnit begin
10
306
598
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}
{{#if:{{{Logo|}}}|
{{!-}}
{{!}}colspan="2" align="center" style="background: #white;"{{!}}[[image:{{{Logo}}}|{{{Logo_width|200px}}}|{{{Logo label|}}}]]}}
{{#if:{{{Nickname|}}}|{{!-}}
{{!}}colspan="2" align="center" style="background: #ef7c00; color: white" {{!}}{{{Nickname}}}}}
</includeonly>
fdf067e3660773d4e0266831addd5ce9884f1df8
Template:Semantic Infobox OrgUnit members
10
307
600
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]] OR [[Member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members : }}|Color=#e4f8b6}}
2a9953852884eaddb1bd5b2975953cccb464fe07
Template:Bibliobox right
10
308
602
2017-06-11T20:49:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{|align=right width=50% cellspacing="0" cellpadding="5"
|-
|style="background: #f0f0b4;"| {{{1}}}
|}</includeonly><noinclude>
This template aims at homogenizing the frames of bibliographic descriptions in WICRI network.
;Sample:the following script :
<pre>
{{Bibliobox right|
;Title: This is a title
;Author: ...
}}
</pre>
produces:
{{Bibliobox right|
;Title: This is a title
;Author: ...
}}
[[fr:Modèle:Boîte bibliographique droite]]
</noinclude>
684ab78eafe2ee8a42ff404b66a04b47b4007f0e
Template:Page title for an article
10
309
604
2017-06-11T20:49:38Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{DISPLAYTITLE:<small>{{PAGENAME}}</small>}}
<span style="font-size: 200%;Line-Height:24pt;">{{{title}}}</span>{{ #if: {{{sous-titre|}}}|<br/><br/><span style="font-size: 160%;">''{{{subtitle}}}''</span>|}}<hr/> <br/> <noinclude>
<source lang="html">
{{Page title for an article
|title= mandatory
|subtitle= optional
|original= optional
}}
</source>
[[fr:Modèle:Titre page article]]
</noinclude>
af1bdeb040dc3d7457135b6b1daa364efac473fa
Template:Wicri Creators
10
310
606
2017-06-11T20:49:38Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the edition of an article. When inserted in an article's page, it generates, at the beginning of the article the list of creators, and the relevant information for each other (affiliation, address...).
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{wicri auteurs
| Creator 1 =
| Affiliation 1 =
| Address 1 =
| Phone 1 =
| Creator 2 =
| Affiliation 2 =
| Address 2 =
| Phone 2 =
| Creator 3 =
| Affiliation 3 =
| Address 3 =
| Phone 3 =
| Creator 4 =
| Affiliation 4 =
| Address 4 =
| Phone 4 =
| Creator 5 =
| Affiliation 5 =
| Address 5 =
| Phone 5 =
| Creator 6 =
| Affiliation 6 =
| Address 6 =
| Phone 6 =
}}
</pre>
[[fr:Modèle:Wicri auteurs]]
The order of the fields is not relevant.
</noinclude>
<includeonly>
{|cellpadding="5"
|-
|[[Has first creator::{{{Creator 1}}}]]<!--
-->{{#if: {{{Creator 2|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 1|}}}|<sup>{{{Affiliation link 1}}}</sup>|}}<!--
-->{{#if: {{{Mail 1|}}}|<br/><small>{{{Mail 1|}}}</small>|}}<!--
-->{{#if: {{{Tel 1|}}}|<br/><small>Tel : {{{Tel 1|}}}</small>|}}
{{#if: {{{Creator 2|}}}|
{{!}}[[Has Creator::{{{Creator 2}}}]]<!--
-->{{#if: {{{Creator 3|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 2|}}}|<sup>{{{Affiliation link 2}}}</sup>|}}<!--
-->{{#if: {{{Mail 2|}}}|<br/><small>{{{Mail 2|}}}</small>|}}<!--
-->{{#if: {{{Tel 2|}}}|<br/><small>Tel : {{{Tel 2|}}}</small>|}}
{{#if: {{{Creator 3|}}}|
{{!-}}
{{!}}[[Has Creator::{{{Creator 3}}}]]<!--
-->{{#if: {{{Creator 4|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 3|}}}|<sup>{{{Affiliation link 3}}}</sup>|}}<!--
-->{{#if: {{{Mail 3|}}}|<br/><small>{{{Mail 3|}}}</small>|}}<!--
-->{{#if: {{{Tel 3|}}}|<br/><small>Tel : {{{Tel 3|}}}</small>|}}
{{#if: {{{Creator 4|}}}|
{{!}}[[Has Creator::{{{Creator 4}}}]]<!--
-->{{#if: {{{Creator 5|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 4|}}}|<sup>{{{Affiliation link 4}}}</sup>|}}<!--
-->{{#if: {{{Mail 4|}}}|<br/><small>{{{Mail 4|}}}</small>|}}<!--
-->{{#if: {{{Tel 4|}}}|<br/><small>Tel : {{{Tel 4|}}}</small>|}}
{{#if: {{{Creator 5|}}}|
{{!-}}
{{!}}[[Has Creator::{{{Creator 5}}}]]<!--
-->{{#if: {{{Creator 6|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 5|}}}|<sup>{{{Affiliation link 5}}}</sup>|}}<!--
-->{{#if: {{{Mail 5|}}}|<br/><small>{{{Mail 5|}}}</small>|}}<!--
-->{{#if: {{{Tel 5|}}}|<br/><small>Tel : {{{Tel 5|}}}</small>|}}
{{#if: {{{Creator 6|}}}|
{{!}}[[Has Creator::{{{Creator 6}}}]]<!--
-->{{#if: {{{Creator 7|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 6|}}}|<sup>{{{Affiliation link 6}}}</sup>|}}<!--
-->{{#if: {{{Mail 6|}}}|<br/><small>{{{Mail 6|}}}</small>|}}<!--
-->{{#if: {{{Tel 6|}}}|<br/><small>Tel : {{{Tel 6|}}}</small>|}}
{{#if: {{{Creator 7|}}}|
{{!-}}
{{!}}[[Has Creator::{{{Creator 7}}}]]<!--
-->{{#if: {{{Creator 8|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 7|}}}|<sup>{{{Affiliation link 7}}}</sup>|}}<!--
-->{{#if: {{{Mail 7|}}}|<br/><small>{{{Mail 7|}}}</small>|}}<!--
-->{{#if: {{{Tel 7|}}}|<br/><small>Tel : {{{Tel 7|}}}</small>|}}
}}
}}
}}
}}
}}
}}
|}
{{#if: {{{Affiliation 1|}}}|
* i - ''{{{Affiliation 1}}}''{{#if: {{{Affiliation 2|}}}| ;|.}}
{{#if: {{{Affiliation 2|}}}|
* ii - ''{{{Affiliation 2}}}''{{#if: {{{Affiliation 3|}}}| ;|.}}
{{#if: {{{Affiliation 3|}}}|
* iii - ''{{{Affiliation 3}}}''{{#if: {{{Affiliation 4|}}}| ;|.}}
{{#if: {{{Affiliation 4|}}}|
* iv - ''{{{Affiliation 4}}}''{{#if: {{{Affiliation 5|}}}| ;|.}}
{{#if: {{{Affiliation 5|}}}|
* v - ''{{{Affiliation 5}}}''{{#if: {{{Affiliation 6|}}}| ;|.}}
{{#if: {{{Affiliation 6|}}}|
* vi - ''{{{Affiliation 6}}}''{{#if: {{{Affiliation 7|}}}| ;|.}}
}}
}}
}}
}}
}}
}}
</includeonly>
5715ca032285af3362b8e3f5b4c5e2289c68819a
Template:Wicri Bibliography
10
311
608
2017-06-11T20:49:38Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the automatic edition, on the page of a person, of his bibliography (for the articles cited on the wiki), using semantic properties. When inserted on the page of a person, it generates the list of articles which this person is the first creator, a creator, the translator, as well as the articles in which he is cited or is a contributor.
To use this template, insert the following at the beginning of your user page.
<pre>{{Wicri Bibliography}}
</pre>
[[fr:Modèle:Wicri bibliographie]]
</noinclude>
<includeonly>
==Bibliography==
''(generated through automatic process)''
{{#ask:[[Has first creator::{{PAGENAME}}]] OR [[Has first author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=First creator of :_ }}<!--
-->{{#ask:[[Has Creator::{{PAGENAME}}]] OR [[Has author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Creator of:_ }}<!--
-->{{#ask:[[Has translator::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Translator of :_ }}<!--
-->{{#ask:[[Has cited creator::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Is cited by:_ }}<!--
-->{{#ask:[[Has contributor::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Contributor of:_ }}<!--
-->{{#ask:[[Has speaker::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Speaker in:_ }}
<includeonly>
587f58976e1bb4cdc60de2e682d48d4a1230aa6b
Template:Wicri Bibliography/list
10
312
610
2017-06-11T20:49:38Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#ask:[[Has quoted person::{{PAGENAME}}]]
| format=ol
| ?Has title=title:_
| sep=,_
| headers=hide
| intro=Is quoted as person in:_ }}<!--
-->{{#ask:[[Has first creator::{{PAGENAME}}]] OR [[Has first author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=First creator of :_ }}<!--
-->{{#ask:[[Has Creator::{{PAGENAME}}]] OR [[Has author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Creator of:_ }}<!--
-->{{#ask:[[Has translator::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Translator of :_ }}<!--
-->{{#ask:[[Has contributor::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Contributor of:_ }}<!--
-->{{#ask:[[Has invited speaker::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Invited speaker in:_ }}<!--
-->{{#ask:[[Has speaker::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Speaker in:_ }}<!--
-->{{#ask:[[Has quoted author::{{PAGENAME}}]]
| format=ol
| ?Has title=title:_
| sep=,_
| headers=hide
| intro=Is author quoted in:_ }}
<noinclude>
Tis template prints a set of properties related to a given person.
These property are the following:
* [[:Property:Has quoted person]]
* [[:Property:Has first author]]
* [[:Property:Has author]]
* [[:Property:Has translator]]
* [[:Property:Has contributor]]
* [[:Property:Has invited speaker]]
* [[:Property:Has speaker]]
* [[:Property:Has quoted author]]
[[fr:Modèle:Wicri bibliographie/liste]]
</noinclude>
e4007a4c0909e5a752d81dca9287d2afbb56241c
Template:Wicri interwiki see person
10
313
612
2017-06-11T20:49:38Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>
;In this wiki:
{{Wicri Bibliography/list}}
{{Wicri see|reference={{{reference|}}}}}</includeonly><noinclude>
Ce modèle sert à générer, pour une personnalité, des listes de résultats obtenus à partir d'attributs sémantiques.
Il s'applique pour une personnalité qui a sa page de référence sur un autre wiki et qui fait l'objet de citations sur ce wiki.
La procédure d'appel est la suivante :
<source lang="html">
{{Wicri interwiki voir personne
|référence = wiki de référence
}}
</source>
Il génère également un appel de [[Modèle:Wicri voir|<code><nowiki>{{Wicri voir}}</nowiki></code>]] qui crée un lien interwiki vers un wiki de référence - en utilisant le codage du modèle [[Modèle:Wicri lien|<code><nowiki>{{Wicri lien}}</nowiki></code>]].
[[fr:Modèle:Wicri interwiki voir personne]]
</noinclude>
3e301dd0244c8c92a1de2c4cdf08a0be7b847ab6
Template:Wicri see also, city
10
314
614
2017-06-11T20:49:38Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template prints an automatic '''See also''' content using semantic properties.
[[fr:Modèle:Wicri voir aussi, ville]]
</noinclude>{{#ask:[[Has city::{{PAGENAME}}]] [[Category:event]]
| format=ul
| sep=,_
| intro=
;List of events quoted in this wiki:_}}{{#ask:[[Has city::{{PAGENAME}}]] [[Catégorie:Laboratory||University]]
| format=ul
| sep=,_
| intro=
;Liste des organisations quoted in this wiki :}}{{#ask:[[Has city::{{PAGENAME}}]] [[Category:Person]]
| sep=,_
| intro=
;List of persons quoted in this wiki :}}
{{#if:{{{interwiki|}}}|{{Wicri see|reference={{{interwiki|}}}}}}}
<includeonly>[[Category:City]]</includeonly>
005583ad6387eba6b6e1662a12aa6cfff18976ed
Template:Up-page notes
10
315
616
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the edition of an article. When inserted in an article page, it generates a table in which can be found the name of the article and important information about it (journal, symposium it originates from...).
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Up-page notes
| Title 1 =
| Note 1 =
| Title 2 =
| Note 2 =
| Title 3 =
| Note 3 =
}}
</pre>
[[fr:Modèle:Notes haut de page]]
The order of the fields is not relevant.
</noinclude>
<includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 25em"
|- style="background: #fdddbb;"
|<center><big>'''{{{title 1}}}'''</big></center>
|-
|{{{note 1}}}
{{#if:{{{title 2|}}}|
{{!-}} style="background: #fdddbb;"
{{!}}<center><big>'''{{{title 2}}}'''</big></center>
{{!-}}
{{!}}{{{note 2}}}
{{#if:{{{title 3|}}}|
{{!-}} style="background: #fdddbb;"
{{!}}<center><big>'''{{{title 3}}}'''</big></center>
{{!-}}
{{!}}{{{note 3}}}
}}
}}
|}
</includeonly>
af373841f049812784016a5ded5595ec2efc8e29
Property:Has PC member
102
316
618
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
A '''programme committee member''' of some [[:Category:event|event]] is a person who contributes to the organisation of the programme, typically by reviewing and selecting scientific contributions to the event.
[[fr:Attribut:A pour membre du comité de programme]]
e378decda49c95ce38831f7fe59cf539b6589e00
Property:Has speaker
102
317
620
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has invited speaker|Has invited speaker]]
[[fr:Attribut:A pour intervenant]]
1da8e64c6cdd401e17d93a568bfb785c051a7882
Property:Has invited speaker
102
318
622
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has speaker|Has speaker]]
7b2d17ac42efa12c627cec226b0e9d3862904c98
Property:Has author
102
319
624
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has first author|Has first author]]
[[fr:Attribut:A pour auteur]]
ec2492c39c0c57037570d8b0355324b064d69fe9
Property:Has first author
102
320
626
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has author|Has author]]
* property : [[:Property:Has translator|Has translator]]
* property : [[:Property:Has contributor|Has contributor]]
673a490cec0e40391887d664c65b04e198018599
Property:Has translator
102
321
628
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has author|Has author]]
* property : [[:Property:Has contributor|Has contributor]]
31fbeb81967f97f86f663a9a309861af7ac1403c
Property:Has contributor
102
322
630
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has author|Has author]]
* property : [[:Property:Has translator|Has translator]]
94419b23367c1813e1f14efe2d517503dd8816ac
Property:Start date
102
327
640
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This property comes from [[semweb:Property:Start date|Semantic Web]]
This [[has type::date]] (possibly with a time of day) marks the '''start''' of some event. See also [[Upcoming events]] to see events in a timeline.
[[used for::Category:Conference| ]]
[[used for::Category:Project| ]]
c3ab3610bb927402336b02d2c3c41a650c4bbd8f
Property:End date
102
328
642
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This [[has type::date]] (possibly with a time of day) marks the '''end''' of some event; use it together with [[Property:Start date]].
This property is uploaded from [[semweb:Property:Start date|Semantic Web]]
[[fr:Attribut:Date de fin]]
76b63983308264d47310889df95ca3c6ef5d1453
Property:Has type
102
329
644
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
'''Has type''' is a [[special property]] in [[Semantic MediaWiki]] with a built-in meaning: it assigns a [[type]] to a [[property]]. [[Special:Types]] lists the types available in the wiki. See [[Help:Properties_and_types#Datatypes|datatypes in the Help system]].
For example, the page for [[Property:Population]] would specify <tt><nowiki>[[has type::Number]]</nowiki></tt>. "Has type" assumes its value is in the Type namespace, so you can omit the prefix ''Type:''.
Since version 1.0, SMW allows [[Help:Many-valued properties|many-valued properties]]. Types for these properties are specified by listing multiple types as the value of Has type, separated by semicolons. For example, on sandbox.semantic-mediawiki.org [http://sandbox.semantic-mediawiki.org/wiki/Property:Employment Property:Employment] takes a link to a company, a job title, and a start and end date,
so it specifies its type as <tt><nowiki>[[has type:=Page; String; Date; Date]]</nowiki></tt>.
{{docu|master page=Property:Allows value|language=en|minversion=1.0}}
[[Category:Special property|Has type]]
b119fb7a6ca2c48ee3ee7a907a13be070bb94c02
Property:Has title
102
330
646
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Has type::text]]
This property implements DC:Title of Dublin Core.
[[fr:Attribut:A pour titre]]
cc777a4fd8cd89212bbd2f9f7b32a6f5571c14ad
Property:Has quoted author
102
331
648
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Attribut:A pour auteur cité]]
9539c0d0320097da2ff06ee961dd5515412102e7
Property:Has quoted person
102
332
650
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Attribut:A pour personnalité citée]]
448bffcb02f9d43a521ce65d971b7663b1a4f390
Property:Homepage
102
333
652
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template is an adaptation of [[semweb:Property:Homepage|Semantic Web]].</noinclude>
This property specifies the '''URL of the homepage''' of something, which is a general web resource to learn more about a topic. Like all [[has type::URL|URLs]], it should begin with some known protocol such as "http:". This property also represents the [[FOAF]] property [[imported from::foaf:homepage]] within this wiki, i.e. it will be [[Help:RDF_export|exported]] as foaf:homepage. FOAF does not impose any requirements on the things that can have homepages, so this property can be used rather freely.
This property is a subproperty of [[subproperty of::Property:URL]], see that page and [[Type:URL]] for other URL properties on {{SITENAME}}.
== See also ==
* [[Property:URL]] (the "abstract" super property of all URLs here)
fe4f667c575ea0cf26de4a87852335a02539e095
Property:URL
102
334
654
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template is an adaptation of [[semweb:Template:Event|Semantic Web]].</noinclude>
This property specifies a general '''[[has type::URL]]''', but should normally not be used directly. Instead, use one of its [[Property:Subproperty of|subproperties]] as applicable:
* [[Property:Homepage]] (homepages of anything)
cfb4e7b3fae26cfb971c164a8d1954c141cdca5d
Category:Company page
14
335
656
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Catmore|Template:Semantic Infobox Company}}
This category is automatically set up by a template.
6e5c6e1df9f865bbd355b494fbd5b76acb3ed40d
Category:University page
14
336
658
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Catmore|Template:Semantic Infobox University}}
This category is automatically set up by a template.
2b05f1a414e60aa5dfeb6938eba16c83a55d03fd
Template:Link to affiliation
10
337
660
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<sup>([[#affiliation {{{l1}}}|{{{l1}}}]]<!--
-->{{#if:{{{l2|}}}|,[[#affiliation {{{l2}}}|{{{l2}}}]]}})</sup><noinclude>
[[fr:Modèle:Lien affiliation]]
</noinclude>
2a8dc0b75440ad84d8f952500b5514f9dc79463a
Template:Affiliation anchor
10
338
662
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><span id="affiliation {{{l}}}">({{{l}}})</span></includeonly><noinclude>
This template is used in creating (or importing) an item in a list of affiliations.
This template has been tested in [[wicri-lor.en:BMC Pregnancy and Childbirth (2013) George]].
See also:[[Template:Link to affiliation]]
[[fr:Modèle:Ancre affiliation]]
</noinclude>
01a8d13d80d910053d0dc23e9b092bcc0becfbea
Template:Wicri see city/semantic
10
339
664
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#ask:[[Has location city::{{PAGENAME}}]] [[Category:Stand-alone event]]
| format=ul
| sep=,_
| intro=
;List of event <nowiki>:</nowiki>:}}{{#ask:[[Has city::{{PAGENAME}}]] [[Category:Laboratory||University||Hight school||Organism||Hospital]]
| format=ul
| sep=,_
| intro=
;List of organisms in this wiki<nowiki>:</nowiki>:}}{{#ask:[[Has city::{{PAGENAME}}]] [[Category:Person]]
| sep=,_
| intro=
;List of people living in this city<nowiki>:</nowiki>:}}
209f1e0fed64ae091c5cc3b6d6cb21e16e9b5f5c
Template:Wicri see city
10
340
666
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Modèle:Wicri thématique voir ville]]
</noinclude><includeonly>{{Wicri see city/semantic}}
{{Wicri see|reference={{{reference|}}}}}
[[Category:City]]
</includeonly>
334b4ddb872daa57cddb1925647e1831232d62dc
Template:Wicri see region/semantic
10
341
668
2017-06-11T20:49:39Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#ask:[[Has region::{{PAGENAME}}]] [[Category:City]]
| sep=,_
| intro=
;List of cities from this region in this wiki:}}
{{#ask:[[Has region::{{PAGENAME}}]] [[Category:University||Hospital]]
| format=ul
| sep=,_
| intro=
;List of universities (hospital) from this region in this wiki:}}
2f5f85e5b02b7e168fdfbe6ecb31b2237d1bc942
Template:Wicri see region
10
342
670
2017-06-11T20:49:40Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Modèle:Wicri thématique voir région]]
</noinclude><includeonly>{{Wicri see region/semantic}}
{{Wicri see|reference={{{reference|}}}}}
[[Category:Region]]
</includeonly>
0fafa4a00f205851d6f5159fbc0a520348ba0046
Template:Explor link
10
343
672
2017-06-11T20:49:40Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#if:{{{url|}}}|[{{Explor link/Wiki|{{{wiki|}}}}}/Site/fr/{{{url|}}} {{{text|{{{area|}}}}}}]|
{{#if:{{{ftp|}}}|[{{Explor link/Wiki|{{{wiki|}}}}}/{{{ftp|}}} {{{text|{{{ftp|}}}}}}]|
{{#if:{{{type|}}}|{{#switch:{{{type}}}
|auteur=[{{Explor link/Area|{{{wiki|}}}}}/Site/fr/{{{stream|Main}}}/{{{step|Exploration}}}/indexItem.php?index=Author.i&key={{urlencode:{{{key|{{PAGENAME}}}}}}} {{{text|}}}]
|auteurAffiliation=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/autAff.php?index=AutAff.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|région=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffRegion.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|pays=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffPays.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|ville=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffVille.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|org=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffOrg.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|ISSN=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=ISSN.i&key={{urlencode:{{{clé|{{#show: {{PAGENAME}}| ?A pour ISSN}}}}}}} {{{texte|}}}]
|RBID=[{{Explor link/Wiki|{{{wiki|}}}}}/{{{area|}}}/Site/fr/{{{stream|Main}}}/{{{step|Exploration}}}/bibRecordById.php?id={{urlencode:{{{key|{{PAGENAME}}}}}}} {{{text|}}}]
|mot-clé Pascal=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=FC03.fr.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|mot-clé Wicri=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=Wicri.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|keyword=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=KwdEn.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|indexItem=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index={{{index|}}}&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
}}}}}}}}</includeonly><noinclude>
[[fr:Modèle:Explor lien]]
</noinclude>
81e1c9e9541d7beb6a66430fca19546f6067bcb0
Template:Explor link/Wiki
10
344
674
2017-06-11T20:49:40Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
Ce modèle renvoie l'URL de départ des corpus pour un wiki donné.
{{Explor lien/Liste des wikis}}
==Voir aussi==
:* [[Modèle:Explor lien/Liste des wikis]] - ce modèle donne la liste des wikis qui contiennent des serveurs d'exploration ;
[[fr:Template:Explor lien/Wiki]]
</noinclude>{{#switch:{{{1|}}}
|Agronomie=http://ticri.univ-lorraine.fr/Wicri/Agronomie/corpus
|Artist=http://ticri.univ-lorraine.fr/Tic/Artist/corpus
|Archéologie=http://ticri.univ-lorraine.fr/Wicri/Archeologie/corpus
|Allemagne=http://ticri.univ-lorraine.fr/Wicri/Allemagne/corpus
|Biomasse=http://ticri.univ-lorraine.fr/Wicri/Biomasse/corpus
|Bois=http://ticri.univ-lorraine.fr/Wicri/Bois/corpus
|Brésil=http://ticri.univ-lorraine.fr/Wicri/Bresil/corpus
|Europe=http://ticri.univ-lorraine.fr/Wicri/Europe/corpus
|France=http://ticri.univ-lorraine.fr/Wicri/France/corpus
|Informatique=http://ticri.univ-lorraine.fr/Wicri/Informatique/corpus
|Linguistique=http://ticri.univ-lorraine.fr/Wicri/Linguistique/corpus
|Lorraine=http://ticri.univ-lorraine.fr/Wicri/Lorraine/corpus
|Luxembourg=http://ticri.univ-lorraine.fr/Wicri/Luxembourg/corpus
|Maroc=http://ticri.univ-lorraine.fr/Wicri/Maroc/corpus
|Musique=http://ticri.univ-lorraine.fr/Wicri/Musique/corpus
|Psychologie=http://ticri.univ-lorraine.fr/Wicri/Psychologie/corpus
|R21-MSTR=http://ticri.univ-lorraine.fr/Lorraine/R21-MSTR/corpus
|Sarre=http://ticri.univ-lorraine.fr/Wicri/Sarre/corpus
|Sante=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Santé=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Terre=http://ticri.univ-lorraine.fr/Wicri/Terre/corpus
|Ticri=http://ticri.univ-lorraine.fr/Wicri/Ticri/corpus
|Ticri/CIDE=http://ticri.univ-lorraine.fr/Tic/CIDE/corpus
|H2PTM=http://ticri.univ-lorraine.fr/Tic/H2PTM/corpus
|Ticri/H2ptm=http://ticri.univ-lorraine.fr/Tic/H2PTM/corpus
|Wicri/Agronomie=http://ticri.univ-lorraine.fr/Wicri/Agronomie/corpus
|Wicri/Allemagne=http://ticri.univ-lorraine.fr/Wicri/Allemagne/corpus
|Wicri/Amérique=http://ticri.univ-lorraine.fr/Wicri/Amerique/corpus
|Wicri/Amerique=http://ticri.univ-lorraine.fr/Wicri/Amerique/corpus
|Wicri/Archeologie=http://ticri.univ-lorraine.fr/Wicri/Archeologie/corpus
|Wicri/Artist=http://ticri.univ-lorraine.fr/Tic/Artist/corpus
|Wicri/Belgique=http://ticri.univ-lorraine.fr/Wicri/Belgique/corpus
|Wicri/Biomasse=http://ticri.univ-lorraine.fr/Wicri/Biomasse/corpus
|Wicri/Bois=http://ticri.univ-lorraine.fr/Wicri/Bois/corpus
|Wicri/Bresil=http://ticri.univ-lorraine.fr/Wicri/Bresil/corpus
|Wicri/Eau=http://ticri.univ-lorraine.fr/Wicri/Eau/corpus
|Wicri/Europe=http://ticri.univ-lorraine.fr/Wicri/Europe/corpus
|Wicri/France=http://ticri.univ-lorraine.fr/Wicri/France/corpus
|Wicri/Informatique=http://ticri.univ-lorraine.fr/Wicri/Informatique/corpus
|Wicri/Linguistique=http://ticri.univ-lorraine.fr/Wicri/Linguistique/corpus
|Wicri/Lorraine=http://ticri.univ-lorraine.fr/Wicri/Lorraine/corpus
|Wicri/Luxembourg=http://ticri.univ-lorraine.fr/Wicri/Luxembourg/corpus
|Wicri/Manuel=http://ticri.univ-lorraine.fr/Wicri/Manuel/corpus
|Wicri/Maroc=http://ticri.univ-lorraine.fr/Wicri/Maroc/corpus
|Wicri/Musique=http://ticri.univ-lorraine.fr/Wicri/Musique/corpus
|Wicri/Psychologie=http://ticri.univ-lorraine.fr/Wicri/Psychologie/corpus
|Wicri/Sarre=http://ticri.univ-lorraine.fr/Wicri/Sarre/corpus
|Wicri/Sante=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Wicri/Santé=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Wicri/Terre=http://ticri.univ-lorraine.fr/Wicri/Terre/corpus
|Wicri/Ticri=http://ticri.univ-lorraine.fr/Wicri/Ticri/corpus
|Wicri/Wicri=http://ticri.univ-lorraine.fr/Wicri/Wicri/corpus
}}
3d4fe85669b14f35eb0a3a663d66e736e1224788
Template:Explor link/List of wikis
10
345
676
2017-06-11T20:49:40Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
;Wicri communs:''Nomenclature recommandée (les codes sont non accentués pour faciliter une transcription en URI'')
{| class="wikitable sortable"
|-
!code classement
!code lien interwiki
!code wiki (file system)
|-
|a1
|wicri.fr
|[[wicri.fr:Serveur d'exploration|Wicri/Wicri]]
|-
|a3
|artist.fr
|[[artist.fr:Catégorie:Serveur d'exploration|Wicri/Artist]]
|-
|a2
|wicri-man.fr
|[[wicri-man.fr:Catégorie:Serveur d'exploration|Wicri/Manuel]]
|-
|g1am
|wicri-amerique.fr
|[[wicri-amerique.fr:Catégorie:Serveur d'exploration|Wicri/Amerique]]
|-
|g2eufr
|wicri-france.fr
|[[wicri-france.fr:Catégorie:Serveur d'exploration|Wicri/France]]
|-
|g2eufrlor
|wicri-lor.fr
|[[wicri-lor.fr:Catégorie:Serveur d'exploration|Wicri/Lorraine]]
|-
|t312
|wicri-agronomie.fr
|[[wicri-agronomie.fr:Catégorie:Serveur d'exploration|Wicri/Agronomie]]
|-
|t312
|wicri-eau.fr
|[[wicri-eau.fr:Catégorie:Serveur d'exploration|Wicri/Eau]]
|-
|t341
|wicri-archeologie.fr
|[[wicri-archeologie.fr:Catégorie:Serveur d'exploration|Wicri/Archeologie]]
|-
|t342
|wicri.linguistique.fr
|[[wicri-linguistique.fr:Catégorie:Serveur d'exploration|Wicri/Linguistique]]
|-
|t14
|ticri.fr
|[[ticri.fr:Catégorie:Serveur d'exploration|Wicri/Ticri]]
|-
|}
;Wikis communs:''nomenclature en cours de mutation''
* [[wicri-maroc.fr:Catégorie:Serveur d'exploration|Maroc]]
* [[wicri-bresil.fr:Catégorie:Serveur d'exploration|Brésil]]
* [[wicri-europe.fr:Catégorie:Serveur d'exploration|Europe]], [[wicri-lux.fr:Catégorie:Serveur d'exploration|Luxembourg]],
* [[wicri-allemagne.fr:Catégorie:Serveur d'exploration|Allemagne]], [[wicri-sarre.fr:Catégorie:Serveur d'exploration|Sarre]]
* [[wicri-france.fr:Catégorie:Serveur d'exploration|France]], [[wicri-lor.fr:Catégorie:Serveur d'exploration|Lorraine]]
* [[wicri-bois.fr:Catégorie:Serveur d'exploration|Bois]], [[wicri-terre.fr:Catégorie:Serveur d'exploration|Terre]],
* [[ticri.fr:Catégorie:Serveur d'exploration|Ticri]], [[artist.fr:Catégorie:Serveur d'exploration|Artist]], [[ticri-h2ptm.fr:Catégorie:Serveur d'exploration|H2PTM]],
* [[wicri-agronomie.fr:Serveur d'exploration|Agronomie]], [[wicri-archeologie.fr:Serveur d'exploration|Archéologie]], [[wicri-biomasse.fr:Serveur d'exploration|Biomasse]], [[wicri-informatique.fr:Serveur d'exploration|Informatique]], [[wicri-linguistique.fr:Serveur d'exploration|Linguistique]], [[wicri-musique.fr:Serveur d'exploration|Musique]], [[wicri-psycho.fr:Serveur d'exploration|Psychologie]], [[wicri-sante.fr:Serveur d'exploration|Santé]], [[ticri.fr:Serveur d'exploration|Ticri]]
;Wikis associés:
* [[udl-r21-mstr.fr:Catégorie:Serveur d'exploration|R21-MSTR]]
<noinclude>
[[fr:Modèle:Explor lien/Liste des wikis]]
</noinclude>
d88fefc162896b3523863183c263cc5d6a749350
Template:EuroVoc domains - list 2
10
346
678
2017-06-14T16:04:35Z
Jacques Ducloy
1
Created page with "* 04 '''[[:Category:Politics|Politics]]''' : 0406 [[:Category:political framework|political framework]] : 0411 [[:Category:political party|political party]] : 0416 :Category..."
wikitext
text/x-wiki
* 04 '''[[:Category:Politics|Politics]]'''
: 0406 [[:Category:political framework|political framework]]
: 0411 [[:Category:political party|political party]]
: 0416 [[:Category:electoral procedure and voting|electoral procedure and voting]]
: 0421 [[:Category:parliament|parliament]]
: 0426 [[:Category:parliamentary proceedings|parliamentary proceedings]]
: 0431 [[:Category:politics and public safety|politics and public safety]]
: 0436 [[:Category:executive power and public service|executive power and public service]]
* 08 '''[[:Category:International relations|International relations]]'''
: 0806 [[:Category:international affairs|international affairs]]
: 0811 [[:Category:cooperation policy|cooperation policy]]
: 0816 [[:Category:international balance|international balance]]
: 0821 [[:Category:defence|defence]]
* 10 '''[[:Category:European communities|European communities]]'''
: 1006 [[:Category:Community institutions and European civil service|Community institutions and European civil service]]
: 1011 [[:Category:European Union law|European Union law]]
: 1016 [[:Category:European construction|European construction]]
: 1021 [[:Category:Community finance|Community finance]]
* 12 '''[[:Category:Law|Law]]'''
: 1206 [[:Category:sources and branches of the law|sources and branches of the law]]
: 1211 [[:Category:civil law|civil law]]
: 1216 [[:Category:criminal law|criminal law]]
: 1221 [[:Category:justice|justice]]
: 1226 [[:Category:organisation of the legal system|organisation of the legal system]]
: 1231 [[:Category:international law|international law]]
: 1236 [[:Category:rights and freedoms|rights and freedoms]]
* 16 '''[[:Category:Economics|Economics]]'''
: 1606 [[:Category:economic policy|economic policy]]
: 1611 [[:Category:economic growth|economic growth]]
: 1616 [[:Category:regions and regional policy|regions and regional policy]]
: 1621 [[:Category:economic structure|economic structure]]
: 1626 [[:Category:national accounts|national accounts]]
: 1631 [[:Category:economic analysis|economic analysis]]
* 20 '''[[:Category:Trade|Trade]]'''
: 2006 [[:Category:trade policy|trade policy]]
: 2011 [[:Category:tariff policy|tariff policy]]
: 2016 [[:Category:trade|trade]]
: 2021 [[:Category:international trade|international trade]]
: 2026 [[:Category:consumption|consumption]]
: 2031 [[:Category:marketing|marketing]]
: 2036 [[:Category:distributive trades|distributive trades]]
* 24 '''[[:Category:Finance|Finance]]'''
: 2406 [[:Category:monetary relations|monetary relations]]
: 2411 [[:Category:monetary economics|monetary economics]]
: 2416 [[:Category:financial institutions and credit|financial institutions and credit]]
: 2421 [[:Category:free movement of capital|free movement of capital]]
: 2426 [[:Category:financing and investment|financing and investment]]
: 2431 [[:Category:insurance|insurance]]
: 2436 [[:Category:public finance and budget policy|public finance and budget policy]]
: 2441 [[:Category:budget|budget]]
: 2446 [[:Category:taxation|taxation]]
: 2451 [[:Category:prices|prices]]
* 28 '''[[:Category:Social questions|Social questions]]'''
: 2806 [[:Category:family|family]]
: 2811 [[:Category:migration|migration]]
: 2816 [[:Category:demography and population|demography and population]]
: 2821 [[:Category:social framework|social framework]]
: 2826 [[:Category:social affairs|social affairs]]
: 2831 [[:Category:culture and religion|culture and religion]]
: 2836 [[:Category:social protection|social protection]]
: 2841 [[:Category:health|health]]
: 2846 [[:Category:construction and town planning|construction and town planning]]
* 32 '''[[:Category:Education and communications|Education and communications]]'''
: 3206 [[:Category:education|education]]
: 3211 [[:Category:teaching|teaching]]
: 3216 [[:Category:organisation of teaching|organisation of teaching]]
: 3221 [[:Category:documentation|documentation]]
: 3226 [[:Category:communications|communications]]
: 3231 [[:Category:information and information processing|information and information processing]]
: 3236 [[:Category:information technology and data processing|information technology and data processing]]
* 36 '''[[:Category:Science|Science]]'''
: 3606 [[:Category:natural and applied sciences|natural and applied sciences]]
: 3611 [[:Category:humanities|humanities]]
* 40 '''[[:Category:Business and competition|Business and competition]]'''
: 4006 [[:Category:business organisation|business organisation]]
: 4011 [[:Category:business classification|business classification]]
: 4016 [[:Category:legal form of organisations|legal form of organisations]]
: 4021 [[:Category:management|management]]
: 4026 [[:Category:accounting|accounting]]
: 4031 [[:Category:competition|competition]]
* 44 '''[[:Category:Employment and working conditions|Employment and working conditions]]'''
: 4406 [[:Category:employment|employment]]
: 4411 [[:Category:labour market|labour market]]
: 4416 [[:Category:organisation of work and working conditions|organisation of work and working conditions]]
: 4421 [[:Category:personnel management and staff remuneration|personnel management and staff remuneration]]
: 4426 [[:Category:labour law and labour relations|labour law and labour relations]]
* 48 '''[[:Category:Transport|Transport]]'''
: 4806 [[:Category:transport policy|transport policy]]
: 4811 [[:Category:organisation of transport|organisation of transport]]
: 4816 [[:Category:land transport|land transport]]
: 4821 [[:Category:maritime and inland waterway transport|maritime and inland waterway transport]]
: 4826 [[:Category:air and space transport|air and space transport]]
* 52 '''[[:Category:Environment|Environment]]'''
: 5206 [[:Category:environmental policy|environmental policy]]
: 5211 [[:Category:natural environment|natural environment]]
: 5216 [[:Category:deterioration of the environment|deterioration of the environment]]
* 56 '''[[:Category:Agriculture, forestry and fisheries|Agriculture, forestry and fisheries]]'''
: 5606 [[:Category:agricultural policy|agricultural policy]]
: 5611 [[:Category:agricultural structures and production|agricultural structures and production]]
: 5616 [[:Category:farming systems|farming systems]]
: 5621 [[:Category:cultivation of agricultural land|cultivation of agricultural land]]
: 5626 [[:Category:means of agricultural production|means of agricultural production]]
: 5631 [[:Category:agricultural activity|agricultural activity]]
: 5636 [[:Category:forestry|forestry]]
: 5641 [[:Category:fisheries|fisheries]]
* 60 '''[[:Category:Agri-foodstuffs|Agri-foodstuffs]]'''
: 6006 [[:Category:plant product|plant product]]
: 6011 [[:Category:animal product|animal product]]
: 6016 [[:Category:processed agricultural produce|processed agricultural produce]]
: 6021 [[:Category:beverages and sugar|beverages and sugar]]
: 6026 [[:Category:foodstuff|foodstuff]]
: 6031 [[:Category:agri-foodstuffs|agri-foodstuffs]]
: 6036 [[:Category:food technology|food technology]]
* 64 '''[[:Category:Production, technology and research|Production, technology and research]]'''
: 6406 [[:Category:production|production]]
: 6411 [[:Category:technology and technical regulations|technology and technical regulations]]
: 6416 [[:Category:research and intellectual property|research and intellectual property]]
* 66 '''[[:Category:Energy|Energy]]'''
: 6606 [[:Category:energy policy|energy policy]]
: 6611 [[:Category:coal and mining industries|coal and mining industries]]
: 6616 [[:Category:oil industry|oil industry]]
: 6621 [[:Category:electrical and nuclear industries|electrical and nuclear industries]]
: 6626 [[:Category:soft energy|soft energy]]
* 68 '''[[:Category:Industry|Industry]]'''
: 6806 [[:Category:industrial structures and policy|industrial structures and policy]]
: 6811 [[:Category:chemistry|chemistry]]
: 6816 [[:Category:iron, steel and other metal industries|iron, steel and other metal industries]]
: 6821 [[:Category:mechanical engineering|mechanical engineering]]
: 6826 [[:Category:electronics and electrical engineering|electronics and electrical engineering]]
: 6831 [[:Category:building and public works|building and public works]]
: 6836 [[:Category:wood industry|wood industry]]
: 6841 [[:Category:leather and textile industries|leather and textile industries]]
: 6846 [[:Category:miscellaneous industries|miscellaneous industries]]
* 72 '''[[:Category:Geography|Geography]]'''
: 7206 [[:Category:Europe|Europe]]
: 7211 [[:Category:regions of EU Member States|regions of EU Member States]]
: 7216 [[:Category:America|America]]
: 7221 [[:Category:Africa|Africa]]
: 7226 [[:Category:Asia and Oceania|Asia and Oceania]]
: 7231 [[:Category:economic geography|economic geography]]
: 7236 [[:Category:political geography|political geography]]
: 7241 [[:Category:overseas countries and territories|overseas countries and territories]]
* 76 '''[[:Category:International organisations|International organisations]]'''
: 7606 [[:Category:United Nations|United Nations]]
: 7611 [[:Category:European organisations|European organisations]]
: 7616 [[:Category:extra-European organisations|extra-European organisations]]
: 7621 [[:Category:world organisations|world organisations]]
: 7626 [[:Category:non-governmental organisations|non-governmental organisations]]
<noinclude>
[[fr:Modèle:Domaines EuroVoc liste 2]]
</noinclude>
1e07820bf16566bcd066a02914d966ed0e7c8950
Template:EuroVoc domains - list 1.2
10
347
680
2017-06-14T16:51:26Z
Jacques Ducloy
1
Created page with "{{Begin 2 columns}} * [[:Category:Politics|Politics]] * [[:Category:International relations|International relations]] * [[:Category:European communities|European communities]]..."
wikitext
text/x-wiki
{{Begin 2 columns}}
* [[:Category:Politics|Politics]]
* [[:Category:International relations|International relations]]
* [[:Category:European communities|European communities]]
* [[:Category:Law|Law]]
* [[:Category:Economics|Economics]]
* [[:Category:Trade|Trade]]
* [[:Category:Finance|Finance]]
* [[:Category:Social questions|Social questions]]
* [[:Category:Education and communications|Education and communications]]
* [[:Category:Science|Science]]
{{Skip 2 columns}}
* [[:Category:Business and competition|Business and competition]]
* [[:Category:Employment and working conditions|Employment and working conditions]]
* [[:Category:Transport|Transport]]
* [[:Category:Environment|Environment]]
* [[:Category:Agriculture, forestry and fisheries|Agriculture, forestry and fisheries]]
* [[:Category:Agri-foodstuffs|Agri-foodstuffs]]
* [[:Category:Production, technology and research|Production, technology and research]]
* [[:Category:Energy|Energy]]
* [[:Category:Industry|Industry]]
* [[:Category:Geography|Geography]]
* [[:Category:International organisations|International organisations]]
{{End 2 columns}}
89a10e561f171a75c83b8c1777a96422781010ed
Template:Copyright EuroVoc
10
348
682
2017-06-14T16:52:13Z
Jacques Ducloy
1
Created page with "{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: r..."
wikitext
text/x-wiki
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 25em"
|- style="background: #fdc82f;"
|<center>'''Copyright EuroVoc'''</center>
|-
|<center>Reproduit et adapté des éditions linguistiques originales du Thésaurus EuroVoc (édition 4.3)
----
© European Union, 2010<br/>
----
Reproduction and adaptation under the exclusive responsability of Institut national polytechnique de Lorraine (INPL)
----
[http://eurovoc.europa.eu/drupal/ EuroVoc web site]
----
La [[wicri-meta.fr:EuroVoc|page de référence EuroVoc]] sur le réseau Wicri</center>
|}<noinclude>[[fr:Modèle:Copyright EuroVoc]]</noinclude>
8d308193d58c95ee1c8aab3976bd72309fd78ad9
Category:Science
14
349
684
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Catégorie:Sciences]]
</noinclude>
3084a8a87dce5bb19f3d3cffdc16232a906fb9b0
Category:Humanities
14
350
686
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Science]]
[[fr:Catégorie:Sciences humaines]]
fe3e0e45ce3c84d7d2d56c44380a69d51773d978
Category:Behavioural sciences
14
351
688
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This category is aligned with [[EuroVoc]] thesaurus (with the same name as identifier).
* http://eurovoc.europa.eu/drupal/?q=fr/request&view=pt&termuri=http://eurovoc.europa.eu/216571&language=en
[[Category:Humanities]]
[[fr:Catégorie:Sciences du comportement]]
be81753cc5f6e92fcb5a4bf08d782ec14bcd0b1a
Category:Psychology
14
352
690
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This category is aligned with [[EuroVoc]] thesaurus (with the same name as identifier).
* http://eurovoc.europa.eu/drupal/?q=fr/request&view=pt&termuri=http://eurovoc.europa.eu/216564&language=en
[[Category:Behavioural sciences]]
[[fr:Catégorie:Psychologie]]
664f59692fbe0a643cca777240f02c7ef46ccaaa
Category:EuroVoc
14
353
692
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
{{Template:Category navbox
|title=EuroVoc's Domains
|text={{EuroVoc domains - list 2}}
}}
[[fr:Catégorie:EuroVoc]]
78c4c4258a50701a4ba35ec90d8cd1f5f0dc97c9
Category:EuroVoc domain
14
354
694
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[category:EuroVoc]]
[[fr:Catégorie:Domaine EuroVoc]]
9bc8648e217fee4b9323b3b4c926bba698a93097
Category:Production, technology and research
14
355
696
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:EuroVoc domain]]
[[fr:Catégorie:Production, technologie et recherche]]
a9a463d35d34be7cbc6dd2090c83f8fb0cc202da
Category:Technology and technical regulations
14
356
698
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Production, technology and research]]
12e0c77e6b4abc0601f6853101b31d5b9b25c6cd
Category:Biotechnology
14
357
700
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Technology and technical regulations]]
b0d39242befddae5eb3733f7eb60d55a8596a744
Category:Biomass
14
358
702
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Biotechnology]]
[[fr:Catégorie:Biomasse]]
a70d82ce9163f2cf96c8a15b995822e4921e50de
Category:Archaeology
14
359
704
2017-06-14T16:55:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:social sciences]]
[[fr:Catégorie:Archéologie]]
[[de:Kategorie:Archäologie]]
0b28542d1eb117c2bd8d12423a2d61899a158b39
Template:Semantic Infobox Person
10
294
574
2017-06-18T15:36:07Z
Jacques Ducloy
1
wikitext
text/x-wiki
<noinclude>
{{Template imported from Semantic Web|Template=Person}}
This template is an adaptation of [[semweb:Template:Personne|Semantic Web]].
This template simplifies the creation of articles about persons. When inserted in a person's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Person
| University =
| Affiliation = agency, firm...
| Affiliation 2 =
| Unit =
| Laboratory =
| Laboratory label =
| Research team =
| Team label =
| Position =
| Picture = name of picture (e.g. "Rudolph.jpg"), use "upload file" on the left
| Homepage = rajkumarkannan19.googlepages.com
| Homepage label =
| Email = rajkumark@acm.org
| City =
| Country =
| Phone = 914312770136
}}</pre>
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the '''Template:Semantic Infobox Person Extension''' (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
[[fr:Modèle:Infobox sémantique personne]]
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #86ba0c; color: white" |<span style="font-size: 80%; float: right; ">{{#ask: [[{{FULLPAGENAME}}]]
| format=vcard
| ?Name
| ?University
| ?Affiliation=organization
| ?Affiliation 2
| ?Email
| ?Phone=workphone
| ?Homepage
| ?City
| ?Country
| searchlabel=vCard
}}</span> [[Name::{{{Name|{{PAGENAME}}}}}]]
|-
{{#ifeq:{{{Picture|}}}|||{{Tablelongrow|Value=[[Image:{{{Picture}}}|150px|{{{Name|{{PAGENAME}}}}}]]|Color=white}}
{{!-}}
}}
{{#ifeq:{{{Email|}}}|||{{Tablelongrow|Label=Email :|Value=[[email::{{{Email}}}]]|Color=#e4f8b6}}
{{!-}}
}}
|-
{{#ifeq:{{{Position|}}}|||{{Tablerow|Label=Position :|Value=[[Position::{{{Position}}}]]}}}}
|-
{{#ifeq:{{{University|}}}|||{{Tablerow|Label=University :|Value=[[member of::{{{University}}}]]}}}}
|-
{{#ifeq:{{{Affiliation|}}}|||{{Tablerow|Label=Affiliation :|Value=[[member of::{{{Affiliation}}}]]}}}}
|-
{{#ifeq:{{{Affiliation 2|}}}|||{{Tablerow|Label=and :|Value=[[member of::affiliation::{{{Affiliation 2}}}]]}}}}
|-
{{#ifeq:{{{Unit|}}}|||{{Tablerow|Label=Unit :|Value=[[member of::unit::{{{Unit}}}]]}}}}
|-
{{#ifeq:{{{Laboratory|}}}|||{{Tablerow|Label=Laboratory :|Value=[[member of::{{{Laboratory}}}|{{{Laboratory label|{{{Laboratory}}}}}}]]}}}}
|-
{{#ifeq:{{{Research center|}}}|||{{Tablerow|Label=Research center :|Value=[[member of::{{{Research center}}}|{{{Research center label|{{{Research center}}}}}}]]}}}}
|-
{{#ifeq:{{{Research team|}}}|||{{Tablerow|Label=Research team :|Value=[[member of::{{{Research team}}}|{{{Team label|{{{Research team}}}}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage :|Value=[[Homepage::http://{{{Homepage}}} |{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{Phone|}}}|||{{Tablerow|Label=Phone :|Value=[[Phone::{{{Phone}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City :|Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country :|Value=[[Has country::{{{Country}}}]]}}}}
|-<!-- *** Head of laboratory *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has head::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Head of: }}|Color=#e4f8b6}}
|-<!-- *** President *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee::{{PAGENAME}}]] OR [[Has scientific committee chair::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Scientific committee chair of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the conference::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the conference of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the program committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has PC chair::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Program committee chair of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the editorial board of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the organizing committee of :_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the governance committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the governance committee of :_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the steering committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the steering committee of :_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the workshops::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the workshops of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the demos and posters::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the demos and posters of:_}}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the tutorials::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the tutorials of:_}}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president for advertising::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President for advertising of:_}}|Color=#e4f8b6}}
|-
<!-- *** Head *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for program and organizing head::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Program and organizing head of:_ }}|Color=#e4f8b6}}
|-
<!-- *** Committee member *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the scientific committee::{{PAGENAME}}]] OR [[Has JSC member::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the scientific committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the editorial board::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the editorial board of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the program committee::{{PAGENAME}}]] OR [[Has PC member::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Program committee member of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the governance committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the governance committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the steering committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the steering committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the organizing committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the organizing committee of:_ }}|Color=#e4f8b6}}
|-
<!-- *** Coordinator *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for demos' workshop coordinator::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Demos' workshop coordinator of:_ }}|Color=#e4f8b6}}
{{Semantic Infobox Person Extension}}
|-
|}
[[Category:Person]]</includeonly>
22d2bb2d39bf36fb0aba832c8096ed3fa097b32a
Template:Taxobox
10
360
706
2017-06-28T13:40:00Z
Jacques Ducloy
1
Created page with "<includeonly><!--See parser bug T18700--><nowiki/>{{Taxobox/core | colour = {{#if:{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}|{{Taxobox colour|{{{color_as|{..."
wikitext
text/x-wiki
<includeonly><!--See parser bug T18700--><nowiki/>{{Taxobox/core
| colour = {{#if:{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}|{{Taxobox colour|{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}}}|{{Taxobox colour|{{if empty
|{{Sets taxobox colour|{{{phylum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_phylum|{{{unranked phylum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{divisio|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_divisio|{{{unranked divisio|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{superphylum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_superphylum|{{{unranked superphylum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{superdivisio|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_superdivisio|{{{unranked superdivisio|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{subregnum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_subregnum|{{{unranked subregnum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{regnum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_regnum|{{{unranked regnum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{superregnum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_superregnum|{{{unranked superregnum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{domain|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_domain|{{{unranked domain|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{virus_group|{{{virus group|}}}}}}|sep=}}
|Error}}}}}}
| name = {{#if:{{{name|}}}|{{{name}}}|{{Taxobox name|{{{genus}}}|{{{species}}}|{{{binomial}}}}}}}
| status = {{{status|}}}
| status_system = {{{status_system|{{{status system|}}}}}}
| status_ref = {{{status_ref|{{{status ref|}}}}}}
| status2 = {{{status2|}}}
| status2_system = {{{status2_system|{{{status2 system|}}}}}}
| status2_ref = {{{status2_ref|{{{status2 ref|}}}}}}
| trend = {{{trend|}}}
| extinct = {{{extinct|}}}
| temporal_range = {{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}
| image = {{{image|}}}
| image_width = {{{image_width|{{{image width|}}}}}}
| upright = {{{image_upright|{{{image upright|}}}}}}
| image_alt = {{{image_alt|{{{image alt|}}}}}}
| image_caption = {{{image_caption|{{{image caption|}}}}}}
| image_caption_align = {{{image_caption_align|{{{image caption align|center}}}}}}
| image2 = {{{image2|}}}
| image2_width = {{{image2_width|{{{image2 width|}}}}}}
| upright2 = {{{image2_upright|{{{image2 upright|}}}}}}
| image2_alt = {{{image2_alt|{{{image2 alt|}}}}}}
| image2_caption = {{{image2_caption|{{{image2 caption|}}}}}}
| classification_status = {{{classification_status|{{{classification status|}}}}}}
| virus_group = {{{virus_group|{{{virus group|}}}}}}
| unranked_superdomain = {{{unranked_superdomain|{{{unranked superdomain|}}} }}}
| unranked_superdomain_authority = {{{unranked_superdomain_authority|{{{unranked superdomain authority|}}}}}}
| superdomain = {{{superdomain|}}}
| superdomain_authority = {{{superdomaindomain_authority|{{{superdomaindomain authority|}}}}}}
| unranked_domain= {{{unranked_domain|{{{unranked domain|}}}}}}
| unranked_domain_authority = {{{unranked_domain_authority|{{{unranked domain authority|}}}}}}
| domain = {{{domain|}}}
| domain_authority = {{{domain_authority|{{{domain authority|}}}}}}
| unranked_superregnum= {{{unranked_superregnum|{{{unranked superregnum|}}}}}}
| unranked_superregnum_authority = {{{unranked_superregnum_authority|{{{unranked superregnum authority|}}}}}}
| superregnum = {{{superregnum|}}}
| superregnum_authority = {{{superregnum_authority|{{{superregnum authority|}}}}}}
| unranked_regnum = {{{unranked_regnum|{{{unranked regnum|}}}}}}
| unranked_regnum_authority = {{{unranked_regnum_authority|{{{unranked regnum authority|}}}}}}
| regnum = {{{regnum|}}}
| regnum_authority = {{{regnum_authority|{{{regnum authority|}}}}}}
| unranked_subregnum= {{{unranked_subregnum|{{{unranked subregnum|}}}}}}
| unranked_subregnum_authority = {{{unranked_subregnum_authority|{{{unranked subregnum authority|}}}}}}
| subregnum = {{{subregnum|}}}
| subregnum_authority = {{{subregnum_authority|{{{subregnum authority|}}}}}}
| unranked_superdivisio= {{{unranked_superdivisio|{{{unranked superdivisio|}}}}}}
| unranked_superdivisio_authority = {{{unranked_superdivisio_authority|{{{unranked superdivisio authority|}}}}}}
| superdivisio = {{{superdivisio|}}}
| superdivisio_authority = {{{superdivisio_authority|{{{superdivisio authority|}}}}}}
| unranked_superphylum= {{{unranked_superphylum|{{{unranked superphylum|}}}}}}
| unranked_superphylum_authority = {{{unranked_superphylum_authority|{{{unranked superphylum authority|}}}}}}
| superphylum = {{{superphylum|}}}
| superphylum_authority = {{{superphylum_authority|{{{superphylum authority|}}}}}}
| unranked_divisio = {{{unranked_divisio|{{{unranked divisio|}}}}}}
| unranked_divisio_authority = {{{unranked_divisio_authority|{{{unranked divisio authority|}}} }}}
| divisio = {{{divisio|}}}
| divisio_authority = {{{divisio_authority|{{{divisio authority|}}}}}}
| unranked_phylum= {{{unranked_phylum|{{{unranked phylum|}}}}}}
| unranked_phylum_authority = {{{unranked_phylum_authority|{{{unranked phylum authority|}}}}}}
| phylum = {{{phylum|}}}
| phylum_authority = {{{phylum_authority|{{{phylum authority|}}}}}}
| unranked_subdivisio= {{{unranked_subdivisio|{{{unranked subdivisio|}}}}}}
| unranked_subdivisio_authority = {{{unranked_subdivisio_authority|{{{unranked subdivisio authority|}}}}}}
| subdivisio = {{{subdivisio|}}}
| subdivisio_authority = {{{subdivisio_authority|{{{subdivisio authority|}}}}}}
| unranked_subphylum= {{{unranked_subphylum|{{{unranked subphylum|}}}}}}
| unranked_subphylum_authority = {{{unranked_subphylum_authority|{{{unranked subphylum authority|}}}}}}
| subphylum = {{{subphylum|}}}
| subphylum_authority = {{{subphylum_authority|{{{subphylum authority|}}}}}}
| unranked_infraphylum= {{{unranked_infraphylum|{{{unranked infraphylum|}}}}}}
| unranked_infraphylum_authority = {{{unranked_infraphylum_authority|{{{unranked infraphylum authority|}}}}}}
| infraphylum = {{{infraphylum|}}}
| infraphylum_authority = {{{infraphylum_authority|{{{infraphylum authority|}}}}}}
| unranked_microphylum= {{{unranked_microphylum|{{{unranked microphylum|}}}}}}
| unranked_microphylum_authority = {{{unranked_microphylum_authority|{{{unranked microphylum authority|}}}}}}
| microphylum = {{{microphylum|}}}
| microphylum_authority = {{{microphylum_authority|{{{microphylum authority|}}}}}}
| unranked_nanophylum= {{{unranked_nanophylum|{{{unranked nanophylum|}}}}}}
| unranked_nanophylum_authority = {{{unranked_nanophylum_authority|{{{unranked nanophylum authority|}}}}}}
| nanophylum = {{{nanophylum|}}}
| nanophylum_authority = {{{nanophylum_authority|{{{nanophylum authority|}}}}}}
| unranked_superclassis= {{{unranked_superclassis|{{{unranked superclassis|}}}}}}
| unranked_superclassis_authority = {{{unranked_superclassis_authority|{{{unranked superclassis authority|}}}}}}
| superclassis = {{{superclassis|}}}
| superclassis_authority = {{{superclassis_authority|{{{superclassis authority|}}}}}}
| unranked_classis = {{{unranked_classis|{{{unranked classis|}}}}}}
| unranked_classis_authority = {{{unranked_classis_authority|{{{unranked classis authority|}}}}}}
| classis = {{{classis|}}}
| classis_authority = {{{classis_authority|{{{classis authority|}}}}}}
| unranked_subclassis = {{{unranked_subclassis|{{{unranked subclassis|}}}}}}
| unranked_subclassis_authority = {{{unranked_subclassis_authority|{{{unranked subclassis authority|}}}}}}
| subclassis = {{{subclassis|}}}
| subclassis_authority = {{{subclassis_authority|{{{subclassis authority|}}}}}}
| unranked_infraclassis = {{{unranked_infraclassis|{{{unranked infraclassis|}}}}}}
| unranked_infraclassis_authority = {{{unranked_infraclassis_authority|{{{unranked infraclassis authority|}}}}}}
| infraclassis = {{{infraclassis|}}}
| infraclassis_authority = {{{infraclassis_authority|{{{infraclassis authority|}}}}}}
| unranked_magnordo= {{{unranked_magnordo|{{{unranked magnordo|}}}}}}
| unranked_magnordo_authority = {{{unranked_magnordo_authority|{{{unranked magnordo authority|}}}}}}
| magnordo = {{{magnordo|}}}
| magnordo_authority = {{{magnordo_authority|{{{magnordo authority|}}}}}}
| unranked_superordo= {{{unranked_superordo|{{{unranked superordo|}}}}}}
| unranked_superordo_authority = {{{unranked_superordo_authority|{{{unranked superordo authority|}}}}}}
| superordo = {{{superordo|}}}
| superordo_authority = {{{superordo_authority|{{{superordo authority|}}}}}}
| unranked_ordo = {{{unranked_ordo|{{{unranked ordo|}}}}}}
| unranked_ordo_authority = {{{unranked_ordo_authority|{{{unranked ordo authority|}}}}}}
| ordo = {{{ordo|}}}
| ordo_authority = {{{ordo_authority|{{{ordo authority|}}}}}}
| unranked_subordo= {{{unranked_subordo|{{{unranked subordo|}}}}}}
| unranked_subordo_authority = {{{unranked_subordo_authority|{{{unranked subordo authority|}}}}}}
| subordo = {{{subordo|}}}
| subordo_authority = {{{subordo_authority|{{{subordo authority|}}}}}}
| unranked_infraordo= {{{unranked_infraordo|{{{unranked infraordo|}}}}}}
| unranked_infraordo_authority = {{{unranked_infraordo_authority|{{{unranked infraordo authority|}}}}}}
| infraordo = {{{infraordo|}}}
| infraordo_authority = {{{infraordo_authority|{{{infraordo authority|}}}}}}
| unranked_parvordo= {{{unranked_parvordo|{{{unranked parvordo|}}}}}}
| unranked_parvordo_authority = {{{unranked_parvordo_authority|{{{unranked parvordo authority|}}}}}}
| parvordo = {{{parvordo|}}}
| parvordo_authority = {{{parvordo_authority|{{{parvordo authority|}}}}}}
| zoodivisio = {{{zoodivisio|}}}
| zoodivisio_authority = {{{zoodivisio_authority|{{{zoodivisio authority|}}}}}}
| unranked_zoosectio = {{{unranked_zoosectio|{{{unranked zoosectio|}}}}}}
| unranked_zoosectio_authority = {{{unranked_zoosectio_authority|{{{unranked zoosectio authority|}}}}}}
| zoosectio = {{{zoosectio|}}}
| zoosectio_authority = {{{zoosectio_authority|{{{zoosectio authority|}}}}}}
| unranked_zoosubsectio = {{{unranked_zoosubsectio|{{{unranked zoosubsectio|}}}}}}
| unranked_zoosubsectio_authority = {{{unranked_zoosubsectio_authority|{{{unranked zoosubsectio authority|}}}}}}
| zoosubsectio = {{{zoosubsectio|}}}
| zoosubsectio_authority = {{{zoosubsectio_authority|{{{zoosubsectio authority|}}}}}}
| unranked_superfamilia= {{{unranked_superfamilia|{{{unranked superfamilia|}}}}}}
| unranked_superfamilia_authority = {{{unranked_superfamilia_authority|{{{unranked superfamilia authority|}}}}}}
| superfamilia = {{{superfamilia|}}}
| superfamilia_authority = {{{superfamilia_authority|{{{superfamilia authority|}}}}}}
| unranked_familia = {{{unranked_familia|{{{unranked familia|}}}}}}
| unranked_familia_authority = {{{unranked_familia_authority|{{{unranked familia authority|}}}}}}
| familia = {{{familia|}}}
| familia_authority = {{{familia_authority|{{{familia authority|}}}}}}
| unranked_subfamilia = {{{unranked_subfamilia|{{{unranked subfamilia|}}}}}}
| unranked_subfamilia_authority = {{{unranked_subfamilia_authority|{{{unranked subfamilia authority|}}}}}}
| subfamilia = {{{subfamilia|}}}
| subfamilia_authority = {{{subfamilia_authority|{{{subfamilia authority|}}}}}}
| unranked_supertribus = {{{unranked_supertribus|{{{unranked supertribus|}}}}}}
| unranked_supertribus_authority = {{{unranked_supertribus_authority|{{{unranked supertribus authority|}}}}}}
| supertribus = {{{supertribus|}}}
| supertribus_authority = {{{supertribus_authority|{{{supertribus authority|}}}}}}
| unranked_tribus = {{{unranked_tribus|{{{unranked tribus|}}}}}}
| unranked_tribus_authority = {{{unranked_tribus_authority|{{{unranked tribus authority|}}}}}}
| tribus = {{{tribus|}}}
| tribus_authority = {{{tribus_authority|{{{tribus authority|}}}}}}
| unranked_subtribus = {{{unranked_subtribus|{{{unranked subtribus|}}}}}}
| unranked_subtribus_authority = {{{unranked_subtribus_authority|{{{unranked subtribus authority|}}}}}}
| subtribus = {{{subtribus|}}}
| subtribus_authority = {{{subtribus_authority|{{{subtribus authority|}}}}}}
| unranked_alliance = {{{unranked_alliance|{{{unranked alliance|}}}}}}
| unranked_alliance_authority = {{{unranked_alliance_authority|{{{unranked alliance authority|}}}}}}
| alliance = {{{alliance|}}}
| alliance_authority = {{{alliance_authority|{{{alliance authority|}}}}}}
| unranked_genus = {{{unranked_genus|{{{unranked genus|}}}}}}
| unranked_genus_authority = {{{unranked_genus_authority|{{{unranked genus authority|}}}}}}
| genus = {{{genus|}}}
| genus_authority = {{{genus_authority|{{{genus authority|}}}}}}
| unranked_subgenus = {{{unranked_subgenus|{{{unranked subgenus|}}}}}}
| unranked_subgenus_authority = {{{unranked_subgenus_authority|{{{unranked subgenus authority|}}}}}}
| subgenus = {{{subgenus|}}}
| subgenus_authority = {{{subgenus_authority|{{{subgenus authority|}}}}}}
| unranked_sectio = {{{unranked_sectio|{{{unranked sectio|}}}}}}
| unranked_sectio_authority = {{{unranked_sectio_authority|{{{unranked sectio authority|}}}}}}
| sectio = {{{sectio|}}}
| sectio_authority = {{{sectio_authority|{{{sectio authority|}}}}}}
| unranked_subsectio = {{{unranked_subsectio|{{{unranked subsectio|}}}}}}
| unranked_subsectio_authority = {{{unranked_subsectio_authority|{{{unranked subsectio authority|}}}}}}
| subsectio = {{{subsectio|}}}
| subsectio_authority = {{{subsectio_authority|{{{subsectio authority|}}}}}}
| unranked_series = {{{unranked_series|{{{unranked series|}}}}}}
| unranked_series_authority = {{{unranked_series_authority|{{{unranked series authority|}}}}}}
| series = {{{series|}}}
| series_authority = {{{series_authority|{{{series authority|}}}}}}
| unranked_subseries = {{{unranked_subseries|{{{unranked subseries|}}}}}}
| unranked_subseries_authority = {{{unranked_subseries_authority|{{{unranked subseries authority|}}}}}}
| subseries = {{{subseries|}}}
| subseries_authority = {{{subseries_authority|{{{subseries authority|}}}}}}
| unranked_species_group = {{{unranked_species_group|{{{unranked species group|}}}}}}
| unranked_species_group_authority = {{{unranked_species_group_authority|{{{unranked species group authority|}}}}}}
| species_group = {{{species_group|{{{species group|}}}}}}
| species_group_authority = {{{species_group_authority|{{{species group authority|}}}}}}
| unranked_species_subgroup = {{{unranked_species_subgroup|{{{unranked species subgroup|}}}}}}
| unranked_species_subgroup_authority = {{{unranked_species_subgroup_authority|{{{unranked species subgroup authority|}}}}}}
| species_subgroup = {{{species_subgroup|{{{species subgroup|}}}}}}
| species_subgroup_authority = {{{species_subgroup_authority|{{{species subgroup authority|}}}}}}
| unranked_species_complex = {{{unranked_species_complex|{{{unranked species complex|}}}}}}
| unranked_species_complex_authority = {{{unranked_species_complex_authority|{{{unranked species complex authority|}}}}}}
| species_complex = {{{species_complex|{{{species complex|}}}}}}
| species_complex_authority = {{{species_complex_authority|{{{species complex authority|}}}}}}
| unranked_species = {{{unranked_species|{{{unranked species|}}}}}}
| unranked_species_authority = {{{unranked_species_authority|{{{unranked species authority|}}}}}}
| species = {{{species|}}}
| species_authority = {{{species_authority|}}}
| unranked_subspecies = {{{unranked_subspecies|{{{unranked subspecies|}}}}}}
| unranked_subspecies_authority = {{{unranked_subspecies_authority|{{{unranked subspecies authority|}}}}}}
| subspecies = {{{subspecies|}}}
| subspecies_authority = {{{subspecies_authority|{{{subspecies authority|}}}}}}
| unranked_variety = {{{unranked_variety|{{{unranked variety|{{{unranked_varietas|{{{unranked varietas|}}}}}}}}}}}}
| unranked_variety_authority = {{{unranked_variety_authority|{{{unranked_varietas_authority|}}}}}}
| variety = {{{variety|{{{varietas|}}}}}}
| variety_authority = {{{variety_authority|{{{variety authority|{{{varietas_authority|{{{varietas authority|}}}}}}}}}}}}
| forma = {{{forma|}}}
| forma_authority = {{{forma_authority|{{{forma authority|}}}}}}
| diversity = {{{diversity|}}}
| diversity_ref = {{{diversity_ref|}}}
| diversity_link = {{{diversity_link|{{{diversity link|}}}}}}
| binomial = {{{binomial|}}}
| binomial_authority = {{{binomial_authority|{{{binomial authority|}}}}}}
| trinomial = {{{trinomial|}}}
| trinomial_authority = {{{trinomial_authority|{{{trinomial authority|}}}}}}
| type_genus = {{{type_genus|{{{type genus|}}}}}}
| type_genus_authority = {{{type_genus_authority|{{{type genus authority|}}}}}}
| type_species = {{{type_species|{{{type species|}}}}}}
| type_species_authority = {{{type_species_authority|{{{type species authority|}}}}}}
| subdivision = {{{subdivision|}}}
| subdivision_ranks = {{{subdivision_ranks|{{{subdivision ranks|}}}}}}
| type_strain = {{{type_strain|{{{type strain|}}}}}}
| range_map = {{{range_map|{{{range map|}}}}}}
| range_map_upright = {{{range_map_upright|{{{range map upright|}}}}}}
| range_map_width = {{{range_map_width|{{{range map width|}}}}}}
| range_map_alt = {{{range_map_alt|{{{range map alt|}}}}}}
| range_map_caption = {{{range_map_caption|{{{range map caption|}}}}}}
| binomial2 = {{{binomial2|}}}
| binomial2_authority = {{{binomial2_authority|{{{binomial2 authority|}}}}}}
| range_map2 = {{{range_map2|{{{range map2|}}}}}}
| range_map2_upright = {{{range_map2_upright|{{{range map2 upright|}}}}}}
| range_map2_width = {{{range_map2_width|{{{range map2 width|}}}}}}
| range_map2_alt = {{{range_map2_alt|{{{range map2 alt|}}}}}}
| range_map2_caption = {{{range_map2_caption|{{{range map2 caption|}}}}}}
| binomial3 = {{{binomial3|}}}
| binomial3_authority = {{{binomial3_authority|{{{binomial3 authority|}}}}}}
| range_map3 = {{{range_map3|{{{range map3|}}}}}}
| range_map3_upright = {{{range_map3_upright|{{{range map3 upright|}}}}}}
| range_map3_width = {{{range_map3_width|{{{range map3 width|}}}}}}
| range_map3_alt = {{{range_map3_alt|{{{range map3 alt|}}}}}}
| range_map3_caption = {{{range_map3_caption|{{{range map3 caption|}}}}}}
| binomial4 = {{{binomial4|}}}
| binomial4_authority = {{{binomial4_authority|{{{binomial4 authority|}}}}}}
| range_map4 = {{{range_map4|{{{range map4|}}}}}}
| range_map4_upright = {{{range_map4_upright|{{{range map4 upright|}}}}}}
| range_map4_width = {{{range_map4_width|{{{range map4 width|}}}}}}
| range_map4_alt = {{{range_map4_alt|{{{range map4 alt|}}}}}}
| range_map4_caption = {{{range_map4_caption|{{{range map4 caption|}}}}}}
| synonyms_ref = {{{synonyms_ref|{{{synonyms ref|}}}}}}
| synonyms = {{{synonyms|}}}
| footer = {{{footer|}}}
}}{{#if:{{{extinct|}}}|[[Category:Taxoboxes using extinct parameters]]}}</includeonly><noinclude>{{documentation}}</noinclude>
4bf243d64f5dfa26b96aef2413e752e966ad9efe
Template:Taxobox/core
10
362
710
2017-06-28T13:43:07Z
Jacques Ducloy
1
Created page with "<includeonly>{| class="infobox biota" style="text-align: left; width: 200px; font-size: 100%" |- ! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-col..."
wikitext
text/x-wiki
<includeonly>{| class="infobox biota" style="text-align: left; width: 200px; font-size: 100%"
|-
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}}| }}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}} }}{{#if:{{{temporal_range|}}}|<br /><small>Temporal range: {{{temporal_range}}}</small>}}
|-
{{#if:{{{image|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{{image_width|}}}|sizedefault=frameless|upright={{{upright|1}}}|alt={{{image_alt|}}}}}
{{!}}-
{{#if:{{{image_caption|}}}|
{{!}} colspan=2 style="text-align: {{{image_caption_align|center}}}; font-size: 88%" {{!}} {{{image_caption}}}
{{!}}-
}}
}}
{{#if:{{{image2|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image2}}}|size={{{image2_width|}}}|sizedefault=frameless|upright={{#if:{{{upright2|}}}|{{{upright2}}}|{{{upright|1}}}}}|alt={{{image2_alt|}}}}}
{{!}}-
{{#if:{{{image2_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{image2_caption}}}
{{!}}-
}}
}}
|- colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}"
{{#if:{{{status|}}}|{{taxobox/species|{{{status_system|}}}|{{{status|}}}|{{{status_ref|}}}|extinct={{{extinct|}}} }} }}
|-{{#if:{{{status2|}}}|{{taxobox/species|{{{status2_system|}}}|{{{status2|}}}|{{{status2_ref|}}}|extinct={{{extinct|}}} }} }}
|-
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" | {{#if:{{{virus_group|{{{virus|}}}}}}|[[Virus classification]]|{{#if:{{{ichnos|}}}|[[Trace fossil classification]]|{{#if:{{{veterovata|}}}|[[Veterovata|Eggshell classification]]|[[Taxonomy (biology)|Scientific classification]]}} }} }} {{#if: {{{classification_status|}}} | ({{{classification_status}}}) | }}{{#if:{{{edit link|}}}|{{edit taxonomy|{{{parent|}}} | {{{edit link}}} }} }}
|-
{{#if:{{{parent|}}}|
{{taxobox/taxonomy|{{{parent}}}|{{{display_taxa|}}}|authority={{{authority|}}}|parent_authority={{{parent_authority|}}}|grandparent_authority={{{grandparent_authority|}}}|greatgrandparent_authority={{{greatgrandparent_authority|}}}|greatgreatgrandparent_authority={{{greatgreatgrandparent_authority|}}}|bold first={{#if:{{{species|}}}|link|bold}} }}
}}
{{#if:{{{virus_group|}}}|{{taxonomy|rank=group
|link= {{#switch:{{lc:{{{virus_group}}} }}
|i=Group I <small>([[dsDNA virus|dsDNA]])</small>
|ii=Group II <small>([[ssDNA virus|ssDNA]])</small>
|iii=Group III <small>([[dsRNA virus|dsRNA]])</small>
|iv=Group IV <small>([[Positive-sense ssRNA virus|(+)ssRNA]])</small>
|v=Group V <small>([[Negative-sense ssRNA virus|(−)ssRNA]])</small>
|vi=Group VI <small>([[ssRNA-RT virus|ssRNA-RT]])</small>
|vii=Group VII <small>([[dsDNA-RT virus|dsDNA-RT]])</small>
|{{{virus_group}}}
}} }} }}
{{#if:{{{unranked_superdomain|}}}|{{taxonomy|rank=unranked|link={{{unranked_superdomain}}} | auth={{{unranked_superdomain_authority|}}} }} }}
{{#if:{{{superdomain|}}}|{{taxonomy|rank=superdomain|link={{{superdomain}}} | auth={{{superdomain_authority|}}} }} }}
{{#if:{{{unranked_domain|}}}|{{taxonomy|rank=unranked|link={{{unranked_domain}}} | auth={{{unranked_domain_authority|}}} }} }}
{{#if:{{{domain|}}}|{{taxonomy|rank=domain|link={{{domain}}} | auth={{{domain_authority|}}} }} }}
{{#if:{{{unranked_superregnum|}}}|{{taxonomy|rank=unranked|link={{{unranked_superregnum}}} | auth={{{unranked_superregnum_authority|}}} }} }}
{{#if:{{{superregnum|}}}|{{taxonomy|rank=superregnum|link={{{superregnum}}} | auth={{{superregnum_authority|}}} }} }}
{{#if:{{{unranked_regnum|}}}|{{taxonomy|rank=unranked|link={{{unranked_regnum}}} | auth={{{unranked_regnum_authority|}}} }} }}
{{#if:{{{regnum|}}}|{{taxonomy|rank=regnum|link={{{regnum}}} | auth={{{regnum_authority|}}} }} }}
{{#if:{{{unranked_subregnum|}}}|{{taxonomy|rank=unranked|link={{{unranked_subregnum}}} | auth={{{unranked_subregnum_authority|}}} }} }}
{{#if:{{{subregnum|}}}|{{taxonomy|rank=subregnum|link={{{subregnum}}} | auth={{{subregnum_authority|}}} }} }}
{{#if:{{{unranked_superdivisio|}}}|{{taxonomy|rank=unranked|link={{{unranked_superdivisio}}} | auth={{{unranked_superdivisio_authority|}}} }} }}
{{#if:{{{superdivisio|}}}|{{taxonomy|rank=superdivisio|link={{{superdivisio}}} | auth={{{superdivisio_authority|}}} }} }}
{{#if:{{{unranked_superphylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_superphylum}}} | auth={{{unranked_superphylum_authority|}}} }} }}
{{#if:{{{superphylum|}}}|{{taxonomy|rank=superphylum|link={{{superphylum}}} | auth={{{superphylum_authority|}}} }} }}
{{#if:{{{unranked_divisio|}}}|{{taxonomy|rank=unranked|link={{{unranked_divisio}}} | auth={{{unranked_divisio_authority|}}} }} }}
{{#if:{{{divisio|}}}|{{taxonomy|rank=divisio|link={{{divisio}}} | auth={{{divisio_authority|}}} }} }}
{{#if:{{{unranked_phylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_phylum}}} | auth={{{unranked_phylum_authority|}}} }} }}
{{#if:{{{phylum|}}}|{{taxonomy|rank=phylum|link={{{phylum}}} | auth={{{phylum_authority|}}} }} }}
{{#if:{{{unranked_subdivisio|}}}|{{taxonomy|rank=unranked|link={{{unranked_subdivisio}}} | auth={{{unranked_subdivisio_authority|}}} }} }}
{{#if:{{{subdivisio|}}}|{{taxonomy|rank=subdivisio|link={{{subdivisio}}} | auth={{{subdivisio_authority|}}} }} }}
{{#if:{{{unranked_subphylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_subphylum}}} | auth={{{unranked_subphylum_authority|}}} }} }}
{{#if:{{{subphylum|}}}|{{taxonomy|rank=subphylum|link={{{subphylum}}} | auth={{{subphylum_authority|}}} }} }}
{{#if:{{{unranked_infraphylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_infraphylum}}} | auth={{{unranked_infraphylum_authority|}}} }} }}
{{#if:{{{infraphylum|}}}|{{taxonomy|rank=infraphylum|link={{{infraphylum}}} | auth={{{infraphylum_authority|}}} }} }}
{{#if:{{{unranked_microphylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_microphylum}}} | auth={{{unranked_microphylum_authority|}}} }} }}
{{#if:{{{microphylum|}}}|{{taxonomy|rank=microphylum|link={{{microphylum}}} | auth={{{microphylum_authority|}}} }} }}
{{#if:{{{unranked_nanophylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_nanophylum}}} | auth={{{unranked_nanophylum_authority|}}} }} }}
{{#if:{{{nanophylum|}}}|{{taxonomy|rank=nanophylum|link={{{nanophylum}}} | auth={{{nanophylum_authority|}}} }} }}
{{#if:{{{unranked_superclassis|}}}|{{taxonomy|rank=unranked|link={{{unranked_superclassis}}} | auth={{{unranked_superclassis_authority|}}} }} }}
{{#if:{{{superclassis|}}}|{{taxonomy|rank=superclassis|link={{{superclassis}}} | auth={{{superclassis_authority|}}} }} }}
{{#if:{{{unranked_classis|}}}|{{taxonomy|rank=unranked|link={{{unranked_classis}}} | auth={{{unranked_classis_authority|}}} }} }}
{{#if:{{{classis|}}}|{{taxonomy|rank=classis|link={{{classis}}} | auth={{{classis_authority|}}} }} }}
{{#if:{{{unranked_subclassis|}}}|{{taxonomy|rank=unranked|link={{{unranked_subclassis}}} | auth={{{unranked_subclassis_authority|}}} }} }}
{{#if:{{{subclassis|}}}|{{taxonomy|rank=subclassis|link={{{subclassis}}} | auth={{{subclassis_authority|}}} }} }}
{{#if:{{{unranked_infraclassis|}}}|{{taxonomy|rank=unranked|link={{{unranked_infraclassis}}} | auth={{{unranked_infraclassis_authority|}}} }} }}
{{#if:{{{infraclassis|}}}|{{taxonomy|rank=infraclassis|link={{{infraclassis}}} | auth={{{infraclassis_authority|}}} }} }}
{{#if:{{{unranked_magnordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_magnordo}}} | auth={{{unranked_magnordo_authority|}}} }} }}
{{#if:{{{magnordo|}}}|{{taxonomy|rank=magnordo|link={{{magnordo}}} | auth={{{magnordo_authority|}}} }} }}
{{#if:{{{unranked_superordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_superordo}}} | auth={{{unranked_superordo_authority|}}} }} }}
{{#if:{{{superordo|}}}|{{taxonomy|rank=superordo|link={{{superordo}}} | auth={{{superordo_authority|}}} }} }}
{{#if:{{{unranked_ordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_ordo}}} | auth={{{unranked_ordo_authority|}}} }} }}
{{#if:{{{ordo|}}}|{{taxonomy|rank=ordo|link={{{ordo}}} | auth={{{ordo_authority|}}} }} }}
{{#if:{{{unranked_subordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_subordo}}} | auth={{{unranked_subordo_authority|}}} }} }}
{{#if:{{{subordo|}}}|{{taxonomy|rank=subordo|link={{{subordo}}} | auth={{{subordo_authority|}}} }} }}
{{#if:{{{unranked_infraordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_infraordo}}} | auth={{{unranked_infraordo_authority|}}} }} }}
{{#if:{{{infraordo|}}}|{{taxonomy|rank=infraordo|link={{{infraordo}}} | auth={{{infraordo_authority|}}} }} }}
{{#if:{{{unranked_parvordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_parvordo}}} | auth={{{unranked_parvordo_authority|}}} }} }}
{{#if:{{{parvordo|}}}|{{taxonomy|rank=parvorder|link={{{parvordo}}} | auth={{{parvordo_authority|}}} }} }}
{{#if:{{{unranked_zoodivisio|}}}|{{taxonomy|rank=unranked|link={{{unranked_zoodivisio}}} | auth={{{unranked_zoodivisio_authority|}}} }} }}
{{#if:{{{zoodivisio|}}}|{{taxonomy|rank=zoodivisio|link={{{zoodivisio}}} | auth={{{zoodivisio_authority|}}} }} }}
{{#if:{{{unranked_zoosectio|}}}|{{taxonomy|rank=unranked|link={{{unranked_zoosectio}}} | auth={{{unranked_zoosectio_authority|}}} }} }}
{{#if:{{{zoosectio|}}}|{{taxonomy|rank=zoosectio|link={{{zoosectio}}} | auth={{{zoosectio_authority|}}} }} }}
{{#if:{{{unranked_zoosubsectio|}}}|{{taxonomy|rank=unranked|link={{{unranked_zoosubsectio}}} | auth={{{unranked_zoosubsectio_authority|}}} }} }}
{{#if:{{{zoosubsectio|}}}|{{taxonomy|rank=zoosubsectio|link={{{zoosubsectio}}} | auth={{{zoosubsectio_authority|}}} }} }}
{{#if:{{{unranked_superfamilia|}}}|{{taxonomy|rank=unranked|link={{{unranked_superfamilia}}} | auth={{{unranked_superfamilia_authority|}}} }} }}
{{#if:{{{superfamilia|}}}|{{taxonomy|rank=superfamilia|link={{{superfamilia}}} | auth={{{superfamilia_authority|}}} }} }}
{{#if:{{{unranked_familia|}}}|{{taxonomy|rank=unranked|link={{{unranked_familia}}} | auth={{{unranked_familia_authority|}}} }} }}
{{#if:{{{familia|}}}|{{taxonomy|rank=familia|link={{{familia}}} | auth={{{familia_authority|}}} }} }}
{{#if:{{{unranked_subfamilia|}}}|{{taxonomy|rank=unranked|link={{{unranked_subfamilia}}} | auth={{{unranked_subfamilia_authority|}}} }} }}
{{#if:{{{subfamilia|}}}|{{taxonomy|rank=subfamilia|link={{{subfamilia}}} | auth={{{subfamilia_authority|}}} }} }}
{{#if:{{{unranked_supertribus|}}}|{{taxonomy|rank=unranked|link={{{unranked_supertribus}}} | auth={{{unranked_supertribus_authority|}}} }} }}
{{#if:{{{supertribus|}}}|{{taxonomy|rank=supertribus|link={{{supertribus}}} | auth={{{supertribus_authority|}}} }} }}
{{#if:{{{unranked_tribus|}}}|{{taxonomy|rank=unranked|link={{{unranked_tribus}}} | auth={{{unranked_tribus_authority|}}} }} }}
{{#if:{{{tribus|}}}|{{taxonomy|rank=tribus|link={{{tribus}}} | auth={{{tribus_authority|}}} }} }}
{{#if:{{{unranked_subtribus|}}}|{{taxonomy|rank=unranked|link={{{unranked_subtribus}}} | auth={{{unranked_subtribus_authority|}}} }} }}
{{#if:{{{subtribus|}}}|{{taxonomy|rank=subtribus|link={{{subtribus}}} | auth={{{subtribus_authority|}}} }} }}
{{#if:{{{unranked_alliance|}}}|{{taxonomy|rank=unranked|link={{{unranked_alliance}}} | auth={{{unranked_alliance_authority|}}} }} }}
{{#if:{{{alliance|}}}|{{taxonomy|rank=alliance|link={{{alliance}}} | auth={{{alliance_authority|}}} }} }}
{{#if:{{{unranked_genus|}}}|{{taxonomy|rank=unranked|link={{{unranked_genus}}} | auth={{{unranked_genus_authority|}}} }} }}
{{#if:{{{genus|}}}| {{taxonomy|rank=genus|link={{{genus}}}|auth={{{genus_authority|}}} }} }}
{{#if:{{{unranked_subgenus|}}}|{{taxonomy|rank=unranked|link={{{unranked_subgenus}}} | auth={{{unranked_subgenus_authority|}}} }} }}
{{#if:{{{subgenus|}}}|{{taxonomy|rank=subgenus|link={{{subgenus}}} | auth={{{subgenus_authority|}}} }} }}
{{#if:{{{unranked_sectio|}}}|{{taxonomy|rank=unranked|link={{{unranked_sectio}}} | auth={{{unranked_sectio_authority|}}} }} }}
{{#if:{{{sectio|}}}|{{taxonomy|rank=sectio|link={{{sectio}}} | auth={{{sectio_authority|}}} }} }}
{{#if:{{{unranked_subsectio|}}}|{{taxonomy|rank=unranked|link={{{unranked_subsectio}}} | auth={{{unranked_subsectio_authority|}}} }} }}
{{#if:{{{subsectio|}}}|{{taxonomy|rank=subsectio|link={{{subsectio}}} | auth={{{subsectio_authority|}}} }} }}
{{#if:{{{unranked_series|}}}|{{taxonomy|rank=unranked|link={{{unranked_series}}} | auth={{{unranked_series_authority|}}} }} }}
{{#if:{{{series|}}}|{{taxonomy|rank=series|link={{{series}}} | auth={{{series_authority|}}} }} }}
{{#if:{{{unranked_subseries|}}}|{{taxonomy|rank=unranked|link={{{unranked_subseries}}} | auth={{{unranked_subseries_authority|}}} }} }}
{{#if:{{{subseries|}}}|{{taxonomy|rank=subseries|link={{{subseries}}}|auth={{{subseries_authority|}}} }} }}
{{#if:{{{unranked_species_group|}}}|{{taxonomy|rank=unranked|link={{{unranked_species_group}}} | auth={{{unranked_species_group_authority|}}} }} }}
{{#if:{{{species_group|}}}|{{taxonomy|rank=species group|link={{{species_group}}} | auth={{{species_group_authority|}}} }} }}
{{#if:{{{unranked_species_subgroup|}}}|{{taxonomy|rank=unranked|link={{{unranked_species_subgroup}}} | auth={{{unranked_species_subgroup_authority|}}} }} }}
{{#if:{{{species_subgroup|}}}|{{taxonomy|rank=species subgroup|link={{{species_subgroup}}} | auth={{{species_subgroup_authority|}}} }} }}
{{#if:{{{unranked_species_complex|}}}|{{taxonomy|rank=unranked|link={{{unranked_species_complex}}} | auth={{{unranked_species_complex_authority|}}} }} }}
{{#if:{{{species_complex|}}}|{{taxonomy|rank=species complex|link={{{species_complex}}} | auth={{{species_complex_authority|}}} }} }}
{{#if:{{{unranked_species|}}}|{{taxonomy|rank=unranked|link={{{unranked_species}}} | auth={{{unranked_species_authority|}}} }} }}
{{#if:{{{species|}}}|{{taxonomy|rank=species|link={{{species}}} | auth={{{species_authority|}}} }} }}
{{#if:{{{unranked_subspecies|}}}|{{taxonomy|rank=unranked|link={{{unranked_subspecies}}} | auth={{{unranked_subspecies_authority|}}} }} }}
{{#if:{{{subspecies|}}}|{{taxonomy|rank=subspecies|link={{{subspecies}}} | auth={{{subspecies_authority|}}}
}} }}
|-
{{#if:{{{unranked_varietas|{{{unranked_variety|}}}}}}|{{taxonomy|rank=unranked|link={{{unranked_varietas|{{{unranked_variety|}}}}}} | auth={{{unranked_varietas_authority|{{{unranked_variety_authority|}}}}}} }} }}
{{#if:{{{varietas|{{{variety|}}}}}}|{{taxonomy|rank=varietas|link={{{varietas|{{{variety}}}}}} | auth={{{varietas_authority|{{{variety_authority|}}}}}}
}} }}
{{#if:{{{forma|}}}|{{taxonomy|rank=forma|link={{{forma}}} | auth={{{forma_authority|}}}
}} }}
|-
{{#if:{{{binomial|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Binomial nomenclature|Binomial name]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} '''<span class="binomial">{{{binomial}}}</span>'''<br /><small>{{{binomial_authority|}}}</small>
}}
|- style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}"
{{#if:{{{trinomial|}}}|
! colspan=2 style="text-align: center" {{!}} [[{{#switch:{{{regnum|}}}|[[Animalia]]|[[Animal]]ia|Animalia=Trinomen|[[Plantae]]|[[Plant]]ae|Plantae|[[Fungi]]|[[Fungus|Fungi]]|Fungi|[[Archaeplastida]]|Archaeplastida=Infraspecific name (botany)|Trinomen}}|Trinomial name]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} '''<span class="trinomial">{{{trinomial}}}</span>'''<br /><small>{{{trinomial_authority|}}}</small>
}}
|-
{{#if:{{{type_genus|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour|}}} }}"{{!}} [[Type genus]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_genus}}}<br /><small>{{{type_genus_authority|}}}</small>
}}
|-
{{#if:{{{type_ichnogenus|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour|}}} }}"{{!}} [[Type genus|Type ichnogenus]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnogenus}}}<br /><small>{{{type_ichnogenus_authority|}}}</small>
}}
|-
{{#if:{{{type_oogenus|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour|}}} }}"{{!}} [[Type genus|Type oogenus]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnogenus}}}<br /><small>{{{type_oogenus_authority|}}}</small>
}}
|-
{{#if:{{{type_species|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Type species]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_species}}}<br /><small>{{{type_species_authority|}}}</small>
}}
|-
{{#if:{{{type_ichnospecies|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Type species|Type ichnospecies]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnospecies}}}<br /><small>{{{type_ichnospecies_authority|}}}</small>
}}
|-
{{#if:{{{type_oospecies|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Type species|Type oospecies]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_oospecies}}}<br /><small>{{{type_oospecies_authority|}}}</small>
}}
|-
{{#if:{{{type_strain|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Type strain]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_strain}}}
}}
|-
{{#if:{{{subdivision|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} {{{subdivision_ranks}}}
{{!}}-
{{!}} colspan=2 style="text-align: left" {{!}}
{{{subdivision|}}}
}}
|-
{{#if:{{{possible_subdivision|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} {{{possible_subdivision_ranks}}}
{{!}}-
{{!}} colspan=2 style="text-align: left" {{!}}
{{{possible_subdivision|}}}
}}
|-
{{#if:{{{diversity|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Biodiversity|Diversity]]{{{diversity_ref|}}} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Articles using diversity taxobox]] | }}
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{#if:{{{diversity_link|}}}|[[{{{diversity_link|}}}|{{{diversity|}}}]]|{{{diversity|}}}}}
{{!}}-
}}
{{#if:{{{range_map|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{range_map}}}|size={{{range_map_width|}}}|sizedefault=frameless|upright={{#if:{{{range_map_upright|}}}|{{{range_map_upright}}}|{{{upright|1}}}}}|alt={{{range_map_alt|}}}}}
{{!}}-
{{#if:{{{range_map_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{range_map_caption}}}
{{!}}-
}}
}}
{{#if:{{{binomial2|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{binomial2}}}'''<br /><small>{{{binomial2_authority|}}}</small>
{{!}}-
}}
{{#if:{{{trinomial2|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{trinomial2}}}'''<br /><small>{{{trinomial2_authority|}}}</small>
{{!}}-
}}
{{#if:{{{range_map2|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{range_map2}}}|size={{{range_map2_width|}}}|sizedefault=frameless|upright={{#if:{{{range_map2_upright|}}}|{{{range_map2_upright}}}|{{{upright|1}}}}}|alt={{{range_map2_alt|}}}}}
{{!}}-
{{#if:{{{range_map2_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{range_map2_caption}}}
{{!}}-
}}
}}
{{#if:{{{binomial3|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{binomial3}}}'''<br /><small>{{{binomial3_authority|}}}</small>
{{!}}-
}}
{{#if:{{{trinomial3|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{trinomial3}}}'''<br /><small>{{{trinomial3_authority|}}}</small>
{{!}}-
}}
{{#if:{{{range_map3|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{range_map3}}}|size={{{range_map3_width|}}}|sizedefault=frameless|upright={{#if:{{{range_map3_upright|}}}|{{{range_map3_upright}}}|{{{upright|1}}}}}|alt={{{range_map3_alt|}}}}}
{{!}}-
{{#if:{{{range_map3_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{range_map3_caption}}}
{{!}}-
}}
}}
{{#if:{{{binomial4|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{binomial4}}}'''<br /><small>{{{binomial4_authority|}}}</small>
{{!}}-
}}
{{#if:{{{trinomial4|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{trinomial4}}}'''<br /><small>{{{trinomial4_authority|}}}</small>
{{!}}-
}}
{{#if:{{{range_map4|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{range_map4}}}|size={{{range_map4_width|}}}|sizedefault=frameless|upright={{#if:{{{range_map4_upright|}}}|{{{range_map4_upright}}}|{{{upright|1}}}}}|alt={{{range_map4_alt|}}}}}
{{!}}-
{{#if:{{{range_map4_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{range_map4_caption}}}
}}
}}
|-
{{#if:{{{synonyms|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Synonym (taxonomy)|Synonyms]]{{{synonyms_ref|}}}
{{!}}-
{{!}} colspan=2 style="text-align: left" {{!}}
{{{synonyms}}}
{{!}}-
}}
{{#if:{{{footer|}}}|
{{!}}-
{{!}} colspan=2 style="text-align: left" {{!}}
{{{footer}}}
{{!}}-
}}
|}<!--
Define any categories to be displayed on the page here:
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!--
-->| [[Category:Articles with 'species' microformats]]<!--
-->{{#ifeq:{{{colour|none}}}|{{Taxobox/Error_colour}}| [[Category:Taxoboxes with the error color]]}}<!--
-->{{#ifeq:{{{colour|none}}}|{{Taxobox colour|incertae sedis}}| [[Category:Taxoboxes with the incertae sedis color]]}}<!--
-->{{#ifeq:{{{colour|none}}}|{{Taxobox colour|}}| [[Category:Taxoboxes with no color]]}}<!--
-->}}</includeonly><noinclude>{{documentation}}</noinclude>
2a68fe912c3c045cc628e554ba57339470571de5
Template:Taxonomy
10
372
730
2017-06-28T13:45:22Z
Jacques Ducloy
1
Created page with "<includeonly>{{#if:{{{rank|}}}|<!-- Cell stating the rank: --> {{!}} {{anglicise rank|{{{rank|}}}}}:<!-- Cell stating the taxon's name, with authority: --> {{!}} <span class=..."
wikitext
text/x-wiki
<includeonly>{{#if:{{{rank|}}}|<!--
Cell stating the rank:
-->
{{!}} {{anglicise rank|{{{rank|}}}}}:<!--
Cell stating the taxon's name, with authority:
-->
{{!}} <span class="{{lc:{{anglicise rank|{{{rank}}} }} }}">{{Taxonomy/nobreak|{{{link}}}}}</span>{{#if:{{{auth|}}}
|<br /><small>{{{auth}}}</small>}}
{{!}}-
}}</includeonly><noinclude>{{documentation}}</noinclude>
4be5b92f37829b0ce181780528e776d6baf0cfcd
Template:Taxobox colour
10
363
712
2017-06-28T13:49:27Z
Jacques Ducloy
1
Created page with "<includeonly>{{#switch:{{Delink|{{lc:{{{1|}}} }} }} |eukaryota|eukarya = rgb(245,215,255) |animalia|animal = rgb(235,235,210) |archaeplastida|plantae|plant|viridiplantae = rgb..."
wikitext
text/x-wiki
<includeonly>{{#switch:{{Delink|{{lc:{{{1|}}} }} }}
|eukaryota|eukarya = rgb(245,215,255)
|animalia|animal = rgb(235,235,210)
|archaeplastida|plantae|plant|viridiplantae = rgb(180,250,180)
|fungi = rgb(145,250,250)
|sar|chromalveolata = rgb(200,250,80)
|opisthokonta|choanozoa = rgb(240,240,120)
|excavata|excavates|protista|protists = rgb(250,250,100)
|amoebozoa = rgb(170,250,205)
|bacteria|firmicutes|eubacteria = rgb(220,235,245)
|archaea|nanoarchaeota|nanarchaeota|euryarchaeota|crenarchaeota|thaumarchaeota|korarchaeota = rgb(195,245,250)
|incertae sedis|''incertae sedis''|acritarcha = rgb(250,240,230)
|virus|viruses|i|ii|iii|iv|v|vi|vii|viii|viroid|viroids = rgb(250,250,190)
|=transparent
|#default = {{Taxobox/Error colour}}<!--
-->}}</includeonly><noinclude>
{{template doc}}</noinclude>
53a2771ba86f247fb54df43ae93d623de073621e
Template:;
10
380
746
2017-06-28T13:51:43Z
Jacques Ducloy
1
Created page with ";<noinclude> {{Documentation}} <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> </noinclude>"
wikitext
text/x-wiki
;<noinclude>
{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
aa0f8dfd252fc7e7ec736d8c478a88c47488d917
Template:Anglicise rank
10
375
736
2017-06-28T13:53:45Z
Jacques Ducloy
1
Created page with "<noinclude><!--Note that #titleparts: is used to replace underscores by spaces before other processing. --></noinclude><includeonly>{{#ifeq:{{str_left|{{lc:{{{1}}}}}|8}}|unran..."
wikitext
text/x-wiki
<noinclude><!--Note that #titleparts: is used to replace underscores by spaces before other processing.
--></noinclude><includeonly>{{#ifeq:{{str_left|{{lc:{{{1}}}}}|8}}|unranked|(unranked)|{{#switch:{{lc:{{#titleparts:{{{1}}}|1}} }}|
<!--Special cases, alphabetic order-->
|alliance=''Alliance''
|basic shell type=''Basic shell type''
|branch=''Branch''
|clade|cladus=''Clade''
|form taxon=''Form taxon''
|grade|gradus=''Grade''
|informal|informal group=''Informal group''
|morphotype=''Morphotype''
|node=''Node''
|possible clade=''Clade?''
|species complex=''Species complex''
|species group=''Species group''
|species subgroup=''Species subgroup''
|stem group=''Stem group''
|total group=''Total group''
|virus group=Group
<!--Linnaean taxonomy, alphabetic order-->
|classis=Class
|cohort=Cohort
|divisio=Division
|domain=Domain
|familia=Family
|forma=Form
|genus=Genus
|grandordo|grandordo-mb<!--McKenna & Bell version-->=Grandorder
|infraclassis=Infraclass
|infralegio|infralegion=Infralegion
|infraordo=Infraorder
|infraphylum=Infraphylum
|infraregnum=Infrakingdom
|infratribus=Infratribe
|legio|legion=Legion
|magnordo=Magnorder
|micrordo=Microrder
|microphylum=Microphylum
|mirordo|mirordo-mb<!--McKenna & Bell version-->=Mirorder
|nanordo=Nanorder
|nanophylum=Nanophylum
|ordo=Order
|parafamilia=Parafamily
|parvordo=Parvorder
|phylum=Phylum
|regnum=Kingdom
|sectio=Section
|series=Series
|species=Species
|subclassis=Subclass
|subcohort=Subcohort
|subdivisio=Subdivision
|subfamilia=Subfamily
|subgenus=Subgenus
|sublegio|sublegion=Sublegion
|subordo=Suborder
|subphylum=Subphylum
|subregnum=Subkingdom
|subsectio=Subsection
|subspecies=Subspecies
|subtribus=Subtribe
|superclassis=Superclass
|supercohort=Supercohort
|superdivisio=Superdivision
|superdomain=Superdomain
|superfamilia=Superfamily
|superlegio|superlegion=Superlegion
|superordo=Superorder
|superphylum=Superphylum
|superregnum=Superkingdom
|supertribus=Supertribe
|tribus=Tribe
|varietas=Variety
|zoodivisio=Division
|zoosectio=Section
|zoosubdivisio=Subdivision
|zoosubsectio=Subsection
<!--trace fossil taxonomy, alphabetic order-->
|ichnoclassis=Ichnoclass
|ichnocohort=Ichnocohort
|ichnodivisio=Ichnodivision
|ichnofamilia=Ichnofamily
|ichnogenus=Ichnogenus
|ichnograndordo=Ichnograndorder
|ichnoinfraclassis=Ichnoinfraclass
|ichnoinfradivisio=Ichnoinfradivision
|ichnoinfraordo=Ichnoinfraorder
|ichnolegio|ichnolegion=Ichnolegion
|ichnomagnordo=Ichnomagnorder
|ichnomicrordo=Ichnomicrorder
|ichnoordo=Ichnoorder
|ichnoparvordo=Ichnoparvorder
|ichnospecies=Ichnospecies
|ichnostem-group=Ichnostem-Group
|ichnosubclassis=Ichnosubclass
|ichnosubdivisio=Ichnosubdivision
|ichnosubfamilia=Ichnosubfamily
|ichnosublegio|ichnosublegion=Ichnosublegion
|ichnosubordo=Ichnosuborder
|ichnosuperclassis=Ichnosuperclass
|ichnosupercohort=Ichnosupercohort
|ichnosuperfamilia=Ichnosuperfamily
|ichnosuperordo=Ichnosuperorder
<!--fossilized egg taxonomy, alphabetic order-->
|ooclassis=Ooclass
|oocohort=Oocohort
|oofamilia=Oofamily
|oogenus=Oogenus
|oomagnordo=Oomagnorder
|oordo=Oorder
|oospecies=Oospecies
|oosubclassis=Oosubclass
|oosubgenus=Oosubgenus
|oosubspecies=Oosubspecies
|oosupercohort=Oosupercohort
|oosuperordo=Oosuperorder
<!--default is to capitalize first letter and then put calling page in error category-->
|#default={{ucfirst:{{#titleparts:{{{1}}}|1}} }}{{#ifeq:{{{check|}}}|yes|{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Taxonomy|[[Category:Taxonomy templates using unrecognized rank parameters]]}}}}
}}}}</includeonly><noinclude>{{documentation}}</noinclude>
396ca1760193f62073f142a07af5017521d56c01
Template:Taxonomy/nobreak
10
373
732
2017-06-28T13:55:45Z
Jacques Ducloy
1
Created page with "<noinclude>{{pp-template|small=yes}}</noinclude>{{#ifexpr:{{Str find|{{{1|}}}|. }}>1|{{str rep|{{{1|}}}|. |. }}|{{{1|}}}}}<noinclude>{{documentation}}</noinclude>"
wikitext
text/x-wiki
<noinclude>{{pp-template|small=yes}}</noinclude>{{#ifexpr:{{Str find|{{{1|}}}|. }}>1|{{str rep|{{{1|}}}|. |. }}|{{{1|}}}}}<noinclude>{{documentation}}</noinclude>
bb845fa4f7efe3f5fa22d17ea9c5d48053fde59d
Template:Str find
10
378
742
2017-06-28T13:58:58Z
Jacques Ducloy
1
Created page with "{{#invoke:String|str_find|source={{{1|}}}|{{{2|}}}}}<noinclude> {{documentation}}</noinclude>"
wikitext
text/x-wiki
{{#invoke:String|str_find|source={{{1|}}}|{{{2|}}}}}<noinclude>
{{documentation}}</noinclude>
221bd2b123ec554ecc6df47bb212a911d4947dda
Module:String
828
376
738
2017-06-28T14:02:07Z
Jacques Ducloy
1
Created page with "--[[ This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or..."
Scribunto
text/plain
--[[
This module is intended to provide access to basic string functions.
Most of the functions provided here can be invoked with named parameters,
unnamed parameters, or a mixture. If named parameters are used, Mediawiki will
automatically remove any leading or trailing whitespace from the parameter.
Depending on the intended use, it may be advantageous to either preserve or
remove such whitespace.
Global options
ignore_errors: If set to 'true' or 1, any error condition will result in
an empty string being returned rather than an error message.
error_category: If an error occurs, specifies the name of a category to
include with the error message. The default category is
[Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error
is generated.
Unit tests for this module are available at Module:String/tests.
]]
local str = {}
--[[
len
This function returns the length of the target string.
Usage:
{{#invoke:String|len|target_string|}}
OR
{{#invoke:String|len|s=target_string}}
Parameters
s: The string whose length to report
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string.
]]
function str.len( frame )
local new_args = str._getParameters( frame.args, {'s'} );
local s = new_args['s'] or '';
return mw.ustring.len( s )
end
--[[
sub
This function returns a substring of the target string at specified indices.
Usage:
{{#invoke:String|sub|target_string|start_index|end_index}}
OR
{{#invoke:String|sub|s=target_string|i=start_index|j=end_index}}
Parameters
s: The string to return a subset of
i: The fist index of the substring to return, defaults to 1.
j: The last index of the string to return, defaults to the last character.
The first character of the string is assigned an index of 1. If either i or j
is a negative value, it is interpreted the same as selecting a character by
counting from the end of the string. Hence, a value of -1 is the same as
selecting the last character of the string.
If the requested indices are out of range for the given string, an error is
reported.
]]
function str.sub( frame )
local new_args = str._getParameters( frame.args, { 's', 'i', 'j' } );
local s = new_args['s'] or '';
local i = tonumber( new_args['i'] ) or 1;
local j = tonumber( new_args['j'] ) or -1;
local len = mw.ustring.len( s );
-- Convert negatives for range checking
if i < 0 then
i = len + i + 1;
end
if j < 0 then
j = len + j + 1;
end
if i > len or j > len or i < 1 or j < 1 then
return str._error( 'String subset index out of range' );
end
if j < i then
return str._error( 'String subset indices out of order' );
end
return mw.ustring.sub( s, i, j )
end
--[[
This function implements that features of {{str sub old}} and is kept in order
to maintain these older templates.
]]
function str.sublength( frame )
local i = tonumber( frame.args.i ) or 0
local len = tonumber( frame.args.len )
return mw.ustring.sub( frame.args.s, i + 1, len and ( i + len ) )
end
--[[
match
This function returns a substring from the source string that matches a
specified pattern.
Usage:
{{#invoke:String|match|source_string|pattern_string|start_index|match_number|plain_flag|nomatch_output}}
OR
{{#invoke:String|pos|s=source_string|pattern=pattern_string|start=start_index
|match=match_number|plain=plain_flag|nomatch=nomatch_output}}
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from each string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
If the match_number or start_index are out of range for the string being queried, then
this function generates an error. An error is also generated if no match is found.
If one adds the parameter ignore_errors=true, then the error will be suppressed and
an empty string will be returned on any failure.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
function str.match( frame )
local new_args = str._getParameters( frame.args, {'s', 'pattern', 'start', 'match', 'plain', 'nomatch'} );
local s = new_args['s'] or '';
local start = tonumber( new_args['start'] ) or 1;
local plain_flag = str._getBoolean( new_args['plain'] or false );
local pattern = new_args['pattern'] or '';
local match_index = math.floor( tonumber(new_args['match']) or 1 );
local nomatch = new_args['nomatch'];
if s == '' then
return str._error( 'Target string is empty' );
end
if pattern == '' then
return str._error( 'Pattern string is empty' );
end
if math.abs(start) < 1 or math.abs(start) > mw.ustring.len( s ) then
return str._error( 'Requested start is out of range' );
end
if match_index == 0 then
return str._error( 'Match index is out of range' );
end
if plain_flag then
pattern = str._escapePattern( pattern );
end
local result
if match_index == 1 then
-- Find first match is simple case
result = mw.ustring.match( s, pattern, start )
else
if start > 1 then
s = mw.ustring.sub( s, start );
end
local iterator = mw.ustring.gmatch(s, pattern);
if match_index > 0 then
-- Forward search
for w in iterator do
match_index = match_index - 1;
if match_index == 0 then
result = w;
break;
end
end
else
-- Reverse search
local result_table = {};
local count = 1;
for w in iterator do
result_table[count] = w;
count = count + 1;
end
result = result_table[ count + match_index ];
end
end
if result == nil then
if nomatch == nil then
return str._error( 'Match not found' );
else
return nomatch;
end
else
return result;
end
end
--[[
pos
This function returns a single character from the target string at position pos.
Usage:
{{#invoke:String|pos|target_string|index_value}}
OR
{{#invoke:String|pos|target=target_string|pos=index_value}}
Parameters
target: The string to search
pos: The index for the character to return
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
The first character has an index value of 1.
If one requests a negative value, this function will select a character by counting backwards
from the end of the string. In other words pos = -1 is the same as asking for the last character.
A requested value of zero, or a value greater than the length of the string returns an error.
]]
function str.pos( frame )
local new_args = str._getParameters( frame.args, {'target', 'pos'} );
local target_str = new_args['target'] or '';
local pos = tonumber( new_args['pos'] ) or 0;
if pos == 0 or math.abs(pos) > mw.ustring.len( target_str ) then
return str._error( 'String index out of range' );
end
return mw.ustring.sub( target_str, pos, pos );
end
--[[
str_find
This function duplicates the behavior of {{str_find}}, including all of its quirks.
This is provided in order to support existing templates, but is NOT RECOMMENDED for
new code and templates. New code is recommended to use the "find" function instead.
Returns the first index in "source" that is a match to "target". Indexing is 1-based,
and the function returns -1 if the "target" string is not present in "source".
Important Note: If the "target" string is empty / missing, this function returns a
value of "1", which is generally unexpected behavior, and must be accounted for
separatetly.
]]
function str.str_find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target'} );
local source_str = new_args['source'] or '';
local target_str = new_args['target'] or '';
if target_str == '' then
return 1;
end
local start = mw.ustring.find( source_str, target_str, 1, true )
if start == nil then
start = -1
end
return start
end
--[[
find
This function allows one to search for a target string or pattern within another
string.
Usage:
{{#invoke:String|find|source_str|target_string|start_index|plain_flag}}
OR
{{#invoke:String|find|source=source_str|target=target_str|start=start_index|plain=plain_flag}}
Parameters
source: The string to search
target: The string or pattern to find within source
start: The index within the source string to start the search, defaults to 1
plain: Boolean flag indicating that target should be understood as plain
text and not as a Lua style regular expression, defaults to true
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the parameter. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
This function returns the first index >= "start" where "target" can be found
within "source". Indices are 1-based. If "target" is not found, then this
function returns 0. If either "source" or "target" are missing / empty, this
function also returns 0.
This function should be safe for UTF-8 strings.
]]
function str.find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target', 'start', 'plain' } );
local source_str = new_args['source'] or '';
local pattern = new_args['target'] or '';
local start_pos = tonumber(new_args['start']) or 1;
local plain = new_args['plain'] or true;
if source_str == '' or pattern == '' then
return 0;
end
plain = str._getBoolean( plain );
local start = mw.ustring.find( source_str, pattern, start_pos, plain )
if start == nil then
start = 0
end
return start
end
--[[
replace
This function allows one to replace a target string or pattern within another
string.
Usage:
{{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}
OR
{{#invoke:String|replace|source=source_string|pattern=pattern_string|replace=replace_string|
count=replacement_count|plain=plain_flag}}
Parameters
source: The string to search
pattern: The string or pattern to find within source
replace: The replacement text
count: The number of occurences to replace, defaults to all.
plain: Boolean flag indicating that pattern should be understood as plain
text and not as a Lua style regular expression, defaults to true
]]
function str.replace( frame )
local new_args = str._getParameters( frame.args, {'source', 'pattern', 'replace', 'count', 'plain' } );
local source_str = new_args['source'] or '';
local pattern = new_args['pattern'] or '';
local replace = new_args['replace'] or '';
local count = tonumber( new_args['count'] );
local plain = new_args['plain'] or true;
if source_str == '' or pattern == '' then
return source_str;
end
plain = str._getBoolean( plain );
if plain then
pattern = str._escapePattern( pattern );
replace = mw.ustring.gsub( replace, "%%", "%%%%" ); --Only need to escape replacement sequences.
end
local result;
if count ~= nil then
result = mw.ustring.gsub( source_str, pattern, replace, count );
else
result = mw.ustring.gsub( source_str, pattern, replace );
end
return result;
end
--[[
simple function to pipe string.rep to templates.
]]
function str.rep( frame )
local repetitions = tonumber( frame.args[2] )
if not repetitions then
return str._error( 'function rep expects a number as second parameter, received "' .. ( frame.args[2] or '' ) .. '"' )
end
return string.rep( frame.args[1] or '', repetitions )
end
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function str._getParameters( frame_args, arg_list )
local new_args = {};
local index = 1;
local value;
for i,arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index];
index = index + 1;
end
new_args[arg] = value;
end
return new_args;
end
--[[
Helper function to handle error messages.
]]
function str._error( error_str )
local frame = mw.getCurrentFrame();
local error_category = frame.args.error_category or 'Errors reported by Module String';
local ignore_errors = frame.args.ignore_errors or false;
local no_category = frame.args.no_category or false;
if str._getBoolean(ignore_errors) then
return '';
end
local error_str = '<strong class="error">String Module Error: ' .. error_str .. '</strong>';
if error_category ~= '' and not str._getBoolean( no_category ) then
error_str = '[[Category:' .. error_category .. ']]' .. error_str;
end
return error_str;
end
--[[
Helper Function to interpret boolean strings
]]
function str._getBoolean( boolean_str )
local boolean_value;
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower();
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false;
else
boolean_value = true;
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str;
else
error( 'No boolean value found' );
end
return boolean_value
end
--[[
Helper function that escapes all pattern characters so that they will be treated
as plain text.
]]
function str._escapePattern( pattern_str )
return mw.ustring.gsub( pattern_str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" );
end
return str
b3f731f2026437e7ef7e3f22bb9d823788125c39
Module:InfoboxImage
828
377
740
2017-06-28T14:04:51Z
Jacques Ducloy
1
Created page with "-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display for multipage ima..."
Scribunto
text/plain
-- Inputs:
-- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link
-- page - page to display for multipage images (DjVu)
-- size - size to display the image
-- maxsize - maximum size for image
-- sizedefault - default size to display the image if size param is blank
-- alt - alt text for image
-- title - title text for image
-- border - set to yes if border
-- center - set to yes, if the image has to be centered
-- upright - upright image param
-- suppressplaceholder - if yes then checks to see if image is a placeholder and suppresses it
-- link - page to visit when clicking on image
-- Outputs:
-- Formatted image.
-- More details available at the "Module:InfoboxImage/doc" page
local i = {};
local placeholder_image = {
"Blue - Replace this image female.svg",
"Blue - Replace this image male.svg",
"Female no free image yet.png",
"Flag of None (square).svg",
"Flag of None.svg",
"Flag of.svg",
"Green - Replace this image female.svg",
"Green - Replace this image male.svg",
"Image is needed female.svg",
"Image is needed male.svg",
"Location map of None.svg",
"Male no free image yet.png",
"Missing flag.png",
"No flag.svg",
"No free portrait.svg",
"No portrait (female).svg",
"No portrait (male).svg",
"Red - Replace this image female.svg",
"Red - Replace this image male.svg",
"Replace this image female (blue).svg",
"Replace this image female.svg",
"Replace this image male (blue).svg",
"Replace this image male.svg",
"Silver - Replace this image female.svg",
"Silver - Replace this image male.svg",
"Replace this image.svg",
"Cricket no pic.png",
"CarersLogo.gif",
"Diagram Needed.svg",
"Example.jpg",
"Image placeholder.png",
"No male portrait.svg",
"Nocover-upload.png",
"NoDVDcover copy.png",
"Noribbon.svg",
"No portrait-BFD-test.svg",
"Placeholder barnstar ribbon.png",
"Project Trains no image.png",
"Image-request.png",
"Sin bandera.svg",
"Sin escudo.svg",
"Replace this image - temple.png",
"Replace this image butterfly.png",
"Replace this image.svg",
"Replace this image1.svg",
"Resolution angle.png",
"Image-No portrait-text-BFD-test.svg",
"Insert image here.svg",
"No image available.png",
"NO IMAGE YET square.png",
"NO IMAGE YET.png",
"No Photo Available.svg",
"No Screenshot.svg",
"No-image-available.jpg",
"Null.png",
"PictureNeeded.gif",
"Place holder.jpg",
"Unbenannt.JPG",
"UploadACopyrightFreeImage.svg",
"UploadAnImage.gif",
"UploadAnImage.svg",
"UploadAnImageShort.svg",
"CarersLogo.gif",
"Diagram Needed.svg",
"No male portrait.svg",
"NoDVDcover copy.png",
"Placeholder barnstar ribbon.png",
"Project Trains no image.png",
"Image-request.png",
}
function i.IsPlaceholder(image)
-- change underscores to spaces
image = mw.ustring.gsub(image, "_", " ");
assert(image ~= nil, 'mw.ustring.gsub(image, "_", " ") must not return nil')
-- if image starts with [[ then remove that and anything after |
if mw.ustring.sub(image,1,2) == "[[" then
image = mw.ustring.sub(image,3);
image = mw.ustring.gsub(image, "([^|]*)|.*", "%1");
assert(image ~= nil, 'mw.ustring.gsub(image, "([^|]*)|.*", "%1") must not return nil')
end
-- Trim spaces
image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1');
assert(image ~= nil, "mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1') must not return nil")
-- remove prefix if exists
local allNames = mw.site.namespaces[6].aliases
allNames[#allNames + 1] = mw.site.namespaces[6].name
allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName
for i, name in ipairs(allNames) do
if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then
image = mw.ustring.sub(image, mw.ustring.len(name) + 2);
break
end
end
-- Trim spaces
image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1');
-- capitalise first letter
image = mw.ustring.upper(mw.ustring.sub(image,1,1)) .. mw.ustring.sub(image,2);
for i,j in pairs(placeholder_image) do
if image == j then
return true
end
end
return false
end
function i.InfoboxImage(frame)
local image = frame.args["image"];
if image == "" or image == nil then
return "";
end
if image == " " then
return image;
end
if frame.args["suppressplaceholder"] ~= "no" then
if i.IsPlaceholder(image) == true then
return "";
end
end
if mw.ustring.lower(mw.ustring.sub(image,1,5)) == "http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,8)) == "[[https:" then
return "";
end
if mw.ustring.sub(image,1,2) == "[[" then
-- search for thumbnail images and add to tracking cat if found
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then
return image .. "[[Category:Pages using infoboxes with thumbnail images]]";
else
return image;
end
elseif mw.ustring.sub(image,1,2) == "{{" and mw.ustring.sub(image,1,3) ~= "{{{" then
return image;
elseif mw.ustring.sub(image,1,1) == "<" then
return image;
elseif mw.ustring.sub(image,1,5) == mw.ustring.char(127).."UNIQ" then
-- Found strip marker at begining, so pass don't process at all
return image;
else
local result = "";
local page = frame.args["page"];
local size = frame.args["size"];
local maxsize = frame.args["maxsize"];
local sizedefault = frame.args["sizedefault"];
local alt = frame.args["alt"];
local link = frame.args["link"];
local title = frame.args["title"];
local border = frame.args["border"];
local upright = frame.args["upright"] or "";
local thumbtime = frame.args["thumbtime"] or "";
local center= frame.args["center"];
-- remove prefix if exists
local allNames = mw.site.namespaces[6].aliases
allNames[#allNames + 1] = mw.site.namespaces[6].name
allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName
for i, name in ipairs(allNames) do
if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then
image = mw.ustring.sub(image, mw.ustring.len(name) + 2);
break
end
end
if maxsize ~= "" and maxsize ~= nil then
-- if no sizedefault then set to maxsize
if sizedefault == "" or sizedefault == nil then
sizedefault = maxsize
end
-- check to see if size bigger than maxsize
if size ~= "" and size ~= nil then
local sizenumber = tonumber(mw.ustring.match(size,"%d*")) or 0;
local maxsizenumber = tonumber(mw.ustring.match(maxsize,"%d*")) or 0;
if sizenumber>maxsizenumber and maxsizenumber>0 then
size = maxsize;
end
end
end
-- add px to size if just a number
if (tonumber(size) or 0) > 0 then
size = size .. "px";
end
result = "[[File:" .. image;
if page ~= "" and page ~= nil then
result = result .. "|page=" .. page;
end
if size ~= "" and size ~= nil then
result = result .. "|" .. size;
elseif sizedefault ~= "" and sizedefault ~= nil then
result = result .. "|" .. sizedefault;
else
result = result .. "|frameless";
end
if center == "yes" then
result = result .. "|center"
end
if alt ~= "" and alt ~= nil then
result = result .. "|alt=" .. alt;
end
if link ~= "" and link ~= nil then
result = result .. "|link=" .. link;
end
if border == "yes" then
result = result .. "|border";
end
if upright == "yes" then
result = result .. "|upright";
elseif upright ~= "" then
result = result .. "|upright=" .. upright;
end
if thumbtime ~= "" then
result = result .. "|thumbtime=" .. thumbtime;
end
if title ~= "" and title ~= nil then
result = result .. "|" .. title;
elseif alt ~= "" and alt ~= nil then
result = result .. "|" .. alt;
end
result = result .. "]]";
return result;
end
end
return i;
1a1ed525e01727635fb7cb850162afe4fd2ba259
Template:COLON
10
381
748
2017-06-28T14:07:30Z
Jacques Ducloy
1
Created page with ":<noinclude>{{Documentation}}</noinclude>"
wikitext
text/x-wiki
:<noinclude>{{Documentation}}</noinclude>
699b9a5402e0ee6619624048c6c98be313bbd372
Template:Automatic taxobox
10
367
720
2017-06-28T14:11:30Z
Jacques Ducloy
1
Created page with "<noinclude><!-- -==================================================================== - Template:Automatic_taxobox - Auto-generate a taxobox infobox -========================..."
wikitext
text/x-wiki
<noinclude><!--
-====================================================================
- Template:Automatic_taxobox - Auto-generate a taxobox infobox
-====================================================================
--
-- This template chooses parameters to send to {Taxobox/core}, to
-- generate a right-side taxobox infobox. Most parameters are just
-- passed directly; some are explained with a comment. When run as
-- stand-alone, template shows genus "Acacia" as a sample output.
--
-------------------------------- Check for taxonomy template
--></noinclude>{{#ifexist:Template:Taxonomy/{{{taxon|<includeonly>{{PAGENAME}}</includeonly><noinclude>Acacia</noinclude>}}}
|<noinclude><!--do nothing if it exists--></noinclude>
|{{Automatic taxobox/floating intro|taxon={{{taxon|{{PAGENAME}}}}} }}<!--
-->}}<noinclude><!--
-------------------------------- Invoke {Taxobox/core}
The nowiki that follows is needed because of parser bug T18700--></noinclude><nowiki/>{{Taxobox/core
| edit link = {{{edit link|{{{edit_link|e}}} }}}<noinclude><!--
--
-- fossil_range: If the specified fossil range is a period supported
-- by templates {period_start} and {next_period}, then it incorporates
-- the specified range into template {Fossil range}, but checking to
-- display properly. Otherwise, just passes parameter. --></noinclude>
| temporal_range = {{#if:{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}|{{#iferror:{{period start|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}} }}|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}|{{geological range|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}} }} }} | {{#if:{{{oldest fossil|{{{oldest_fossil|}}} }}}|{{geological range|{{{oldest fossil|{{{oldest_fossil}}}}}}|{{{youngest fossil|{{{youngest_fossil|Recent}}}}}} }} }} }}<!--
-- parent: this parameter should be called "taxon", not "parent" -->
| parent = {{{taxon|<noinclude>Acacia</noinclude><includeonly>{{PAGENAME}}</includeonly>}}}<!--
-- display_parents: number of parent taxons to display
-- (default: 1, to give the taxon some context). -->
| display_taxa = {{{display parents|{{{display_parents|1}}}}}}<!--
-- authority: in the format "author, year". -->
| authority = {{{authority|}}}
| parent_authority = {{{parent authority|{{{parent_authority|}}} }}}
| grandparent_authority = {{{grandparent authority|{{{grandparent_authority|}}} }}}
| greatgrandparent_authority = {{{greatgrandparent authority|{{{greatgrandparent_authority|}}} }}}
| greatgreatgrandparent_authority = {{{greatgreatgrandparent authority|{{{greatgreatgrandparent_authority|}}} }}}<noinclude><!--
-- name: checks for whether the name should be italicized
-- (for: genera, species, etc); if so, passes the appropriately
-- italicized result.
-- There should be no punctuation in the "name" parameter, which is
-- intended only for cases where the taxobox name does not match the
-- name displayed or linked to by the taxon in question. Italics are
-- generated automatically.
--
-- italic_name: This parameter is still supported (just in case),
-- but links "Category:Automatic taxobox cleanup" because the
-- template 'should' be able to italicize in all cases. --></noinclude>
| name = {{{name|{{#if:{{{italic name|{{{italic_name|}}}}}}|[[Category:Automatic taxobox cleanup|ι]]{{DISPLAYTITLE:{{#if:{{NAMESPACE}} | {{NAMESPACE}}:}}''{{{italic_name}}}''}}''{{{italic name}}}''|{{taxobox name
|1={{{binomial|}}}
|2={{taxobox/italics|{{{taxon|{{PAGENAME}}}}} }}
|3={{taxobox/italics|{{taxon info|{{{taxon|{{PAGENAME}}}}}|parent}} }}
|4={{taxobox/italics|{{taxon info|{{taxon info|{{{taxon|{{PAGENAME}}}}}|parent}}|parent}} }}
}} }} }}}<noinclude><!--
-- colour: (Note UK spelling here) There are two cases:
1) the parameter color_as has a value – the colour is found directly using {{Taxobox colour|color_as}}
2) otherwise – Module:Autotaxobox|taxoboxColour searches up the taxonomic hierarchy to try to find a taxon that
determines the taxobox colour
--></noinclude>
| colour = {{#if:{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}|{{Taxobox colour|{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}}}|{{#invoke:Autotaxobox|taxoboxColour|{{{taxon|<includeonly>{{PAGENAME}}</includeonly><noinclude>Acacia</noinclude>}}} }} }}
| status = {{{status|}}}
| status_system = {{{status system|{{{status_system|}}} }}}
| status_ref = {{{status ref|{{{status_ref|}}} }}}
| status2 = {{{status2|}}}
| status2_system = {{{status2 system|{{{status2_system|}}} }}}
| status2_ref = {{{status2 ref|{{{status2_ref|}}} }}}
| trend = {{{trend|}}}
| extinct = {{{extinct|}}}
| image = {{{image|}}}
| image_width = {{{image_width|{{{image width|}}} }}}
| upright = {{{image_upright|{{{image upright|}}}}}}
| image_alt = {{{image alt|{{{image_alt|}}} }}}
| image_caption = {{{image caption|{{{image_caption|}}} }}}
| image_caption_align = {{{image caption align|{{{image_caption_align|center}}}}}}
| image2 = {{{image2|}}}
| image2_width = {{{image2 width|{{{image2_width|}}} }}}
| upright2 = {{{image2_upright|{{{image2 upright|}}}}}}
| image2_alt = {{{image2 alt|{{{image2_alt|}}}}}}
| image2_caption = {{{image2 caption|{{{image2_caption|}}}}}}
| classification_status = {{{classification status|{{{classification_status|}}} }}}
| diversity = {{{diversity|}}}
| diversity_ref = {{{diversity ref|{{{diversity_ref|}}} }}}
| diversity_link = {{{diversity link|{{{diversity_link|}}} }}}
| binomial = {{{binomial|{{Automatic taxobox/is species|{{{taxon|<includeonly>{{PAGENAME}}</includeonly>}}}}}}}}
| binomial_authority = {{{binomial authority|{{{binomial_authority|}}} }}}
| trinomial = {{{trinomial|}}}
| trinomial_authority = {{{trinomial authority|{{{trinomial_authority|}}} }}}
| type_genus = {{{type genus|{{{type_genus|}}}}}}
| type_genus_authority = {{{type genus authority|{{{type_genus_authority|}}} }}}
| type_species = {{{type species|{{{type_species|}}} }}}
| type_species_authority = {{{type species authority|{{{type_species_authority|}}} }}}
| subdivision = {{{subdivision|}}}<noinclude><!--
-- If subdivision has a value, subdivision_ranks provides a section heading in the taxobox. A default will be
-- generated from the target taxon's rank if no value is given. --></noinclude>
| subdivision_ranks = {{#if:{{{subdivision ranks|}}}|{{{subdivision ranks}}}|{{#if:{{{subdivision_ranks|}}}|{{{subdivision_ranks}}}|{{children_rank|{{taxonomy/{{{taxon|{{PAGENAME}}}}}|machine code=rank}} }} }} }}
| type_strain = {{{type strain|{{{type_strain|}}} }}}
| range_map = {{{range map|{{{range_map|}}} }}}
| range_map_upright = {{{range_map_upright|{{{range map upright|}}}}}}
| range_map_width = {{{range map width|{{{range_map_width|}}} }}}
| range_map_alt = {{{range map alt|{{{range_map_alt|}}} }}}
| range_map_caption = {{{range map caption|{{{range_map_caption|}}} }}}
| binomial2 = {{{binomial2|}}}
| binomial2_authority = {{{binomial2 authority|{{{binomial2_authority|}}} }}}
| range_map2 = {{{range map2|{{{range_map2|}}} }}}
| range_map2_upright = {{{range_map2_upright|{{{range map2 upright|}}}}}}
| range_map2_width = {{{range map2 width| {{{range_map2_width|}}}}}}
| range_map2_alt = {{{range map2 alt|{{{range_map2_alt|}}} }}}
| range_map2_caption = {{{range map2 caption|{{{range_map2_caption|}}} }}}
| binomial3 = {{{binomial3|}}}
| binomial3_authority = {{{binomial3 authority|{{{binomial3_authority|}}} }}}
| range_map3 = {{{range map3|{{{range_map3|}}} }}}
| range_map3_upright = {{{range_map3_upright|{{{range map3 upright|}}}}}}
| range_map3_width = {{{range map3 width|{{{range_map3_width|}}} }}}
| range_map3_alt = {{{range map3 alt|{{{range_map3_alt|}}} }}}
| range_map3_caption = {{{range map3 caption|{{{range_map3_caption|}}} }}}
| binomial4 = {{{binomial4|}}}
| binomial4_authority = {{{binomial4 authority|{{{binomial4_authority|}}} }}}
| range_map4 = {{{range map4|{{{range_map4|}}} }}}
| range_map4_upright = {{{range_map4_upright|{{{range map4 upright|}}}}}}
| range_map4_width = {{{range map4 width|{{{range_map4_width|}}} }}}
| range_map4_alt = {{{range map4 alt|{{{range_map4_alt|}}} }}}
| range_map4_caption = {{{range map4 caption|{{{range_map4_caption|}}} }}}
| synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}}
| synonyms = {{{synonyms|}}}
}}{{#if:{{{binomial|}}}|[[Category:Automatic taxoboxes using binomial parameter]]}}<noinclude><!--
---------------------------------------------------------------------------
--NOTES
--
-- NOTE A1: This template invokes Template:Taxobox/core, with special
-- parameters based on automatic logical settings.
--
---------------------------------------------------------------------------
--HISTORY:
--08Jul2010 Created by User:Smith609
--08Dec2010 Automated grandparent and great-grandparent authorities.
--01Jan2011 Discontinued the automatic authority generation.
--04Jan2011 Support "oldest fossil" parameter.
--09Jan2011 Removed κ test; to reduce post-expand size.
--18Mar2011 Display Help box if seriously misconfigured.
--20May2011 Protected Highly visible ([edit=autoconfirmed] (indefinite).
--29Jun2011 Add modified initial taxon to fix ghost transclusion issues.
--28Jul2011 Stripping whitespace from DISPLAYTITLE {{{italic_name}}}.
--08Feb2012 New parameter extinct = {{{extinct|}}}.
--01Nov2012 Set default taxon={{PAGENAME}} to fit template expansion depth.
--01Nov2012 Put "Acacia" as stand-alone sample display.
--01Nov2012 Noincluded top comments & condensed comments about parameters.
--01Nov2012 Put NOTES comments to explain template operation.
--01Nov2012 Put HISTORY comments to log major changes (not typos).
--15Nov2016 (to 20Dec2016) Major changes to the method of determining the taxobox colour.
--
-->{{Documentation}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
d9b9a5e5b3bdc9f43d5a45668339c2e9193b8193
Template:Taxobox/Error colour
10
368
722
2017-06-28T14:14:04Z
Jacques Ducloy
1
Created page with "<includeonly>transparent; text-align:center; border: 2px solid red; error:colour</includeonly><noinclude><!-- -- The caller template must check invalid -- {{{colour}}} value t..."
wikitext
text/x-wiki
<includeonly>transparent; text-align:center; border: 2px solid red; error:colour</includeonly><noinclude><!--
-- The caller template must check invalid
-- {{{colour}}} value to link [[Category:Taxoboxes with an invalid color]] because
-- a [[wp:wikitable]] column format cannot contain a wikilinked page or category,
-- as of September 2016.
--
-- See check of {{{colour}}} in template {Taxobox/core}.
-->{{documentation|Template:Taxobox colour/doc}}</noinclude>
c6f744f74e76dd747507c5138847c259bc299b06
Template:Str left
10
379
744
2017-06-28T14:18:31Z
Jacques Ducloy
1
Created page with "<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </n..."
wikitext
text/x-wiki
<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
2048b0d7b35e156528655b1d090e8b5ffab3f400
Template:Delink
10
370
726
2017-06-28T14:40:29Z
Jacques Ducloy
1
Created page with "{{<includeonly>safesubst:</includeonly>#invoke:delink|delink}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noincl..."
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:delink|delink}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
ccf86b4255142fffb206ab8240f36ed22e029d6a
Module:Delink
828
371
728
2017-06-28T14:42:00Z
Jacques Ducloy
1
Created page with "-- This module de-links most wikitext. require('Module:No globals') local p = {} local getArgs local function delinkReversePipeTrick(s) if s:match("^%[%[|.*[|\n]") the..."
Scribunto
text/plain
-- This module de-links most wikitext.
require('Module:No globals')
local p = {}
local getArgs
local function delinkReversePipeTrick(s)
if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes.
return s
else
return s:match("%[%[|(.*)%]%]")
end
end
local function delinkPipeTrick(s)
local linkarea, display = "", ""
-- We need to deal with colons, brackets, and commas, per [[Help:Pipe trick]].
-- First, remove the text before the first colon, if any.
if s:match(":") then
s = s:match("%[%[.-:(.*)|%]%]")
-- If there are no colons, grab all of the text apart from the square brackets and the pipe.
else
s = s:match("%[%[(.*)|%]%]")
end
-- Next up, brackets and commas.
if s:match("%(.-%)$") then -- Brackets trump commas.
s = s:match("(.-) ?%(.-%)$")
elseif s:match(",") then -- If there are no brackets, display only the text before the first comma.
s = s:match("(.-),.*$")
end
return s
end
local function delinkWikilink(s)
local result = s
-- Deal with the reverse pipe trick.
if result:match("%[%[|") then
return delinkReversePipeTrick(result)
end
result = mw.uri.decode(result, "PATH") -- decode percent-encoded entities. Leave underscores and plus signs.
result = mw.text.decode(result, true) -- decode HTML entities.
-- Check for bad titles. To do this we need to find the
-- title area of the link, i.e. the part before any pipes.
local titlearea
if result:match("|") then -- Find if we're dealing with a piped link.
titlearea = result:match("^%[%[(.-)|.*%]%]")
else
titlearea = result:match("^%[%[(.-)%]%]")
end
-- Check for bad characters.
if mw.ustring.match(titlearea, "[%[%]<>{}%%%c\n]") then
return s
end
-- Check for categories, interwikis, and files.
local colonprefix = result:match("%[%[(.-):.*%]%]") or "" -- Get the text before the first colon.
local ns = mw.site.namespaces[colonprefix] -- see if this is a known namespace
if mw.language.isKnownLanguageTag(colonprefix)
or ( ns and ( ns.canonicalName == "File" or ns.canonicalName == "Category" ) ) then
return ""
end
-- Remove the colon if the link is using the [[Help:Colon trick]].
if result:match("%[%[:") then
result = "[[" .. result:match("%[%[:(.*%]%])")
end
-- Deal with links using the [[Help:Pipe trick]].
if mw.ustring.match(result, "^%[%[[^|]*|%]%]") then
return delinkPipeTrick(result)
end
-- Find the display area of the wikilink
if result:match("|") then -- Find if we're dealing with a piped link.
result = result:match("^%[%[.-|(.+)%]%]")
-- Remove new lines from the display of multiline piped links,
-- where the pipe is before the first new line.
result = result:gsub("\n", "")
else
result = result:match("^%[%[(.-)%]%]")
end
return result
end
local function delinkURL(s)
-- Assume we have already delinked internal wikilinks, and that
-- we have been passed some text between two square brackets [foo].
-- If the text contains a line break it is not formatted as a URL, regardless of other content.
if s:match("\n") then
return s
end
-- Check if the text has a valid URL prefix and at least one valid URL character.
local valid_url_prefixes = {"//", "http://", "https://", "ftp://", "gopher://", "mailto:", "news:", "irc://"}
local url_prefix
for i,v in ipairs(valid_url_prefixes) do
if mw.ustring.match(s, '^%[' .. v ..'[^"%s].*%]' ) then
url_prefix = v
break
end
end
-- Get display text
if not url_prefix then
return s
end
s = s:match("^%[" .. url_prefix .. "(.*)%]") -- Grab all of the text after the URL prefix and before the final square bracket.
s = s:match('^.-(["<> ].*)') or "" -- Grab all of the text after the first URL separator character ("<> ).
s = mw.ustring.match(s, "^%s*(%S.*)$") or "" -- If the separating character was a space, trim it off.
local s_decoded = mw.text.decode(s, true)
if mw.ustring.match(s_decoded, "%c") then
return s
else
return s_decoded
end
end
local function delinkLinkClass(s, pattern, delinkFunction)
if not type(s) == "string" then
error("Attempt to de-link non-string input.", 2)
end
if not ( type(pattern) == "string" and mw.ustring.sub(pattern, 1, 1) == "^" ) then
error('Invalid pattern detected. Patterns must begin with "^".', 2)
end
-- Iterate over the text string, and replace any matched text. using the
-- delink function. We need to iterate character by character rather
-- than just use gsub, otherwise nested links aren't detected properly.
local result = ""
while s ~= '' do
-- Replace text using one iteration of gsub.
s = mw.ustring.gsub(s, pattern, delinkFunction, 1)
-- Append the left-most character to the result string.
result = result .. mw.ustring.sub(s, 1, 1)
s = mw.ustring.sub(s, 2, -1)
end
return result
end
function p._delink(args)
local text = args[1] or ""
if args.refs == "yes" then
-- Remove any [[Help:Strip markers]] representing ref tags. In most situations
-- this is not a good idea - only use it if you know what you are doing!
text = mw.ustring.gsub(text, "UNIQ%w*%-ref%-%d*%-QINU", "")
end
if not (args.comments == "no") then
text = text:gsub("<!%-%-.-%-%->", "") -- Remove html comments.
end
if not (args.wikilinks == "no") then
text = delinkLinkClass(text, "^%[%[.-%]%]", delinkWikilink) -- De-link wikilinks.
end
if not (args.urls == "no") then
text = delinkLinkClass(text, "^%[.-%]", delinkURL) -- De-link URLs.
end
if not (args.whitespace == "no") then
-- Replace single new lines with a single space, but leave double new lines
-- and new lines only containing spaces or tabs before a second new line.
text = mw.ustring.gsub(text, "([^\n \t][ \t]*)\n([ \t]*[^\n \t])", "%1 %2")
text = text:gsub("[ \t]+", " ") -- Remove extra tabs and spaces.
end
return text
end
function p.delink(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return p._delink(getArgs(frame, {wrappers = 'Template:Delink'}))
end
return p
54628ddb50ed2753468f758fe0b69c043c744c0f
Template:Template doc
10
374
734
2017-06-28T14:45:48Z
Jacques Ducloy
1
Redirected page to [[Template:Documentation]]
wikitext
text/x-wiki
#REDIRECT [[Template:Documentation]]
42f6a7b19e5c3f7b2cf63e7b21f4401a495a2975
Template:Taxobox colour/doc
10
366
718
2017-06-28T14:47:39Z
Jacques Ducloy
1
Created page with "{{Documentation subpage}} {{High-risk|340000+}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]])..."
wikitext
text/x-wiki
{{Documentation subpage}}
{{High-risk|340000+}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<strong>Note to template editors</strong>: Edits to the taxonomic terms (taxa) in this template depend for their effect in manual taxoboxes on the colour-determining taxon being at a rank allowed to change the taxobox colour by {{tl|Taxobox}}, so this may need altering. Colours must be defined using the rgb(..,..,..) format to enable {{tl|Sets taxobox colour}} to work correctly.
== Function ==
This template generates the appropriate colour for a taxobox.
It should only be used by other taxobox templates.
=== Use by taxonomy templates ===
Manual taxoboxes call this template from {{tl|Taxobox}}, which looks at the values of ranks given in the taxobox from phylum upwards and uses the taxobox colour for the first colour-setting taxon found (or the error colour if none is found). {{tl|Sets taxobox colour}} is used to decide whether a taxon is colour-setting, which it does by using this template.
Automated taxoboxes use a function in [[Module:Autotaxobox]], which finds a colour-setting taxon by searching up the taxonomic hierarchy coded in taxonomy templates (i.e. templates with names of the form "Taxonomy/''taxon-name''").
=== Setting colour within a taxobox ===
Both manual and automatic taxoboxes usually generate their colours automatically. If this fails, or if for some reason the automatically generated colour should be over-ridden, {{para|color_as}} can be used to set the colour based on a supplied taxon. Thus:
<pre>| color_as = Animalia
</pre>
within a taxobox forces its colour to be the one appropriate for animal taxoboxes. The taxon given as the value of {{para|color_as}} must be in the switch statement in this template. Thus {{para|color_as|Felis}} fails and assigns the error colour.
==Taxobox colour scheme==
{{Taxobox colour scheme}}
== Tracking categories ==
* {{clc|Taxoboxes with the error color}}
* {{clc|Taxoboxes with no color}}
== Supporting templates ==
* [[Template:Sets taxobox colour]]
* [[Template:Taxobox/Error colour]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Taxobox templates]]
[[Category:Template implementation details]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
c7ed8eb4c7a6755c79121732c77670b5b54db99d
Template:Sets taxobox colour
10
369
724
2017-06-28T14:50:48Z
Jacques Ducloy
1
Created page with "<includeonly>{{#ifeq:{{padleft:|1|{{Taxobox colour|{{{1|}}}}}}}|r |{{#ifexpr:{{str find0|{{{1|}}}|incertae}}=-1|{{{1|}}}{{{sep|,}}}}} }}</includeonly><noinclude> {{Template do..."
wikitext
text/x-wiki
<includeonly>{{#ifeq:{{padleft:|1|{{Taxobox colour|{{{1|}}}}}}}|r
|{{#ifexpr:{{str find0|{{{1|}}}|incertae}}=-1|{{{1|}}}{{{sep|,}}}}}
}}</includeonly><noinclude>
{{Template documentation}}
</noinclude>
a924cc1474f29992b8377c6a4a5ddcf260befbe6
Template:Taxobox colour scheme
10
365
716
2017-06-28T14:52:56Z
Jacques Ducloy
1
Created page with "{| class="wikitable" |- ! style="background:{{Taxobox colour|[[Virus]]}}" | [[Virus]]es || {{Taxobox colour|[[Virus]]}} |also [[Viroid]]s |- ! style="background:{{Taxobox colo..."
wikitext
text/x-wiki
{| class="wikitable"
|-
! style="background:{{Taxobox colour|[[Virus]]}}" | [[Virus]]es || {{Taxobox colour|[[Virus]]}}
|also [[Viroid]]s
|-
! style="background:{{Taxobox colour|[[Bacteria]]}}" | [[Bacteria]] || {{Taxobox colour|[[Bacteria]]}}
|-
! style="background:{{Taxobox colour|[[Archaea]]}}" | [[Archaea]] || {{Taxobox colour|[[Archaea]]}}
|also [[Nanoarchaeota]] (Nanarchaeota), [[Korarchaeota]], [[Thaumarchaeota]], [[Crenarchaeota]] and [[Euryarchaeota]]
|-
! style="background:{{Taxobox colour|Eukaryota}}" | [[Eukaryote|Eukaryota]] || {{Taxobox colour|Eukaryota}}
|For eukaryotes with no other colour defined
|-
! style="background:{{Taxobox colour|[[Opisthokonta]]}}" | [[Opisthokont|Opisthokonta]] || {{Taxobox colour|[[Opisthokonta]]}}
|For opisthokonts with no other colour defined
|-
! style="background:{{Taxobox colour|[[Animal]]ia}}" | [[Animal]]ia || {{Taxobox colour|[[Animal]]ia}}
|-
! style="background:{{Taxobox colour|[[Fungi]]}}" | [[Fungus|Fungi]] || {{Taxobox colour|[[Fungus|Fungi]]}}
|-
! style="background:{{Taxobox colour|[[Archaeplastida]]}}" | [[Archaeplastida]] || {{Taxobox colour|[[Archaeplastida]]}}
|also [[Plant]]ae and [[Viridiplantae]]
|-
! style="background:{{Taxobox colour|[[SAR supergroup|SAR]]}}" | [[SAR supergroup|SAR]] || {{Taxobox colour|[[SAR supergroup|SAR]]}}
|also [[Chromalveolata]]
|-
! style="background:{{Taxobox colour|[[Excavata]]}}" | [[Excavata]] || {{Taxobox colour|[[Excavata]]}}
|also [[Protist|Protista]]
|-
! style="background:{{Taxobox colour|[[Amoebozoa]]}}" | [[Amoebozoa]] || {{Taxobox colour|[[Amoebozoa]]}}
|-
! style="background:{{Taxobox colour|''[[incertae sedis]]''}}" | ''[[incertae sedis]]'' || {{Taxobox colour|''[[incertae sedis]]''}}
|-
| colspan=2 | Colours not produced by this template:
|-
! style='background:rgb(215,240,210)' | [[Template:Ichnobox|Ichnotaxa]] || rgb(215,240,210)
|-
! style='background:rgb(250,250,220)' | [[Template:Oobox|Ootaxa]] || rgb(250,250,220)
|}<noinclude>
[[Category:Taxobox templates]]
</noinclude>
1c33d3d49543802a62d44d81707235667cfb1c67
Template:Taxobox/species
10
364
714
2017-06-28T14:58:57Z
Jacques Ducloy
1
Created page with "{{#if:{{{2|}}}| ! colspan = 2 {{!}} <div style = "text-align: center">[[Conservation status]]</div> {{!}}- {{!}} colspan = 2 {{!}} <div style = "text-align: center">{{#if:{{{1..."
wikitext
text/x-wiki
{{#if:{{{2|}}}|
! colspan = 2 {{!}} <div style = "text-align: center">[[Conservation status]]</div>
{{!}}-
{{!}} colspan = 2 {{!}} <div style = "text-align: center">{{#if:{{{1|}}}|{{#switch:{{{1}}}<!--
*************
* IUCN2.3 *
*************
--> | iucn2.3
| IUCN2.3 = {{#switch:{{{2}}}
| EX
| ex = [[file:Status iucn2.3 EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List extinct species]] | }}
| EW
| ew = [[file:Status iucn2.3 EW.svg|frameless|link=|alt=]]<br />[[Extinct in the Wild]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List extinct in the wild species]] | }}
| CR
| cr = [[file:Status iucn2.3 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered species|Critically Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] | }}
| EN
| en = [[file:Status iucn2.3 EN.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List endangered species]] | }}
| VU
| vu = [[file:Status iucn2.3 VU.svg|frameless|link=|alt=]]<br />[[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List vulnerable species]] | }}
| LR
| lr = [[file:Status iucn2.3 blank.svg|link=|alt=]]<br />Lower risk {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]] | }}
| CD
| cd
| LR/CD
| lr/CD
| LR/cd
| lr/cd = [[file:Status iucn2.3 CD.svg|frameless|link=|alt=]]<br />[[Conservation Dependent]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List conservation dependent species]] | }}
| NT
| nt
| LR/NT
| lr/NT
| LR/nt
| lr/nt = [[file:Status iucn2.3 NT.svg|frameless|link=|alt=]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List near threatened species]] | }}
| LC
| lc
| LR/LC
| lr/LC
| LR/lc
| lr/lc = [[file:Status iucn2.3 LC.svg|frameless|link=|alt=]]<br />[[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List least concern species]] | }}
| DD
| dd = [[file:Status iucn2.3 blank.svg|frameless|link=|alt=]]<br />[[Data Deficient]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List data deficient species]] | }}
| NE
| ne = ''Not evaluated''
| NR
| nr = ''Not recognized''
| PE
| pe = [[file:Status iucn2.3 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] |}}
| PEW
| pew = [[file:Status iucn2.3 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct in the wild {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] | }}
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]] | }}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[IUCN Red List|IUCN 2.3]]}}){{{3|}}}</small></div><!--
*************
* IUCN3.1 *
*************
-->| iucn
| IUCN
| iucn3.1
| IUCN3.1 = {{#switch:{{{2}}}
| EX
| ex = [[file:Status iucn3.1 EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List extinct species]] | }}
| EW
| ew = [[file:Status iucn3.1 EW.svg|frameless|link=|alt=]]<br />[[Extinct in the Wild]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List extinct in the wild species]] | }}
| CR
| cr = [[file:Status iucn3.1 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered species|Critically Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] |}}
| EN
| en = [[file:Status iucn3.1 EN.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List endangered species]] | }}
| VU
| vu = [[file:Status iucn3.1 VU.svg|frameless|link=|alt=]]<br />[[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List vulnerable species]] |}}
| NT
| nt = [[file:Status iucn3.1 NT.svg|frameless|link=|alt=]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List near threatened species]] | }}
| LC
| lc = [[file:Status iucn3.1 LC.svg|frameless|link=|alt=]]<br />[[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List least concern species]] |}}
| DD
| dd = [[file:Status iucn3.1 blank.svg|frameless|link=|alt=]]<br/>[[Data Deficient]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List data deficient species]] |}}
| NE
| ne = ''Not evaluated''
| NR
| nr = ''Not recognized''
| PE
| pe = [[file:Status iucn3.1 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] |}}
| PEW
| pew = [[file:Status iucn3.1 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct in the wild {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]]|}}
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[IUCN Red List|IUCN 3.1]]}}){{{3|}}}</small></div><!--
*************
* EPBC *
*************
-->| epbc
| EPBC = {{#switch:{{{2}}}
| EX
| ex = [[file:Status EPBC EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act extinct biota]] |}}
| EW
| ew = [[file:Status EPBC EW.svg|frameless|link=|alt=]]<br />[[Extinct in the Wild]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act extinct in the wild biota]]|}}
| CR
| cr = [[file:Status EPBC CR.svg|frameless|link=|alt=]]<br />[[Critically endangered species|Critically endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act critically endangered biota]] |}}
| EN
| en = [[file:Status EPBC EN.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act endangered biota]]|}}
| VU
| vu = [[file:Status EPBC VU.svg|frameless|link=|alt=]]<br />[[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act vulnerable biota]] |}}
| CD
| cd = [[file:Status EPBC CD.svg|frameless|link=|alt=]]<br />[[Conservation Dependent]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act conservation dependent biota]] |}}
| DL
| dl
| Delisted = [[file:Status EPBC DL.svg|frameless|link=|alt=]]<br />Delisted
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Environment Protection and Biodiversity Conservation Act 1999|EPBC Act]]}}){{{3|}}}</small></div><!--
*************
* TNC *
*************
-->| tnc
| TNC
| natureserve
| NatureServe = {{#switch:{{{2}}}
| GX
| gx = [[file:Status TNC GX.svg|frameless|link=|alt=]]<br />Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe presumed extinct species]]|}}
| GH
| gh = [[file:Status TNC GH.svg|frameless|link=|alt=]]<br />Possibly [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe possibly extinct species]]|}}
| G1
| g1 = [[file:Status TNC G1.svg|frameless|link=|alt=]]<br />Critically Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe critically imperiled species]] |}}
| G2
| g2 = [[file:Status TNC G2.svg|frameless|link=|alt=]]<br />Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe imperiled species]] |}}
| G3
| g3 = [[file:Status TNC G3.svg|frameless|link=|alt=]]<br />Vulnerable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe vulnerable species]] |}}
| G4
| g4 = [[file:Status TNC G4.svg|frameless|link=|alt=]]<br />Apparently Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe apparently secure species]] |}}
| G5
| g5 = [[file:Status TNC G5.svg|frameless|link=|alt=]]<br />Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe secure species]]|}}
| GU
| gu = [[file:Status TNC blank.svg|frameless|link=|alt=]]<br />Unrankable
| TX
| tx = [[file:Status TNC TX.svg|frameless|link=|alt=]]<br />Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe presumed extinct species]]|}}
| TH
| th = [[file:Status TNC TH.svg|frameless|link=|alt=]]<br />Possibly [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe possibly extinct species]]|}}
| T1
| t1 = [[file:Status TNC T1.svg|frameless|link=|alt=]]<br />Critically Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe critically imperiled species]]|}}
| T2
| t2 = [[file:Status TNC T2.svg|frameless|link=|alt=]]<br />Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe imperiled species]] |}}
| T3
| t3 = [[file:Status TNC T3.svg|frameless|link=|alt=]]<br />Vulnerable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe vulnerable species]]|}}
| T4
| t4 = [[file:Status TNC T4.svg|frameless|link=|alt=]]<br />Apparently Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe apparently secure species]]|}}
| T5
| t5 = [[file:Status TNC T5.svg|frameless|link=|alt=]]<br />Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe secure species]] |}}
| TU
| tu = [[file:Status TNC T blank.svg|frameless|link=|alt=]]<br />Unrankable
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[NatureServe conservation status|NatureServe]]}}){{{3|}}}</small></div><!--
*************
* ESA *
*************
-->| esa
| ESA = {{#switch:{{{2}}}
| EX
| ex = [[file:Status ESA EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| E
| e
| LE
| le = [[file:Status ESA LE.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]]
| T
| t
| LT
| lt = [[file:Status ESA LT.svg|frameless|link=|alt=]]<br />[[Threatened species|Threatened]]
| DL
| dl
| Delisted = [[file:Status ESA DL.svg|frameless|link=|alt=]]<br />Delisted
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Endangered Species Act|ESA]]}}){{{3|}}}</small></div><!--
*************
* COSEWIC *
*************
-->| cosewic
| COSEWIC = {{#switch:{{{2}}}
| X
| x = [[file:Status COSEWIC X.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| XT
| xt = [[file:Status COSEWIC XT.svg|frameless|link=|alt=]]<br />Extirpated (Canada)
| E
| e = [[file:Status COSEWIC E.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]]
| T
| t = [[file:Status COSEWIC T.svg|frameless|link=|alt=]]<br />[[Threatened species|Threatened]]
| SC
| sc = [[file:Status COSEWIC SC.svg|frameless|link=|alt=]]<br />Special Concern
| NAR
| nar = [[file:Status COSEWIC NAR.svg|frameless|link=|alt=]]<br />[[Least Concern|Not at risk]]
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Committee on the Status of Endangered Wildlife in Canada|COSEWIC]]}}){{{3|}}}</small></div><!--
*************
* DECF *
*************
-->| decf
| DECF = {{#switch:{{{2}}}
| X
| x = [[file:Status DECF X.svg|frameless|link=|alt=]]<br />Declared Rare — Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| R
| r = [[file:Status DECF R.svg|frameless|link=|alt=]]<br />Declared [[Rare species|rare]]
| P1
| p1 = [[file:Status DECF P1.svg|frameless|link=|alt=]]<br />Priority One — Poorly Known Taxa
| P2
| p2 = [[file:Status DECF P2.svg|frameless|link=|alt=]]<br />Priority Two — Poorly Known Taxa
| P3
| p3 = [[file:Status DECF P3.svg|frameless|link=|alt=]]<br />Priority Three — Poorly Known Taxa
| P4
| p4 = [[file:Status DECF P4.svg|frameless|link=|alt=]]<br />Priority Four — Rare Taxa
| DL
| dl
| Delisted = [[file:Status DECF DL.svg|frameless|link=|alt=]]<br />Delisted
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Declared Rare and Priority Flora List|DEC]]}}){{{3|}}}</small></div><!--
*************
* QLDNCA *
*************
-->| qldnca
| QLDNCA = {{#switch:{{{2}}}
| EW
| ew = [[Extinct in the Wild]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act extinct in the wild biota]]|}}
| EN
| en = [[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act endangered biota]]|}}
| VU
| vu = [[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act vulnerable biota]]|}}
| R
| r = Rare {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act rare biota]]|}}
| NT
| nt = [[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act near threatened biota]]|}}
| LC
| lc = [[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act least concern biota]]|}}
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Nature Conservation Act 1992|NCA]]}}){{{3|}}}</small></div><!--
*************
* CITES *
*************
-->| CITES
| cites = {{#switch:{{{2}}}
| CITES_A1 = [[CITES]] Appendix I
| CITES_A2 = [[CITES]] Appendix II
| CITES_A3 = [[CITES]] Appendix III
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[CITES]]}}){{{3|}}}</small></div><!--
*************
* NZTCS *
*************
-->| nztcs
| NZTCS = {{#switch:{{{2}}}
| EX
| ex = [[file:Status NZTCS EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| NC
| nc = [[file:Status NZTCS NC.svg|frameless|link=|alt=]]<br />Nationally Critical
| NE
| ne = [[file:Status NZTCS NE.svg|frameless|link=|alt=]]<br />Nationally Endangered
| NV
| nv = [[file:Status NZTCS NV.svg|frameless|link=|alt=]]<br />Nationally Vulnerable
| SD
| sd = [[file:Status NZTCS SD.svg|frameless|link=|alt=]]<br />Serious Decline
| GD
| gd = [[file:Status NZTCS GD.svg|frameless|link=|alt=]]<br />Gradual Decline
| SP
| sp = [[file:Status NZTCS SP.svg|frameless|link=|alt=]]<br />Sparse
| RR
| rr = [[file:Status NZTCS RR.svg|frameless|link=|alt=]]<br />Range Restricted
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[New Zealand Threat Classification System|NZ TCS]]}}){{{3|}}}</small></div><!--
********************
* No status system *
********************
-->| {{#switch:{{{2}}}
| EX
| ex = [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| CR
| cr = [[Critically endangered species|Critically Endangered]]
| EN
| en = [[Endangered species|Endangered]]
| {{{2}}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|{{{1}}}}}){{{3|}}}</small> {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes with an unrecognised status system]]|}}
}}
| {{#switch:{{{2}}}
| EX
| ex = [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| EW
| ew = [[Extinction|Extinct]] in the wild {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Species extinct in the wild]][[Category:Taxoboxes needing a status system parameter]]|}}
| CR
| cr = [[Critically endangered species|Critically endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Critically endangered species]][[Category:Taxoboxes needing a status system parameter]]|}}
| EN
| en = [[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Endangered species]][[Category:Taxoboxes needing a status system parameter]]|}}
| VU
| vu = [[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Vulnerable species]][[Category:Taxoboxes needing a status system parameter]]|}}
| NT
| nt = [[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Near Threatened species]][[Category:Taxoboxes needing a status system parameter]]|}}
| LC
| lc = [[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Least concern species]][[Category:Taxoboxes needing a status system parameter]]|}}
| SE
| se
| SECURE
| Secure
| secure = Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| DD
| dd = [[Data Deficient]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| DOM
| dom
| DOMESTICATED
| Domesticated
| domesticated = Domesticated {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Domesticated animals]]|}}
| PE
| pe = [[file:Status_none_PE.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Critically endangered species]][[Category:Taxoboxes needing a status system parameter]]|}}
| PEW
| pew = [[file:Status_none_PEW.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct in the wild {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Critically endangered species]][[Category:Taxoboxes needing a status system parameter]]|}}
| CITES_A1 = [[CITES]] Appendix I {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| CITES_A2 = [[CITES]] Appendix II {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| CITES_A3 = [[CITES]] Appendix III {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| FOSSIL
| Fossil
| fossil = Fossil
| PRE
| Pre
| pre = Prehistoric {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
| text
| Text
| TEXT = ''See text''
| LR/CD
| lr/CD
| LR/cd
| lr/cd = [[file:Status iucn2.3 CD.svg|frameless|link=|alt=]]<br />[[Conservation Dependent]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| LR/NT
| lr/NT
| LR/nt
| lr/nt = [[file:Status iucn2.3 NT.svg|frameless|link=|alt=]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Near Threatened species]][[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| LR/LC
| lr/LC
| LR/lc
| lr/lc = [[file:Status iucn2.3 LC.svg|frameless|link=|alt=]]<br />[[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Least Concern species]][[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| GX
| gx = [[file:Status TNC GX.svg|frameless|link=|alt=]]<br />Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| GH
| gh = [[file:Status TNC GH.svg|frameless|link=|alt=]]<br />Possibly [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G1
| g1 = [[file:Status TNC G1.svg|frameless|link=|alt=]]<br />Critically Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G2
| g2 = [[file:Status TNC G2.svg|frameless|link=|alt=]]<br />Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G3
| g3 = [[file:Status TNC G3.svg|frameless|link=|alt=]]<br />Vulnerable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G4
| g4 = [[file:Status TNC G4.svg|frameless|link=|alt=]]<br />Apparently Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G5
| g5 = [[file:Status TNC G5.svg|frameless|link=|alt=]]<br />Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| GU
| gu = [[file:Status TNC blank.svg|frameless|link=|alt=]]<br />Unrankable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| TX
| tx = [[file:Status TNC TX.svg|frameless|link=|alt=]]<br />Presumed [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}} {{#if:{{{extinct|}}}| ({{{extinct}}}) }}<!--This case is subject to deletion once status systems are added-->
| TH
| th = [[file:Status TNC TH.svg|frameless|link=|alt=]]<br />Possibly [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T1
| t1 = [[file:Status TNC T1.svg|frameless|link=|alt=]]<br />Critically Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T2
| t2 = [[file:Status TNC T2.svg|frameless|link=|alt=]]<br />Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T3
| t3 = [[file:Status TNC T3.svg|frameless|link=|alt=]]<br />Vulnerable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T4
| t4 = [[file:Status TNC T4.svg|frameless|link=|alt=]]<br />Apparently Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T5
| t5 = [[file:Status TNC T5.svg|frameless|link=|alt=]]<br />Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| TU
| tu = [[file:Status TNC T blank.svg|frameless|link=|alt=]]<br />Unrankable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| R
| r = [[file:Status DECF R.svg|frameless|link=|alt=]]<br />Declared [[Rare species|rare]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| P1
| p1 = [[file:Status DECF P1.svg|frameless|link=|alt=]]<br />[[Conservation Codes for Western Australian Flora|Priority One]] — Poorly Known Taxa {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| P2
| p2 = [[file:Status DECF P2.svg|frameless|link=|alt=]]<br />[[Conservation Codes for Western Australian Flora|Priority Two]] — Poorly Known Taxa {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| P3
| p3 = [[file:Status DECF P3.svg|frameless|link=|alt=]]<br />[[Conservation Codes for Western Australian Flora|Priority Three]] — Poorly Known Taxa {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| P4
| p4 = [[file:Status DECF P4.svg|frameless|link=|alt=]]<br />[[Conservation Codes for Western Australian Flora|Priority Four]] — Rare Taxa {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| {{{2}}}
}}<small>{{{3|}}}</small></div>
}}
}}<noinclude>{{documentation}}</noinclude>
a1e79cb08f5cc5fa50ef7d49ec9c39c90cf60205
Template:Taxobox/doc
10
361
708
2017-06-28T15:02:29Z
Jacques Ducloy
1
Created page with "{{redirect|WP:TX|the WikiProject on the American state of Texas|Wikipedia:WikiProject Texas}} {{documentation subpage}} {{High-risk|298400}} {{style-guideline|WP:TX|WP:TAXO|WP..."
wikitext
text/x-wiki
{{redirect|WP:TX|the WikiProject on the American state of Texas|Wikipedia:WikiProject Texas}}
{{documentation subpage}}
{{High-risk|298400}}
{{style-guideline|WP:TX|WP:TAXO|WP:TAXOBOX}}
{{esoteric}}
This template sets up a '''manual taxobox''', as a right-side [[wp:infobox|infobox]] table setting out the [[biological classification]] ([[taxonomy (biology)|taxonomy]]) for a group of living things. For guide to '''automated taxoboxes''', see [[WP:Automated taxobox system/intro]].
Although with a choice of over 160 parameters, the implementation is complicated, it is relatively simple to use. <!--For an example in practice, look at the edit page of "[[Killer whale]]" – [{{fullurl:Killer whale|action=edit}}].--> Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out. See below section "[[#All parameters|All parameters]]" for a complete list.
This guide has come out of [[Wikipedia:WikiProject Tree of Life|WikiProject Tree of life]].
=== Usage ===
'''''Note that parameters in this template are case-sensitive.'''''
<pre style="overflow:auto">
{{Taxobox
| name =
| image =
| image_upright =
| image_alt =
| image_caption =
| image2 =
| image2_upright =
| image2_alt =
| image2_caption =
| regnum = [[Plantae]] (or...)
| divisio =
| classis =
| ordo =
| familia =
| genus =
| species =
| binomial =
| binomial_authority =
| range_map = <!--optional map - also range map2, 3 or 4 -->
| range_map_upright =
| range map_alt =
| range_map_caption =
| <!--or 115 other parameters-->
}}
</pre>
Colors are automatically assigned based on the table below.
{{Taxobox colour scheme}}
=== Quick start and examples ===
==== Animals ====
===== Animal species =====
{{Taxobox
| name = Asian golden cat
| image = Catopuma temminckii.jpg
| image_alt = Orange cat sitting with head up and eyes almost closed.
| image_upright = 1.15
| regnum = [[Animalia]]
| phylum = [[Chordata]]
| classis = [[Mammalia]]
| ordo = [[Carnivora]]
| familia = [[Felidae]]
| genus = ''[[Catopuma]]''
| species = '''''C. temminckii'''''
| binomial = ''Catopuma temminckii''
| binomial_authority = ([[Nicholas Aylward Vigors|Vigors]] & [[Thomas Horsfield|Horsfield]], 1827)
}}
<pre style="overflow:auto">
{{Taxobox
| name =
| image =
| image_alt =
| image_caption =
| regnum = [[Animalia]]
| phylum =
| classis =
| ordo =
| familia =
| genus =
| species =
| binomial =
| binomial_authority =
}}
</pre>
{{clear}}
===== Animal higher taxon =====
{{Taxobox
| name = Rorquals
| image = Humpback Whale underwater shot.jpg
| image_alt = Underwater humpback whale diving, with front flipper extended.
| image_caption = [[Humpback whale]], ''Megaptera novaeangliae''
| regnum = [[Animalia]]
| phylum = [[Chordata]]
| classis = [[Mammalia]]
| ordo = [[Cetacea]]
| subordo = [[Mysticeti]]
| familia = '''Balaenopteridae'''
| familia_authority = [[John Edward Gray|Gray]], 1864
| subdivision_ranks = Genera
| subdivision =
''[[Balaenoptera]]''<br />
''[[Megaptera]]''
}}
<pre style="overflow:auto">
{{Taxobox
| regnum = [[Animalia]]
| phylum =
| classis =
| ordo =
| familia =
| genus =
| genus_authority =
| subdivision_ranks =
| subdivision =
}}
</pre>
{{clear}}
==== Plants ====
The majority of plants are angiosperms ("flowering plants"). [[Wikipedia:WikiProject Plants]] consensus is to use the Angiosperm Phylogeny Group's [[APG III]] classification system for angiosperms. The APG III system does not have formally named divisions or classes, but includes several hierarchically nested, informally named clades. The hierarchy of informally named clades is presented by using parameters such as {{para|unranked divisio}} in place of formal rank parameters. Articles on non-flowering plants (e.g. [[conifer]]s, [[fern]]s) should continue to use formal divisions and classes in the Taxobox.
===== Flowering plant species =====
{{Taxobox
| name = ''Magnolia virginiana''
| image = Sweetbay1082.jpg
| image_alt = White flower surrounded by long green leaves.
| image_caption = ''Magnolia virginiana''
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis = [[Magnoliids]]
| ordo = [[Magnoliales]]
| familia = [[Magnoliaceae]]
| genus = ''[[Magnolia]]''
| species = '''''M. virginiana'''''
| binomial = ''Magnolia virginiana''
| binomial_authority = [[Carl Linnaeus|L.]]
}}
<pre style="overflow:auto">
{{Taxobox
| name =
| image =
| image_alt =
| image_caption =
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis =
| unranked_ordo =
| ordo =
| familia =
| genus =
| species =
| binomial =
| binomial_authority =
}}
</pre>
{{clear}}
===== Flowering plant higher taxon =====
{{Taxobox
| name = Oaks
| image = Quercus robur.jpg
| image_alt = Cluster of oak leaves and acorns.
| image_caption = Foliage and acorns of the [[pedunculate oak]], ''Quercus robur''
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis = [[Eudicots]]
| unranked_ordo = [[Rosids]]
| ordo = [[Fagales]]
| familia = [[Fagaceae]]
| genus = '''''Quercus'''''
| genus_authority = [[Carl Linnaeus|L.]]
| subdivision_ranks = [[Species]]
| subdivision =
See [[List of Quercus species|List of ''Quercus'' species]].
}}
<pre style="overflow:auto">
{{Taxobox
| image =
| image_alt =
| image_caption =
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis =
| unranked_ordo =
| ordo =
| familia =
| genus =
| genus_authority =
| subdivision_ranks =
| subdivision =
}}
</pre>
{{clear}}
=== Parameters ===
==== Name ====
{{See also|Wikipedia:Manual of Style#Animals, plants, and other organisms|Wikipedia:Naming conventions (flora)|Wikipedia:Naming conventions (fauna)}}
Provided under this parameter should be the single most common [[vernacular name]] when one is in widespread use, or a single current scientific name otherwise.
* Common names of higher taxa are always given in [[sentence case]] (rather than title case) and in the plural (e.g. [[marine hatchetfish]]es).
* Common names of species and subspecies are also to be given in sentence case but in the singular (e.g. [[black crowned crane]], [[Colorado potato beetle]]).
The ''name'' parameter should not be used to incorporate more than one name. It is only a header and not meant to be an inclusive "name'''s'''" field. One will suffice. Please assess the relevant literature in deciding which.
==== Color ====
The ''color'' is automatically assigned based on the entry for a number of ranks from {{para|phylum}} upwards (see [[Template:Taxobox]]); there is normally no need to specify it manually, although {{para|color_as}} can be used.
{{Taxobox colour scheme}}
==== Classification ====
As noted above, the classification section includes some or all of the following:
<pre style="overflow:auto">
| regnum =
| phylum =
| classis =
| ordo =
| familia =
| genus =
| species =
</pre>
Each entry corresponds to a containing group, except for the last, which should be the group under consideration. Note the entries use the ''Latin'' names for the ranks, to make porting between Wikipedias easier. Thus the above correspond to the kingdom, phylum, class, order, family, genus, and species.
{{Taxobox
| name = Red wood ant
| regnum = [[Animalia]]
| phylum = [[Arthropoda]]
| classis = [[Insecta]]
| ordo = [[Hymenoptera]]
| familia = [[Formicidae]]
| subfamilia = [[Formicinae]]
| tribus = [[Formicini]]
| genus = ''[[Formica]]''
| species = '''''F. rufa'''''
| binomial = ''Formica rufa''
| binomial_authority = [[Carl Linnaeus|Linnaeus]], 1761
}}
Taxoboxes should include all major ranks above the taxon described in the article, plus minor ranks that are important to understanding the classification of the taxon described in the article, or which are discussed in the article. Other minor ranks should be omitted.
For example, in the taxobox for the genus ''[[Formica]]'', it's appropriate to include entries for tribe and subfamily, since those are an aid to understanding how ''Formica'' relates to other genera in the family [[Formicidae]]. But it wouldn't be appropriate to include the superorder [[Endopterygota]], since all genera of ants are in that superorder; it isn't particularly interesting at this level.
Another example is the subfamily [[Bambusoideae]], the bamboos. This subfamily probably should be mentioned in the taxobox of every bamboo species, since it is a major grouping in this context, despite its minor rank.
Minor ranks are included in the same way as major ranks, for example:
<pre style="overflow:auto">
| classis = ...
| subclassis = ...
| superordo = ...
| ordo = ...
</pre>
Note that species and subspecies should be given using the abbreviated forms of their name — e.g. ''H. sapiens'', ''H. s. sapiens''. The epithets should not be given by themselves. The full form of the species or subspecies name is given in the binomial or trinomial section.
See [[#All parameters]] for a complete list.
===== Classification status =====
With the {{para|classification_status}} parameter, it is possible to introduce extra text within parentheses after "Scientific classification". For example, {{para|classification_status|disputed}} will produce "[[Taxonomy (biology)|Scientific classification]] (disputed)". See ''[[Veratalpa]]'' for a current example where this parameter is used. This parameter should only be used when the "Scientific classification" text would be misleading without it.
===== Divisions and sections =====
These ranks have different meanings in zoology and botany.
In botany:
* Use '''divisio''' for division (a rank above class and below kingdom)
* Use '''sectio''' for section (a rank above species and below genus)
Note: Certain very large genera, e.g. ''Rhododendron'' include subsections
In zoology:
* Use '''zoodivisio''' for division (a rank above family and below order)
* Use '''zoosectio''' for section (a rank above family and below order)
===== Unranked taxa =====
For each major taxon from family to phylum, you can add an unranked entry to the taxobox. The entry <tt>unranked_X</tt> appears above rank X, for example <tt>unranked_superfamilia</tt> appears above family and superfamily and below order, suborder, infraorder, etc.:
<pre style="overflow:auto">
| ordo =
| unranked_superfamilia =
| familia =
</pre>
For animals and non-flowering plants, use unranked taxa sparingly. The need to include unranked taxa generally indicates that you are following [[phylogenetic nomenclature]]. It is usually better to abbreviate the classification to the major ranks and then discuss the classification in more detail in the article.
====== Unranked taxa of flowering plants ======
[[Flowering plant]]s (angiosperms) make frequent use of unranked taxa. The [[APG III system]] of classification used for flowering plants on Wikipedia does not have formally named ranks above order - e.g. divisions, classes, subclasses - but includes several hierarchically nested, informally named and unranked clades. For flowering plants the taxobox should include {{para|unranked_divisio|[[Angiosperms]]}} in place of {{para|divisio}}, {{para|unranked_classis}} in place of {{para|classis}}, and possibly also {{para|unranked_subclassis}} in place of {{para|subclassis}}. Flowering plant taxoboxes may often include three to four informal hierarchical groups above the rank of order, making the use of {{para|unranked_ordo}} necessary, which sorts itself just above {{para|ordo}} where a formally named order is displayed. The unranked parameters only include ranks in their parameter names, such as "unranked '''divisio'''" to allow the editor to place content hierarchically; no approximation of rank is intended by the use of these parameter names. For flowering plant articles using the APG III system of classification, the regular parameters including {{para|divisio}}, {{para|classis}}, and {{para|subclassis}} should not be used or it will display between these unranked APG III clades.
To comply with [[#Classification]] above and its advice on the inclusion of major ranks, the following are considered major ranks in APG III and currently included in the appropriate flowering plant taxoboxes:
*[[Angiosperms]]
**[[Magnoliids]]
**[[Monocots]]
***[[Commelinids]]
**[[Eudicots]]
***[[Core eudicots]] (displayed as a major rank when the plant is not included further nested in rosids or asterids)
****[[Rosids]]
****[[Asterids]]
Note: The rosids contain two clades, the [[fabids]] (also known as [[eurosids I]]) and [[malvids]] (also known as [[eurosids II]]), and the asterids contain two further clades, the [[lamiids]] ([[euasterids I]]) and [[campanulids]] ([[euasterids II]]). These are considered to be minor ranks and are only to be displayed on the articles on orders or families they immediately contain.
A taxobox for a flowering plant will thus generally include the following parameters:
<pre style="overflow:auto">
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis =
| unranked_ordo =
| ordo =
</pre>
===== Viruses =====
Viruses follow a slightly different system. They are not placed in taxa above the rank of order, and instead are treated in seven groups based on the type of nucleic acid they contain, referred to by the Roman numerals i to vii. These can be included in the taxobox using the {{para|virus group}} parameter. This also changes the link from [[Biological classification|scientific]] to [[virus classification]], so it should not appear on boxes for non-viruses, even if it is left blank.
<pre style="overflow:auto">
| virus_group = iv
</pre>
==== Bold/italic markup ====
Italicization must be done manually in all parameters. If the entry for genus or species (with manually added italics) matches the page title,<ref group=note>If the page is called, for example, "Homo (genus)", then the taxobox will display "''Homo''" and the page title "''Homo'' (genus)".</ref> then the name of the taxobox ''and'' the title of the page will be italicized. Note that if the {{para|name}} parameter is used the page title will not be automatically italicized. The taxobox's name will be set to exactly what is specified in {{para|name}} – italics must be specified manually in this case.
Genus, species, and subspecies should be italicized whenever used, as is the biological standard. For instance, we talk about the genus ''Homo'', the species ''Homo sapiens'', and the subspecies ''Homo sapiens sapiens''.
* In botany, it is important to include the rank for taxa below species. The rank is not italicized, e.g. ''Genus species'' subsp. ''subspecies'' var. ''variety''.
* Some bacteria that have been characterized but not formally named are given ''[[Candidatus]]'' names. These should be written in the form ''[[Candidatus]]'' Genus species, rather than italicized normally.
Higher taxa like families may or may not be italicized in different publications. The prevalent standard for Wikipedia is not to italicize them, except in the case of [[virus]]es and other infectious particles.
Bolding is used to indicate the subject of the article. The {{para|name}}, {{para|binomial}}, and {{para|trinomial}} parameters bold automatically. In the placement section – {{para|regnum}} through {{para|species}} – the final taxon should be bolded, as well as any higher groups that only include the final taxon. See [[green sulfur bacteria]] for an example.
==== Subdivisions ====
{{Taxobox
| name = Nettle
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis = [[Eudicots]]
| unranked_ordo = [[Rosids]]
| ordo = [[Rosales]]
| familia = [[Urticaceae]]
| genus = '''''Urtica'''''
| genus_authority = [[Carolus Linnaeus|L.]]
| subdivision_ranks = Species
| subdivision = {{columns-list|2|
* ''U. angustifolia''
* ''U. ardens''
* ''U. atrichocaulis''
* ''U. atrovirens''
* ''U. cannabina''
* ''U. chamaedryoides''
* ''[[Urtica dioica|U. dioica]]''
* ''U. dubia''
* ''[[Urtica ferox|U. ferox]]''
* ''U. fissa''
* ''[[Urtica dioica galeopsifolia|U. galeopsifolia]]''
* ''U. gracilenta''
* ''U. hyperborea''
* ''[[Urtica incisa|U. incisa]]''
* ''U. kioviensis''
* ''U. laetivirens''
* ''U. linearifolia''
* ''U. mairei''
* ''U. membranacea''
* ''U. morifolia''
* ''U. parviflora''
* ''U. pilulifera''
* ''U. platyphylla''
* ''U. pubescens''
* ''U. rupestris''
* ''U. sondenii''
* ''U. taiwaniana''
* ''[[Urtica thunbergiana|U. thunbergiana]]''
* ''U. triangularisa''
* ''[[Urtica urens|U. urens]]''
}}
}}
Groups above the rank of species (and even species if there are several notable subspecies) should usually include a list of subgroups. Use the {{para|subdivision}} parameter for the list. The list can be formatted using a number of templates, such as the specialized {{tl|linked taxon list}} and {{tl|linked species list}}, which deal with authorities as well (see the documentation at [[Template:Taxon list]] for variant templates), or using a general list template such as {{tl|columns-list}}. Use the {{para|subdivision_ranks}} parameter to say what rank the subgroups have. For instance, for families in an order:
<pre style="overflow:auto">
| subdivision_ranks = Families
| subdivision =
{{linked taxon list
|Family1|Authority1
|Family2|Authority2
|Family3|Authority3
}}
</pre>
For lists with more than a few subgroups, the list can be bracketed with {{tl|div col}} and {{tl|div col end}}, which will split the list into two columns (''see '''Nettle''' example at right''). In cases where a list would make the taxobox too long, or where the classification is too variable to allow a brief summary, the list should be replaced with a comment like "See text" or the subdivision section should be omitted. As a [[rule of thumb]], when there are more than 100 subgroups the list should be in a separate article.
In cases where the classification is variable, a description like "Typical orders" or "Notable orders" may be used.
In cases where the ranks are uncertain, a description like "Subgroups" or "Taxa" may be preferable.
Sometimes it is convenient to represent more than one level of classification in the list. In that case the lower level groups are moved over to the right by prefixing them with &nbsp; characters – usually three for the first level of indentation, and then one to three more for each subsequent level. Major grades may also be represented by bolded headers, as on [[plant]] and [[heterokont]]. Remember, though, these should mainly be done when the intermediate rank subgroups are not worthy of separate articles; taxoboxes are too small to include too much duplicate information.
==== Conservation status ====
{{Main|Wikipedia:Conservation status}}
[[Conservation status]] may optionally be included; you can search the [[International Union for Conservation of Nature|IUCN]]'s [http://www.iucnredlist.org/ database of threatened species] to find the conservation status of many organisms. It is included via the {{para|status}} parameter, which takes a code or template. It is not appropriate for prehistoric organisms – the {{para|fossil_range}} parameter may be a more sensible option.
<pre style="overflow:auto;">
|status = code
|status_system = classification system (see below)) – required
|status_ref = <ref>...</ref> – optional
|extinct = year of extinction – optional (only use if |status=EX and year of extinction is known)
</pre>
Use the above syntax, choosing one of the status codes from the code list below. The ''code'' may be all upper or lower case, but the cases used in the table are preferred.
[[File:Status iucn3.1.svg|thumb|[[IUCN Red List]], ver. 3.1 (2001)]]
[[File:Status iucn2.3.svg|thumb|[[IUCN Red List]], ver. 2.3 (1994)]]
[[File:Status TNC.svg|thumb|[[NatureServe status]]]]
[[File:Status ESA.svg|thumb|U.S. [[Endangered Species Act]] (ESA)]]
[[File:Status COSEWIC.svg|thumb|Canada's [[COSEWIC]] [[Species at Risk Act]] (SARA)]]
[[File:Status EPBC.svg|thumb|Australia's [[EPBC Act]]]]
[[File:Status NZTCS.svg|thumb|New Zealand Threat Classification System]]
[[File:Status DECF.svg|thumb|Western Australia's [[Declared Rare and Priority Flora List]]]]
The following status codes are available (the third column shows the category that is automatically added to the article):
:{| class="wikitable"
! Status (as shown in taxobox) || Code || Category assigned
|-
| Secure || secure<ref name="invalid" group="IUCN" /> ||
|-
| Domesticated || DOM<ref name="invalid" group="IUCN" /> || [[:Category:Domesticated animals]]
|-
| Least Concern (LC) || LC ||
|-
| Least Concern (LR/lc) || LR/lc ||
|-
| [[Near Threatened]] (NT) || NT ||
|-
| [[Near Threatened]] (LC/nt) || LR/nt ||
|-
| [[Conservation Dependent]] (LR/cd) || LR/cd ||
|-
| [[Vulnerable species|Vulnerable]] (VU) || VU ||
|-
| [[Endangered species|Endangered]] (EN) || EN || [[:Category:Endangered species]]
|-
| [[Critically Endangered]] || CR || [[:Category:Critically endangered species]]
|-
| [[Critically Endangered]] (CR), possibly extinct || PE || Category:Critically endangered species
|-
| Extinct in the wild (EW) || EW || [[:Category:Species extinct in the wild]]
|-
| Extinct || EX ||
|-
| Data deficient (DD) || DD ||
|-
| ''Not evaluated'' (NE) || NE ||
|-
| Fossil || fossil<ref name="invalid" group="IUCN">This is not a valid IUCN Red List category</ref><ref name="fossil" group="IUCN">{{para|status|fossil}} is deprecated in favour of {{para|fossil_range}} {{tlx|fossil range}} (see the [[#Fossil range]] section below).</ref> ||
|-
| Prehistoric || pre<ref name="invalid" group="IUCN" /> ||
|-
| See text || See text<ref name="invalid" group="IUCN" /> ||
|-
| Lower Risk || <s>LR</s><ref name="invalid" group="IUCN" /><ref name="LR" group="IUCN">{{var|LR}} is deprecated; use {{var|LR/lc}} or {{var|LR/nt}} or {{var|LR/cd}} instead.</ref> ||
|}
;Notes:
{{Reflist|group=IUCN|close}}
===== System =====
{{Main|Wikipedia:Conservation status}}
The criteria used by the IUCN should also be specified:
<pre style="overflow:auto">
| status_system = IUCN3.1
or
| status_system = IUCN2.3 <!-- deprecated for new boxes, although some taxoboxes still exist and are supported for this version -->
</pre>
This parameter is '''required''' in order to display the proper conservation status graphic. Failure to use this parameter will result in no graphic appearing.
Other systems are listed at [[Wikipedia:Conservation status]].
===== Referencing conservation status =====
To add a reference for the status, use
{{para|status_ref|{{xtag|ref|p|content={{tl|IUCN2012.2|2=...}}}}}}
See {{tlx|IUCN2012.2}} or {{tlx|IUCN}} for the parameters you need to supply to that template. And don't forget that {{xtag|ref}} requires a corresponding {{xtag|references|s}} in the References section.
==== Fossil range ====
The stratigraphic range for groups known as fossils may also be included, using the {{para|fossil_range}} parameter. For instance, for a group known from the [[Cambrian]] to the [[Permian]]:
<pre style="overflow:auto">
|fossil_range = [[Cambrian]]–[[Permian]]
</pre>
You may wish to add a diagrammatic representation of the fossil range (as shown below), which can be created using the {{tl|Fossil range}} template, for example:
{{image frame|content={{fossil range|Cambrian|Permian}} }}
<pre style="overflow:auto">
| fossil_range = {{fossil range|Cambrian|Permian}}
</pre>
or
<pre style="overflow:auto">
| fossil_range = {{fossil range|542|250}} [[Cambrian]]–[[Permian]]
</pre>
For [[Extant taxon|extant]] taxa that continue into the present day, the ending period should be set to "Recent" or as "Holocene" for Late Quaternary extinctions such as the [[moa]], and the current status should be indicated using the {{para|status}} parameter.
For groups that only existed during a single period, simply list it without giving a range: e.g.:
{{image frame|content={{fossil range | Silurian}} }}
<pre style="overflow:auto">
| fossil_range = {{fossil range|Silurian}}
</pre>
==== Images ====
An image can be included using the parameter {{para|image}}. It is highly recommended that an image be provided if one is available. Do ''not'' include the "File:" part of the image file name!
If an image is included, [[alt text]] should be provided using parameter "{{para|image_alt}}". Alt text should not repeat the caption; instead, it should describe the image contents to someone who can't see it (see [[WP:ALT]]).
A caption can be provided using parameter "{{para|image_caption}}". A caption need not be provided if it would just repeat the title of the article. It should be provided if it can convey any additional information about the image, such as the sex or life stage of the individual, the location where the picture was taken, the artist (if an engraving or other illustration), or (for higher taxa) the particular species depicted.
<pre style="overflow:auto; font-size:80%">
| image = Sweetbay1082.jpg
| image_alt = White flower surrounded by long green leaves
| image_caption = ''Magnolia virginiana''
</pre>
By default, the image width is determined by each user's default thumbnail size preference. In general, it is recommended that these preferences be honoured. In some cases, however, it may be desirable to overrule the default size; this can be achieved by use of the {{para|image_upright}} parameter, which scales the image. Thus {{para|image_upright|1.1}} makes the image 10% larger than the user's default thumbnail size; {{para|image_upright|0.75}} makes it 25% smaller. See [[MOS:IMGSIZE]] for more information.
<pre style="overflow:auto; font-size:80%">
| image = Sweetbay1082.jpg
| image_alt = White flower surrounded by long green leaves
| image_caption = ''Magnolia virginiana''
| image_upright = 1.45
</pre>
Long or complex image captions, which should rarely be necessary, look better when left-aligned. This can be achieved using "{{para |image_caption_align|left}}".
A second image may be added by use of the {{para|image2}}, {{para|image2_alt}}, {{para|image2_caption}} and {{para|image2_upright}} parameters. Use this sparingly, and only when the article is long enough, ''and'' when it makes sense to include the second image inside the taxobox and not later in the article. [[Camel]] is a good example (a genus with two well-known representatives). A second image may also be useful for species that display [[sexual dimorphism]] so that both a male and female representative could be shown, e.g. [[Northern cardinal]].
==== Authorities ====
Generally, an authority should be given only for the taxa covered by the article. Higher groups which only include the article subject should also list authorities unless those are the same as for the taxa in question. In the case of species (or subspecies) the authority may be given in the ''binomial'' (or ''trinomial'') section. Otherwise authorities may be listed in the placement section. For instance, for an order:
<pre style="overflow:auto">
| ordo =
| ordo_authority =
</pre>
The following examples illustrate the different conventions for names, dates, and punctuations in the different kingdoms.
* Animalia
** Original name valid: '''''Homo sapiens''''' <small>[[Carl Linnaeus|Linnaeus]], 1758</small>
** Organism reclassified: '''''Panthera leo''''' <small>([[Carl Linnaeus|Linnaeus]], 1758)</small> (originally ''Felis leo'')
* Plantae
** Original name valid: '''''Magnolia virginiana''''' <small>[[Carl Linnaeus|L.]]</small>
** Organism reclassified: '''''Anacamptis pyramidalis''''' <small>([[Carl Linnaeus|L.]]) [[Louis Claude Richard|Rich.]]</small> (originally ''Orchis pyramidalis'')
* Bacteria
** Original name valid: '''''Vibrio cholerae''''' <small>[[Robert Koch|R. Koch]] 1883</small>
** Organism reclassified: '''''Streptococcus pneumoniae''''' <small>(Klein 1884) Chester 1901</small> (originally ''Micrococcus pneumoniae'')
** Old name revived: '''''Salmonella enterica''''' <small>(ex Kauffmann & Edwards 1952) Le Minor & Popoff 1987</small>
Authorities in scientific names are also abbreviated according to different standards for plants and animals. To decipher standard abbreviations, see
* [[List of botanists by author abbreviation]] or consult the [http://www.ipni.org/ International Plant Names Index].
* [[List of zoologists by author abbreviation]]
For more information refer to the article on [[binomial nomenclature]].
==== Diversity ====
In higher taxa, and taxa where the subdivision option does not indicate number of species, the {{para|diversity}} parameter may be used. This needs to be accompanied by {{para|diversity_link}} which links to an appropriate page, usually a ''List of ... species'' page. See, for example, ''[[Banksia]]'': the subdivision lists only two subgenera, so the {{para|diversity}} option is used to specify the number of species.
<pre style="overflow:auto; font-size:80%">
| diversity_link = List of Quercus species
| diversity = c. 120 species
</pre>
It is ''not'' a good idea to be too precise about the number of species. New species are still being regularly described in many groups. Moreover, changing systematic treatment is liable to alter the species number even in well-known genera. Rounding off the species number and denoting this as approximate value will help decreasing maintenance.
Use the {{para|diversity_ref}} parameter to give references for the number of species, for example:
<pre style="overflow:auto; font-size:80%">
| diversity_ref = <nowiki><ref></nowiki>Hershler and Longley, 1986, p. 127<nowiki></ref></nowiki>
</pre>
==== Range maps ====
A range map may be included at the end of the taxobox. This uses the {{para|range_map}}, {{para|range_map_upright}}, {{para|range_map_alt}}, and {{para|range_map_caption}} parameters, in the same manner as an image. Specifying range map width is unnecessary in most cases. See [[Leopard]] (land animal), [[Northern flicker]] (non-migratory bird), [[Lesser spotted eagle]] (migratory bird) and [[Killer whale]] (water animal) for examples.
<pre style="overflow:auto">
| range_map = Map.jpg
| range_map_upright = 1.1
| range_map_alt = Map showing ...
| range_map_caption = Range of ...
</pre>
Up to four range maps can be included, via additional parameters such as {{para|range_map2}}, {{para|range_map2_caption}}, etc.
You can generate maps using an appropriate blank map such as [[:Image:BlankMap-World-noborders.png]]. Do not make the distribution map too large (a width of 300 to 400 should be sufficient, the purpose of the map being a rough global overview; more detailed maps can always go to the article body) and add the map to [[:Category:Habitat maps]], or, preferably, if you upload the map to Commons, to [[:commons:Category:Animal distribution maps]].
==== Synonyms ====
Where a species has synonyms, the {{para|synonyms}} parameter may be used. The list of synonyms can be formatted using the same approach as for [[#Subdivisions|Subdivisions]], but synonyms should not normally be linked, so e.g. {{tl|Taxon list}} should be used for taxa whose names aren't italicized and {{tl|Species list}} for those whose names are.
<source lang="html" style="overflow:auto">
| synonyms =
{{Species list
|Species1|Authority1
|Species2|Authority2
}}
</source>
: Please note: style element <nowiki><small></nowiki> is not recommended in [[Wikipedia:WikiProject Check Wikipedia#HTML text style element .3Csmall.3E]], see discussion [[Wikipedia talk:WikiProject Check Wikipedia#Small style element]].
[http://uio.mbl.edu/NomenclatorZoologicus/ Nomenclator Zoologicus] has data for all but the most recently established animal [[genera]]. This may be hard to understand for non-specialists, but it is a comprehensive source for the authorship of genus names, both valid ones and junior synonyms. Sometimes one will note that a new name has been established because the older, original name was "preoccupied". This means it has already been established for another [[taxon]] of the same [[Linnaean taxonomy|rank]] in the same [[kingdom (biology)|kingdom]] before – even if that name is now a synonym too. Taxa that preoccupy a name can be linked in the Synonyms section, such as ''Stenorhynchus'' [[Trembler|here]].
Use {{para|synonyms_ref}} to give references for the synonym list, for example:
<pre style="overflow:auto; font-size:80%">
| synonyms_ref = <nowiki><ref></nowiki>Smith and Jones, 2009, p. 5 <nowiki></ref></nowiki>
</pre>
==== Type species ====
When the [[type species]] of a genus (or larger grouping) is known, the {{para|type_species}} and {{para|type_species_authority}} can be used.
For botanical entries, i.e. names under the [[International Code of Nomenclature for algae, fungi, and plants]] (ICN), the currently accepted name in the genus should be used. The term "type species" does not occur in the ICN, but is used here for convenience. The [http://botany.si.edu/ing/ Index Nominum Genericorum] is a useful source of information and can be used as a reference.
For animal entries, i.e. names under the [[International Code of Zoological Nomenclature]] (ICZN), the type species should be the {{em|original}} binomial name of the type species, but linked to its current article, and the authority should be plain (no parentheses). See ''[[Giant mouse lemur|Mirza]]'' for a type species example.
<pre style="overflow:auto">
| type_species = the original name of the species that was initially used to describe the genus, without regard to its present-day nomenclature
| type_species_authority =
</pre>
This follows ICZN Recommendation 67B; be aware that this means the taxon used by the genus' original author – even if it is now invalid, e.g. a [[junior synonym]]. Ideally, it should only be used if the genus' original description can be verified first-hand. As per the following example given by the ICZN:
<blockquote>''Astacus marinus'' Fabricius, 1775, one of the nominal species originally included in the decapod crustacean genus ''Homarus'' Weber, 1795, was subsequently designated by Fowler (1912) as the type species of ''Homarus''. The type species is, and should be cited as, ''Astacus marinus'' Fabricius, 1775. ''Astacus marinus'' Fabricius is currently synonymized with ''Cancer gammarus'' Linnaeus, 1758, but the latter is not the type species of ''Homarus'' and should not be cited as such. If mention of the type species is required it should be made in some such manner as "Type species ''Astacus marinus'' Fabricius, 1775, a junior synonym of ''Cancer gammarus'' Linnaeus, 1758"; or "Type species ''Astacus marinus'' Fabricius, 1775, now regarded as a synonym of ''Homarus gammarus'' (Linnaeus, 1758)".</blockquote>
If you do not completely understand what this all means, please ''do not use this parameter''. Instead, if possible denote the type species in the species listing, for example with a
<pre><small>([[type species]])</small></pre>
after the species' (currently valid) name.
=== Italic page titles ===
If the value of {{para|genus}}, {{para|species}}, or {{para|binomial}} exactly matches the title of the page, '''and''' {{para|name}} is unspecified, the taxobox '''and''' page title will be italicized automatically.<ref group=note>See note 1; the title of the page will be italicized using the <nowiki>{{DISPLAYTITLE}}</nowiki> [[mw:Help:Magic words|magic word]]. When the page name contains the disambiguator "(alga)" or "(genus)", this disambiguator will not be italicized (e.g., [[Ia (genus)|''Ia'' (genus)]]).</ref> If necessary, it is also possible to force the page title to display in italics using the {{tl|Italic title}} template.
If the {{para|name}} parameter is present, then the taxobox will display whatever is in {{para|name}}; the page title will NOT be italicized unless {{tl|italic title}} is used.
=== Complete blank template ===
This section gives all parameters in the order that they will appear in the taxobox. No taxobox should use all of these. Keep it short!
''Note that parameters in this template are case-sensitive.''
{{Taxobox
| color = {{Taxobox colour|[[Animalia]]}}
| name = name
| fossil_range = {{fossil range|100|0}}fossil range
| image = Panthera tigris tigris.jpg
| image_upright = 0.9
| image_alt = image alt
| image_caption = image caption
| image2 = Singapore Zoo Tigers.jpg
| image2_upright = 0.9
| image2_alt = image2 alt
| image2_caption = image2 caption
| status = EN
| status_system = IUCN3.1
| status_ref = <ref>IUCN reference goes here</ref>
| classification_status = status of classification
| virus_group = virus group
| superdomain = superdomain
| unranked_superdomain = unranked superdomain
| unranked_superdomain_authority = unranked superdomain authority
| domain = domain
| domain_authority = domain authority
| superregnum = superregnum
| superregnum_authority = superregnum authority
| regnum = regnum
| regnum_authority = regnum authority
| unranked_regnum = unranked regnum
| unranked_regnum_authority = unranked regnum authority
| subregnum = subregnum
| subregnum_authority = subregnum authority
| infraregnum = infraregnum
| infraregnum_authority = infraregnum authority
| unranked_phylum = unranked phylum
| unranked_phylum_authority = unranked phylum authority
| superdivisio = superdivisio
| superdivisio_authority = superdivisio authority
| superphylum = superphylum
| superphylum_authority = superphylum authority
| unranked_divisio = unranked divisio
| unranked_divisio_authority = unranked divisio authority
| divisio = divisio
| divisio_authority = divisio authority
| phylum = phylum
| phylum_authority = phylum authority
| subdivisio = subdivisio
| subdivisio_authority = subdivisio authority
| subphylum = subphylum
| subphylum_authority = subphylum authority
| infraphylum = infraphylum
| infraphylum_authority = infraphylum authority
| microphylum = microphylum
| microphylum_authority = microphylum authority
| nanophylum = nanophylum
| nanophylum_authority = nanophylum authority
| unranked_classis = unranked classis
| unranked_classis_authority = unranked classis authority
| superclassis = superclassis
| superclassis_authority = superclassis authority
| classis = classis
| classis_authority = classis authority
| unranked_subclassis = unranked subclassis
| unranked_subclassis_authority = unranked subclassis authority
| subclassis = subclassis
| subclassis_authority = subclassis authority
| unranked_infraclassis = unranked infraclassis
| unranked_infraclassis_authority = unranked infraclassis authority
| infraclassis = infraclassis
| infraclassis_authority = infraclassis authority
| unranked_ordo = unranked ordo
| unranked_ordo_authority = unranked ordo authority
| magnordo = magnordo
| magnordo_authority = magnordo authority
| superordo = superordo
| superordo_authority = superordo authority
| ordo = ordo
| ordo_authority = ordo authority
| subordo = subordo
| subordo_authority = subordo authority
| infraordo = infraordo
| infraordo_authority = infraordo authority
| parvordo = parvordo
| parvordo_authority = parvordo authority
| zoodivisio = zoodivisio
| zoodivisio_authority = zoodivisio authority
| zoosectio = zoosectio
| zoosectio_authority = zoosectio authority
| zoosubsectio = zoosubsectio
| zoosubsectio_authority = zoosubsectio authority
| unranked_superfamilia = unranked superfamilia
| unranked_superfamilia_authority = unranked superfamilia authority
| superfamilia = superfamilia
| superfamilia_authority = superfamilia authority
| familia = familia
| familia_authority = familia authority
| subfamilia = subfamilia
| subfamilia_authority = subfamilia authority
| unranked_tribus = unranked tribus
| unranked_tribus_authority = unranked tribus authority
| supertribus = supertribus
| supertribus_authority = supertribus authority
| tribus = tribus
| tribus_authority = tribus authority
| subtribus = subtribus
| subtribus_authority = subtribus authority
| alliance = alliance
| alliance_authority = alliance authority
| unranked_genus = unranked genus
| unranked_genus_authority = genus authority
| genus = genus
| genus_authority = genus authority
| subgenus = subgenus
| subgenus_authority = subgenus authority
| sectio = sectio
| sectio_authority = sectio authority
| subsectio = subsectio
| subsectio_authority = subsectio authority
| series = series
| series_authority = series authority
| subseries = subseries
| subseries_authority = subseries authority
| species_group = species group
| species_group_authority = species group authority
| species_subgroup = species subgroup
| species_subgroup_authority = species subgroup authority
| species_complex = species complex
| species_complex_authority = species complex authority
| species = species
| species_authority = species authority
| subspecies = subspecies
| subspecies_authority = subspecies authority
| variety = variety
| variety_authority = variety authority
| forma = forma
| forma_authority = forma authority
| type_strain = type strain
| diversity_ref = <ref>diversity ref</ref>
| diversity = diversity
| diversity_link = diversity link
| binomial = binomial
| binomial_authority = binomial authority
| trinomial = trinomial
| trinomial_authority = trinomial authority
| type_genus = type genus
| type_genus_authority = type genus authority
| type_species = type species
| type_species_authority = type species authority
| subdivision = subdivision
| subdivision_ranks = subdivision ranks
| range_map = Pleurodeles walti dis.png
| range_map_upright = 0.9
| range_map_alt = range map alt
| range_map_caption = range map caption
| binomial2 = binomial2
| binomial2_authority = binomial2 authority
| range_map2 = Pleurodeles walti dis.png
| range_map2_upright = 0.9
| range_map2_alt = range map2 alt
| range_map2_caption = range map2 caption
| binomial3 = binomial3
| binomial3_authority = binomial3 authority
| range_map3 = Pleurodeles walti dis.png
| range_map3_upright = 0.9
| range_map3_alt = range map3 alt
| range_map3_caption = range map3 caption
| binomial4 = binomial4
| binomial4_authority = binomial4 authority
| range_map4 = Pleurodeles walti dis.png
| range_map4_upright = 0.9
| range_map4_alt = range map4 alt
| range_map4_caption = range map4 caption
| synonyms_ref = <ref>synonyms ref</ref>
| synonyms = synonyms
}}
<pre style="overflow:auto">
{{Taxobox
| color =
| name =
| fossil_range =
| image =
| image_upright =
| image_alt =
| image_caption =
| image_caption_align =
| image2 =
| image2_upright =
| image2_alt =
| image2_caption =
| status =
| status_system =
| status_ref =
| classification_status =
| virus_group =
| unranked_superdomain =
| unranked_superdomain_authority =
| superdomain =
| superdomain_authority =
| domain =
| domain_authority =
| superregnum =
| superregnum_authority =
| unranked_regnum =
| unranked_regnum_authority =
| regnum =
| regnum_authority =
| subregnum =
| subregnum_authority =
| superdivisio =
| superdivisio_authority =
| superphylum =
| superphylum_authority =
| unranked_divisio =
| unranked_divisio_authority =
| divisio =
| divisio_authority =
| unranked_phylum =
| unranked_phylum_authority =
| phylum =
| phylum_authority =
| subdivisio =
| subdivisio_authority =
| subphylum =
| subphylum_authority =
| infraphylum =
| infraphylum_authority =
| microphylum =
| microphylum_authority =
| nanophylum =
| nanophylum_authority =
| superclassis =
| superclassis_authority =
| unranked_classis =
| unranked_classis_authority =
| classis =
| classis_authority =
| unranked_subclassis =
| unranked_subclassis_authority =
| subclassis =
| subclassis_authority =
| unranked_infraclassis =
| unranked_infraclassis_authority =
| infraclassis =
| infraclassis_authority =
| magnordo =
| magnordo_authority =
| superordo =
| superordo_authority =
| unranked_ordo =
| unranked_ordo_authority =
| ordo =
| ordo_authority =
| subordo =
| subordo_authority =
| infraordo =
| infraordo_authority =
| parvordo =
| parvordo_authority =
| zoodivisio =
| zoodivisio_authority =
| zoosectio =
| zoosectio_authority =
| zoosubsectio =
| zoosubsectio_authority =
| unranked_superfamilia =
| unranked_superfamilia_authority =
| superfamilia =
| superfamilia_authority =
| familia =
| familia_authority =
| subfamilia =
| subfamilia_authority =
| supertribus =
| supertribus_authority =
| unranked_tribus =
| unranked_tribus_authority =
| tribus =
| tribus_authority =
| subtribus =
| subtribus_authority =
| alliance =
| alliance_authority =
| unranked_genus =
| unranked_genus_authority =
| genus =
| genus_authority =
| subgenus =
| subgenus_authority =
| sectio =
| sectio_authority =
| subsectio =
| subsectio_authority =
| series =
| series_authority =
| subseries =
| subseries_authority =
| species_group =
| species_group_authority =
| species_subgroup =
| species_subgroup_authority =
| species_complex =
| species_complex_authority =
| species =
| species_authority =
| subspecies =
| subspecies_authority =
| variety =
| variety_authority =
| forma =
| forma_authority =
| diversity_ref =
| diversity =
| diversity_link =
| binomial =
| binomial_authority =
| trinomial =
| trinomial_authority =
| type_genus =
| type_genus_authority =
| type_species =
| type_species_authority =
| subdivision =
| subdivision_ranks =
| type_strain =
| range_map =
| range_map_upright =
| range_map_alt =
| range_map_caption =
| binomial2 =
| binomial2_authority =
| range_map2 =
| range_map2_upright =
| range_map2_alt =
| range_map2_caption =
| binomial3 =
| binomial3_authority =
| range_map3 =
| range_map3_upright =
| range_map3_alt =
| range_map3_caption =
| binomial4 =
| binomial4_authority =
| range_map4 =
| range_map4_upright =
| range_map4_alt =
| range_map4_caption =
| synonyms_ref =
| synonyms =
}}
</pre>
=== All parameters ===
The full list of parameters is illustrated inside the infobox above, in the "[[#Complete blank template|Complete blank template]]".
:{| <!--this table uses end-of-line "<tr>" to split rows. -->
|-
| color - || typical color code <tr>
| name - || name defaults to <nowiki>{{PAGENAME}}</nowiki><tr>
| status - || conservation status code <tr>
| status_system - || status-system type <tr>
| status_ref - || status reference <tr>
| regnum - || (standard) kingdom name <tr>
| phylum - || (standard) phylum name <tr>
| classis - || (standard) class name <tr>
| ordo - || (standard) order name <tr>
| familia - || (standard) family name <tr>
| genus - || (standard) genus name <tr>
| species - || (standard) species name <tr>
| fossil_range - || (as shown at top of box) <tr>
| image - || (as shown in box) <tr>
| image_upright - || (as shown in box) <tr>
| image_alt - || (as shown in box) <tr>
| image_caption - || (as shown in box) <tr>
| image2 - || (as shown in box) <tr>
| image2_upright - || (as shown in box) <tr>
| image2_alt - || (as shown in box) <tr>
| image2_caption - || (as shown in box) <tr>
| classification_status - || (as shown in box) <tr>
| virus_group - || (as shown in box) <tr>
| superdomain - || (as shown in box) <tr>
| superdomain_authority - || (as shown in box) <tr>
| unranked_superdomain - || (as shown in box) <tr>
| unranked_superdomain_ authority - || (as shown in box) <tr>
| domain - || (as shown in box) <tr>
| domain_authority - || (as shown in box) <tr>
| unranked_regnum - || (as shown in box) <tr>
| unranked_regnum_authority - || (as shown in box) <tr>
| superregnum - || (as shown in box) <tr>
| superregnum_authority - || (as shown in box) <tr>
| regnum_authority - || (as shown in box) <tr>
| subregnum - || (as shown in box) <tr>
| subregnum_authority - || (as shown in box) <tr>
| unranked_phylum - || (as shown in box) <tr>
| unranked_phylum_authority - || (as shown in box) <tr>
| superdivisio - || (as shown in box) <tr>
| superdivisio_authority - || (as shown in box) <tr>
| superphylum - || (as shown in box) <tr>
| superphylum_authority - || (as shown in box) <tr>
| divisio - || (as shown in box) <tr>
| divisio authority - || (as shown in box) <tr>
| unranked_divisio - || (as shown in box) <tr>
| unranked_divisio_authority - || (as shown in box) <tr>
| phylum_authority - || (as shown in box) <tr>
| subdivisio - || (as shown in box) <tr>
| subdivisio_authority - || (as shown in box) <tr>
| subphylum - || (as shown in box) <tr>
| subphylum_authority - || (as shown in box) <tr>
| infraphylum - || (as shown in box) <tr>
| infraphylum_authority - || (as shown in box) <tr>
| microphylum - || (as shown in box) <tr>
| microphylum_authority - || (as shown in box) <tr>
| nanophylum - || (as shown in box) <tr>
| nanophylum_authority - || (as shown in box) <tr>
| unranked_classis - || (as shown in box) <tr>
| unranked_classis_authority - || (as shown in box) <tr>
| superclassis - || (as shown in box) <tr>
| superclassis_authority - || (as shown in box) <tr>
| classis_authority - || (as shown in box) <tr>
| unranked_subclassis - || (as shown in box) <tr>
| unranked_subclassis_authority - || (as shown in box) <tr>
| subclassis - || (as shown in box) <tr>
| subclassis_authority - || (as shown in box) <tr>
| unranked_infraclassis - || (as shown in box) <tr>
| unranked_infraclassis_authority - || (as shown in box) <tr>
| infraclassis - || (as shown in box) <tr>
| infraclassis_authority - || (as shown in box) <tr>
| unranked_ordo - || (as shown in box) <tr>
| unranked_ordo_authority - || (as shown in box) <tr>
| magnordo - || (as shown in box) <tr>
| magnordo_authority - || (as shown in box) <tr>
| superordo - || (as shown in box) <tr>
| superordo_authority - || (as shown in box) <tr>
| ordo_authority - || (as shown in box) <tr>
| subordo - || (as shown in box) <tr>
| subordo_authority - || (as shown in box) <tr>
| infraordo - || (as shown in box) <tr>
| infraordo_authority - || (as shown in box) <tr>
| parvordo - || (as shown in box) <tr>
| parvordo_authority - || (as shown in box) <tr>
| zoodivisio - || (as shown in box) <tr>
| zoodivisio_authority - || (as shown in box) <tr>
| zoosectio - || (as shown in box) <tr>
| zoosectio_authority - || (as shown in box) <tr>
| zoosubsectio - || (as shown in box) <tr>
| zoosubsectio_authority - || (as shown in box) <tr>
| unranked_superfamilia - || (as shown in box) <tr>
| unranked_superfamilia_authority - || (as shown in box) <tr>
| superfamilia - || (as shown in box) <tr>
| superfamilia_authority - || (as shown in box) <tr>
| familia_authority - || (as shown in box) <tr>
| subfamilia - || (as shown in box) <tr>
| subfamilia_authority - || (as shown in box) <tr>
| unranked_tribus - || (as shown in box) <tr>
| unranked_tribus_authority - || (as shown in box) <tr>
| supertribus - || (as shown in box) <tr>
| supertribus_authority - || (as shown in box) <tr>
| tribus - || (as shown in box) <tr>
| tribus_authority - || (as shown in box) <tr>
| subtribus - || (as shown in box) <tr>
| subtribus_authority - || (as shown in box) <tr>
| alliance - || (as shown in box) <tr>
| alliance_authority - || (as shown in box) <tr>
| unranked_genus - || (as shown in box) <tr>
| unranked_genus_authority - || (as shown in box) <tr>
| genus_authority - || (as shown in box) <tr>
| subgenus - || (as shown in box) <tr>
| subgenus_authority - || (as shown in box) <tr>
| sectio - || (as shown in box) <tr>
| sectio_authority - || (as shown in box) <tr>
| subsectio - || (as shown in box) <tr>
| subsectio_authority - || (as shown in box) <tr>
| series - || (as shown in box) <tr>
| series_authority - || (as shown in box) <tr>
| subseries - || (as shown in box) <tr>
| subseries_authority - || (as shown in box) <tr>
| species_group - || (as shown in box) <tr>
| species_group_authority - || (as shown in box) <tr>
| species_subgroup - || (as shown in box) <tr>
| species_subgroup_authority - || (as shown in box) <tr>
| species_complex - || (as shown in box) <tr>
| species_complex_authority - || (as shown in box) <tr>
| species_authority - || (as shown in box) <tr>
| subspecies - || (as shown in box) <tr>
| subspecies_authority - || (as shown in box) <tr>
| variety - || (as shown in box) <tr>
| variety_authority - || (as shown in box) <tr>
| forma - || (as shown in box) <tr>
| forma_authority - || (as shown in box) <tr>
| diversity_ref - || (as shown in box) <tr>
| diversity - || (as shown in box) <tr>
| diversity_link - || (as shown in box) <tr>
| binomial - || (as shown in box) <tr>
| binomial_authority - || (as shown in box) <tr>
| trinomial - || (as shown in box) <tr>
| trinomial_authority - || (as shown in box) <tr>
| type_genus - || (as shown in box) <tr>
| type_genus_authority - || (as shown in box) <tr>
| type_species - || (as shown in box) <tr>
| type_species_authority - || (as shown in box) <tr>
| subdivision - || (as shown in box) <tr>
| subdivision_ranks - || (as shown in box) <tr>
| type_strain - || (as shown in box) <tr>
| range_map - || 1st map, bottom of box <tr>
| range_map_upright - || 1st map scaling = 0.9 i.e. 90% of default size<tr>
| range_map_alt - || 1st map ALT= text<tr>
| range_map_caption - || 1st caption, under picture<tr>
| binomial2 - || (as shown in box) <tr>
| binomial2_authority - || (as shown in box) <tr>
| range_map2 - || 2nd map in box <tr>
| range_map2_upright - || 2nd map scaling = 0.9 <tr>
| range_map2_alt - || 2nd map ALT= text <tr>
| range_map2_caption - || 2nd map caption <tr>
| binomial3 - || (as shown in box) <tr>
| binomial3_authority - || (as shown in box) <tr>
| range_map3 - || 3rd map in box <tr>
| range_map3_upright - || 3rd map scaling = 0.9 <tr>
| range_map3_alt - || 3rd map ALT= text <tr>
| range_map3_caption - || 3rd maq caption <tr>
| binomial4 - || (as shown in box) <tr>
| binomial4_authority - || (as shown in box) <tr>
| range_map4 - || 4th map in box <tr>
| range_map4_upright - || 4th map scaling = 0.9 <tr>
| range_map4_alt - || 4th map ALT= text <tr>
| range_map4_caption - || 4th map caption <tr>
| synonyms_ref - || reference for synonyms <tr>
| synonyms - || (as at bottom of box)
|}
=== Articles lacking taxoboxes ===
For articles lacking taxoboxes, add '''[[Template:Missing-taxobox]]''' to the ''talk'' page. This may be done by typing '''<nowiki>{{Missing-taxobox}}</nowiki>''' or '''<nowiki>{{needtaxobox}}</nowiki>''' at the top of the ''talk'' page.
=== Microformat ===
{{UF-species}}
===Template Data===
{{TemplateDataHeader}}
<templatedata>
{
"description": "An infobox for plants, animals and other biological taxa",
"params": {
"name": {
"label": "Name",
"description": "For plants, see [[Wikipedia:Naming conventions (flora)]]. For all other living things, the name should be the most common vernacular name, when one is in widespread use, and a scientific name otherwise.",
"type": "string"
},
"image": {
"label": "Image",
"description": "An image to use, do not include the 'File:' part of the image file name.",
"type": "wiki-file-name",
"required": true
},
"image_width": {
"label": "Image Width",
"description": "(Deprecated) Width to display the image at. Should not normally be set. e.g. 320px",
"type": "string",
"aliases": [
"image width"
],
"required": false,
"deprecated": "Use image_upright"
},
"image_upright": {
"label": "Image Upright scale",
"description": "Scale to display the image at. e.g. 1.1",
"type": "string",
"aliases": [
"image upright"
],
"required": false
},
"image_alt": {
"label": "Image alt text",
"description": "Alt text which describes the image to someone who can't see it",
"type": "string",
"aliases": [
"image alt"
],
"required": false
},
"image_caption": {
"label": "Image caption",
"description": "Caption displayed under the image",
"type": "string",
"suggested": true
},
"image_caption_align": {
"label": "Image caption alignment",
"description": "Alignment of the caption displayed under the image, e.g. left. Should not normally be set.",
"type": "string",
"aliases": [
"image caption alignment"
],
"required": false,
"deprecated": true
},
"regnum": {
"label": "Kingdom",
"description": "Kingdom: [[Animalia]], [[Plantae]], [[Fungi]], other taxa may want to use domain or other ranks instead",
"type": "string",
"required": false
},
"divisio": {
"label": "Division",
"description": "Division in botany, e.g. [[Bryophyta]]. Not for flowering plants using the APG III system",
"type": "string",
"required": false
},
"phylum": {
"label": "Phylum",
"description": "Phylum in zoology, eg [[Chordata]] for chordates",
"type": "string",
"required": false
},
"classis": {
"label": "Class",
"description": "Class/classis taxonomic rank",
"type": "string",
"required": false
},
"ordo": {
"label": "Order",
"description": "Order/ordo taxonomic rank",
"type": "string",
"required": false
},
"familia": {
"label": "Family",
"description": "Family/familia taxonomic rank",
"type": "string",
"required": false
},
"genus": {
"label": "Genus",
"description": "Genus taxonomic rank, in italics, e.g. ''[[Homo]]''",
"type": "string",
"required": false
},
"species": {
"label": "Species",
"description": "Species taxonomic rank. Should be given in abbreviated forms and in italics, e.g. ''H. sapiens''.",
"type": "string",
"required": false
},
"binomial": {
"label": "Binomial",
"description": "Full binomial name of taxa, In full form with italics, e.g. ''Salix alba'' var. ''caerulea''",
"type": "string",
"required": false
},
"binomial_authority": {
"label": "Binomial authority",
"description": "Binomial authority using appropriate conventions, eg [[Carl Linnaeus|L.]] (for plants), [[Carl Linnaeus|Linnaeus]], 1761 (for animals)",
"type": "string",
"required": false
},
"range_map": {
"label": "Range map",
"description": "Map of range",
"type": "string",
"aliases": [
"range map"
],
"required": false
},
"range_map_width": {
"label": "Range map width",
"description": "Width to display range map. Should not normally be set. e.g. 320px",
"type": "string",
"aliases": [
"range map width"
],
"required": false,
"deprecated": true
},
"range_map_alt": {
"label": "Range map alt text",
"description": "Alt text describing the range in words",
"type": "string",
"aliases": [
"range map alt"
],
"required": false
},
"range_map_caption": {
"label": "Range map caption",
"description": "Caption/key for the range map",
"type": "string",
"aliases": [
"range map caption"
],
"required": false
},
"status": {
"label": "Conservation status",
"description": "The conservation status code: 'secure', domesticated 'DOM', Least Concern 'LC', Lower Risk—Least Concern 'LR/lc', Near Threatened 'NT', Lower Risk—Near Threatened 'LR/nt', Lower Risk—Conservation Dependent 'LR/cd', Vulnerable 'VU', Endangered 'EN', Critically Endangered 'CR', Possibly Extinct 'PE', Extinct in the wild 'EW', Extinct 'EX', Data deficient 'DD', Not evaluated 'NE',Fossil 'fossil', Prehistoric 'pre', 'See text', Lower Risk 'LR'",
"type": "string",
"required": false
},
"status_system": {
"label": "Conservation status system",
"description": "System used for Conservation status: 'IUCN3.1', 'IUCN2.3', 'EPBC' etc. Required if status given.",
"type": "string",
"aliases": [
"status system"
],
"required": false
},
"status_ref": {
"label": "Status reference",
"description": "Reference for status <ref>{{IUCN2012.2|...}}</ref>",
"type": "string",
"aliases": [
"status ref"
],
"required": false
},
"extinct": {
"label": "Year of extinction",
"description": "Year of extinction, if known",
"type": "string",
"required": false
},
"fossil_range": {
"label": "Fossil range",
"description": "The stratigraphic range for groups known as fossils. E.g. [[Cambrian]]–[[Permian]] or {{fossil range|Cambrian|Permian}} to give a chart. Use 'Recent' for extant taxa and 'Holocene' for Late Quaternary extinctions.",
"type": "string",
"required": false
},
"virus_group": {
"label": "Virus group",
"description": "Viruses not placed in taxa above the rank of order, instead a virus group is used, given by a Roman numeral from I to VII",
"type": "string",
"aliases": [
"virus group"
],
"required": false
},
"unranked_superdomain": {
"label": "Unranked superdomain",
"description": "For each major taxon you can add an unranked entry to the taxobox. The entry unranked X appears above rank X",
"type": "string",
"aliases": [
"unranked superdomain"
],
"required": false
},
"superdomain": {
"label": "Superdomain",
"description": "This and other minor ranks should only be used when they are important to understanding the classification of the taxon described in the article",
"type": "string",
"required": false
},
"superdomain_authority": {
"label": "Superdomain Authority",
"description": "The authority used for this rank. Every rank has a rank authority field which are not currently listed",
"type": "string",
"aliases": [
"superdomain authority"
],
"required": false
},
"domain": {
"label": "Domain",
"description": "Domain for Archaea, Bacteria and Eukarya",
"type": "string",
"required": false
},
"superregnum": {
"label": "Superkingdom",
"type": "string",
"required": false
},
"unranked_regnum": {
"label": "Unranked kingdom",
"type": "string",
"required": false
},
"subregnum": {
"label": "Subkingdom",
"type": "string",
"required": false
},
"superdivisio": {
"label": "Superdivision",
"type": "string",
"required": false
},
"superphylum": {
"label": "Superphylum",
"type": "string",
"required": false
},
"unranked_divisio": {
"label": "Unranked division",
"description": "For flowering plants using the APG IV system this should be set to [[Angiosperms]] rather than using division/divisio",
"type": "string",
"aliases": [
"unranked divisio"
],
"required": false
},
"unranked_phylum": {
"label": "Unranked phylum",
"type": "string",
"required": false
},
"subphylum": {
"label": "Subphylum",
"type": "string",
"required": false
},
"infraphylum": {
"label": "Infraphylum",
"type": "string",
"required": false
},
"microphylum": {
"label": "Microphylum",
"type": "string",
"required": false
},
"nanophylum": {
"label": "Nanophylum",
"type": "string",
"required": false
},
"superclassis": {
"label": "Superclass",
"type": "string",
"required": false
},
"unranked_classis": {
"label": "Unranked class",
"description": "For flowering plants using the APG IV system this should be used rather than class/classis",
"type": "string",
"aliases": [
"unranked classis"
],
"required": false
},
"unranked_subclassis": {
"label": "Unranked subclass",
"type": "string",
"aliases": [
"unranked subclassis"
],
"required": false
},
"subclassis": {
"label": "Subclass",
"type": "string",
"required": false
},
"unranked_infraclassis": {
"label": "Unranked infraclass",
"type": "string",
"aliases": [
"unranked infraclassis"
],
"required": false
},
"infraclassis": {
"label": "Infraclass",
"type": "string",
"required": false
},
"magnordo": {
"label": "Magnorder",
"type": "string",
"required": false
},
"superordo": {
"label": "Superorder",
"type": "string",
"required": false
},
"unranked_ordo": {
"label": "Unranked order",
"description": "Generally used for flowering plants using the APG IV system",
"type": "string",
"aliases": [
"unranked ordo"
],
"required": false
},
"subordo": {
"label": "subordo",
"type": "string",
"required": false
},
"infraordo": {
"label": "infraordo",
"type": "string",
"required": false
},
"parvordo": {
"label": "parvordo",
"type": "string",
"required": false
},
"zoodivisio": {
"label": "zoodivision",
"description": "Used in zoology, a different rank to the division used in botany.",
"type": "string",
"required": false
},
"zoosectio": {
"label": "zoosection",
"description": "Used in zoology, a different rank to the section used in botany.",
"type": "string",
"required": false
},
"zoosubsectio": {
"label": "zoosubsection",
"description": "Used in zoology, a different rank to the subsection used in botany.",
"type": "string",
"required": false
},
"unranked_superfamilia": {
"label": "Unranked Superfamily",
"type": "string",
"required": false
},
"superfamilia": {
"label": "Superfamily",
"type": "string",
"required": false
},
"subfamilia": {
"label": "Subfamily",
"type": "string",
"required": false
},
"supertribus": {
"label": "supertribus",
"type": "string",
"required": false
},
"unranked_tribus": {
"label": "unranked tribe",
"type": "string",
"aliases": [
"unranked tribus"
],
"required": false
},
"tribus": {
"label": "Tribe",
"type": "string",
"required": false
},
"subtribus": {
"label": "Subtribe",
"type": "string",
"required": false
},
"alliance": {
"label": "alliance",
"type": "string",
"required": false,
"deprecated": "Displays as a rank between subtribe and genus. "
},
"unranked_genus": {
"label": "Unranked genus",
"type": "string",
"aliases": [
"unranked genus"
],
"required": false
},
"subgenus": {
"label": "Subgenus",
"type": "string",
"required": false
},
"sectio": {
"label": "Section",
"description": "Used in botany, use zoosectio in zoology",
"type": "string",
"required": false
},
"subsectio": {
"label": "Subsection",
"description": "Used in botany, use zoosubsectio in zoology",
"type": "string",
"required": false
},
"series": {
"label": "Series",
"type": "string",
"required": false
},
"subseries": {
"label": "Subseries",
"type": "string",
"required": false
},
"species_group": {
"label": "Species group",
"type": "string",
"aliases": [
"species group"
],
"required": false
},
"species_subgroup": {
"label": "species subgroup",
"type": "string",
"aliases": [
"species subgroup"
],
"required": false
},
"species_complex": {
"label": "species complex",
"type": "string",
"aliases": [
"species complex"
],
"required": false
},
"subspecies": {
"label": "subspecies",
"type": "string",
"required": false
},
"variety": {
"label": "variety",
"type": "string",
"required": false
},
"forma": {
"label": "form",
"description": "Used in botany, not in zoology",
"type": "string",
"required": false
},
"trinomial": {
"label": "trinomial",
"description": "The full trinomial name for subspecies, it should generally be in italics.",
"type": "string",
"required": false
},
"trinomial_authority": {
"label": "trinomial authority",
"description": "The authority for a trinomial.",
"type": "string",
"aliases": [
"trinomial authority"
],
"required": false
},
"synonyms": {
"label": "Synonyms",
"description": "A list of synonyms for a species, e.g. ''species1'' <small>Authority1</small><br/> ''species2'' <small>Authority2</small>",
"type": "string",
"required": false
},
"synonyms_ref": {
"label": "Synonyms ref",
"description": "References for the synonym lists, e.g.<ref>Smith and Jones, 2009, p. 5</ref>",
"type": "string",
"required": false
},
"type_species": {
"label": "Type species",
"description": "The original name of the species that was initially used to describe the genus, without regard to its present-day nomenclature.",
"type": "string",
"required": false
},
"type_species_authority": {
"label": "Type species authority",
"description": "Authority for the type species, don't use parenthesis.",
"type": "string",
"aliases": [
"type species authority"
],
"required": false
},
"classification_status": {
"label": "Classification status",
"description": "Status of the scientific classification, e.g. disputed. Only use when the scientific classification text would be misleading without it.",
"type": "string",
"aliases": [
"classification status"
],
"required": false
},
"subdivision_ranks": {
"label": "Subdivision ranks",
"description": "Rank used for sub-divisions of this taxa, e.g. 'Families'",
"type": "string",
"aliases": [
"subdivision ranks"
],
"required": false
},
"subdivision": {
"label": "Subdivision",
"description": "List of sub divisions of this taxa, e.g. [[Family1]]<br/> [[Family2]]<br/> [[Family3]]",
"type": "string",
"required": false
},
"image2": {
"label": "Image 2",
"description": "A second image, only use in rare circumstances.",
"type": "string",
"required": false
},
"image2_width": {
"label": "Image 2 Width",
"description": "Deprecated. Width of the second image",
"type": "number",
"aliases": [
"image2 width"
],
"required": false,
"deprecated": true
},
"image2_upright": {
"label": "Image 2 Upright scale",
"description": "Scale of the second image",
"type": "number",
"aliases": [
"image2 upright"
],
"required": false
},
"image2_alt": {
"label": "Image 2 alt text",
"description": "Alt text which describes the second image to someone who can't see it",
"type": "string",
"aliases": [
"image2 alt"
],
"required": false
},
"image2_caption": {
"label": "Image 2 caption",
"description": "Caption to display under the second image",
"type": "string",
"required": false
},
"binomial2": {
"label": "Binomial2",
"description": "Second binomial name of taxa, only used in rare circumstances",
"type": "string",
"required": false
},
"binomial2_authority": {
"label": "Binomial authority 2",
"description": "Authority of second binomial",
"type": "string",
"aliases": [
"binomial2 authority"
],
"required": false
},
"binomial3": {
"label": "Binomial3",
"description": "Third binomial name of taxa, only used in rare circumstances",
"type": "string",
"required": false
},
"binomial3_authority": {
"label": "Binomial authority 3",
"description": "Authority of third binomial",
"type": "string",
"aliases": [
"binomial3 authority"
],
"required": false
},
"binomial4": {
"label": "Binomial4",
"description": "Fourth binomial name of taxa, only used in rare circumstances",
"type": "string",
"required": false
},
"binomial4_authority": {
"label": "Binomial authority 4",
"description": "Authority of fourth binomial",
"type": "string",
"aliases": [
"binomial4 authority"
],
"required": false
},
"range_map2": {
"label": "Range map 2",
"description": "Second map of range",
"type": "string",
"aliases": [
"range map2"
],
"required": false
},
"range_map2_width": {
"label": "Range map 2 width",
"description": "Width of second range map",
"type": "string",
"aliases": [
"range map2 width"
],
"required": false,
"deprecated": true
},
"range_map2_alt": {
"label": "Range map 2 alt text",
"description": "Alt text describing the second range map",
"type": "string",
"aliases": [
"range map2 alt"
],
"required": false
},
"range_map2_caption": {
"label": "Range map 2 caption",
"description": "Caption/key for the second range map",
"type": "string",
"aliases": [
"range map2 caption"
],
"required": false
},
"range_map3": {
"label": "Range map 3",
"description": "Third map of range",
"type": "string",
"aliases": [
"range map3"
],
"required": false
},
"range_map3_width": {
"label": "Range map 3 width",
"description": "Width of third range map",
"type": "string",
"aliases": [
"range map3 width"
],
"required": false,
"deprecated": true
},
"range_map3_alt": {
"label": "Range map 3 alt text",
"description": "Alt text describing the third range map",
"type": "string",
"aliases": [
"range map3 alt"
],
"required": false
},
"range_map3_caption": {
"label": "Range map 3 caption",
"description": "Caption/key for the third range map",
"type": "string",
"aliases": [
"range map3 caption"
],
"required": false
},
"range_map4": {
"label": "Range map 4",
"description": "Forth map of range",
"type": "string",
"aliases": [
"range map4"
],
"required": false
},
"range_map4_width": {
"label": "Range map 4 width",
"description": "Width of forth range map",
"type": "string",
"aliases": [
"range map4 width"
],
"required": false,
"deprecated": true
},
"range_map4_alt": {
"label": "Range map 4 alt text",
"description": "Alt text describing the forth range map",
"type": "string",
"aliases": [
"range map4 alt"
],
"required": false
},
"range_map4_caption": {
"label": "Range map 4 caption",
"description": "Caption/key for the fourth range map",
"type": "string",
"aliases": [
"range map4 caption"
],
"required": false
},
"color": {
"label": "color",
"description": "Generally not used as it is automatically assigned based on the entry for regnum, virus group, unranked phylum, phylum.",
"type": "string",
"required": false,
"deprecated": true
},
"genus_authority": {
"label": "Genus authority",
"type": "string"
}
},
"format": "block",
"paramOrder": [
"name",
"image",
"image_width",
"image_upright",
"image_alt",
"image_caption",
"image_caption_align",
"regnum",
"divisio",
"phylum",
"classis",
"ordo",
"familia",
"genus",
"genus_authority",
"species",
"binomial",
"binomial_authority",
"range_map",
"range_map_width",
"range_map_alt",
"range_map_caption",
"status",
"status_system",
"status_ref",
"extinct",
"fossil_range",
"virus_group",
"unranked_superdomain",
"superdomain",
"superdomain_authority",
"domain",
"superregnum",
"unranked_regnum",
"subregnum",
"superdivisio",
"superphylum",
"unranked_divisio",
"unranked_phylum",
"subphylum",
"infraphylum",
"microphylum",
"nanophylum",
"superclassis",
"unranked_classis",
"unranked_subclassis",
"subclassis",
"unranked_infraclassis",
"infraclassis",
"magnordo",
"superordo",
"unranked_ordo",
"subordo",
"infraordo",
"parvordo",
"zoodivisio",
"zoosectio",
"zoosubsectio",
"unranked_superfamilia",
"superfamilia",
"subfamilia",
"supertribus",
"unranked_tribus",
"tribus",
"subtribus",
"alliance",
"unranked_genus",
"subgenus",
"sectio",
"subsectio",
"series",
"subseries",
"species_group",
"species_subgroup",
"species_complex",
"subspecies",
"variety",
"forma",
"trinomial",
"trinomial_authority",
"synonyms",
"synonyms_ref",
"type_species",
"type_species_authority",
"classification_status",
"subdivision_ranks",
"subdivision",
"image2",
"image2_width",
"image2_upright",
"image2_alt",
"image2_caption",
"binomial2",
"binomial2_authority",
"binomial3",
"binomial3_authority",
"binomial4",
"binomial4_authority",
"range_map2",
"range_map2_width",
"range_map2_alt",
"range_map2_caption",
"range_map3",
"range_map3_width",
"range_map3_alt",
"range_map3_caption",
"range_map4",
"range_map4_width",
"range_map4_alt",
"range_map4_caption",
"color"
]
}
</templatedata>
== Supporting templates ==
* [[Template:Taxobox/core]]
** [[Template:Taxobox/species]]
** [[Template:Taxobox/taxonomy]]
** [[Template:Taxonomy]]
* [[Module:Autotaxobox]]
* [[Template:Taxobox colour]]
** [[Template:Sets taxobox colour]]
** [[Template:Taxobox/Error colour]]
* [[Template:Taxobox name]]
== Tracking categories ==
Hidden category added by Taxobox:
* {{clc|Taxoboxes using extinct parameters}}
Hidden categories added by Taxobox/core:
* {{clc|Articles using diversity taxobox}}
* {{clc|Articles with 'species' microformats}}
Hidden categories added by Taxobox/species:
* {{clc|Taxoboxes with an unrecognised status system}}
* {{clc|Taxoboxes needing a status system parameter}}
* {{clc|Invalid conservation status}}
Hidden categories added by Taxobox/Error colour:
* {{clc|Taxoboxes with an invalid color}}
== See also ==
* {{tl|Automatic taxobox}}
* [[Wikipedia:How to read a taxobox]]
* [[Wikipedia:Manual of Style/Infoboxes]]
<div style="display: none">{{reflist}}</div>
== Notes ==
{{reflist|group=note}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Biology infobox templates]]
[[Category:Taxobox templates]]
[[Category:Wikipedia how-to|Taxobox usage]]
[[Category:Templates that add a tracking category]]
}}</includeonly><noinclude>
[[Category:Wikipedia Manual of Style (science)]]
</noinclude>
6c70da8941b3a73262e9868a812416f25eddbe1b
Template:Semantic Infobox Personality
10
295
576
2019-11-18T21:49:19Z
Jacques Ducloy
1
wikitext
text/x-wiki
<noinclude>
[[fr:Modèle:Infobox sémantique personnalité]]
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #203090; color: white" | [[Nom::{{{Nom|{{{nom|{{PAGENAME}}}}}}}}]]
|-
{{#ifeq:{{{image|}}}|||{{Tablelongrow|Value=[[image:{{{image}}}|150px|{{{nom|{{PAGENAME}}}}}]]|Color=white}}
{{!-}}
}}
|-
{{#ifeq:{{{birth date|}}}|||{{Tablerow|Label=Birth :|Value=<!--
-->{{#ifeq:{{{birth place|}}}|||[[Has birth place::{{{birth place|}}}]]<br/>}}[[Has birth date::{{{birth date}}}]]}}}}
|-
{{#ifeq:{{{death date|}}}|||{{Tablerow|Label=Death :|Value=<!--
-->{{#ifeq:{{{death place|}}}|||[[Has death place::{{{death place|}}}]]<br/>}}[[Has death date::{{{death date}}}]]}}}}
|-
|}
</includeonly>
b51cc6be60bd2fc1dd8751a3c73f81ce112da2f7
Property:Has birth date
102
326
638
2019-11-18T21:55:44Z
Jacques Ducloy
1
wikitext
text/x-wiki
[[Has type::date]]
[[fr:Attribut:A pour date de naissance]]
f4285253a817e18bbe273e84e734c50f2c548322
Property:Has death date
102
324
634
2019-11-18T22:04:20Z
Jacques Ducloy
1
wikitext
text/x-wiki
[[Has type::date]]
[[fr:Attribut:A pour date de décès]]
672cc42597a1f7cf61490500882056980034185d
Property:Has birth place
102
325
636
2019-11-18T22:22:59Z
Jacques Ducloy
1
wikitext
text/x-wiki
[[Has type::page]]
[[fr:Attribut:A pour lieu de naissance]]
83970c58531e095023410a64310efe2bb7b48ee1
Property:Has death place
102
323
632
2019-11-18T22:24:28Z
Jacques Ducloy
1
Created page with "[[Has type::Page]]"
wikitext
text/x-wiki
[[Has type::Page]]
666e6688ce789d9cde9da0be0dc012492a201d15
Main Page
0
1
1
2020-12-30T12:59:18Z
MediaWiki default
0
wikitext
text/x-wiki
<strong>MediaWiki has been installed.</strong>
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.
== Getting started ==
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki]
5702e4d5fd9173246331a889294caf01a3ad3706
3
1
2020-12-30T13:08:22Z
Jacques Ducloy
1
Replaced content with "<strong>MediaWiki has been installed.</strong>"
wikitext
text/x-wiki
<strong>MediaWiki has been installed.</strong>
f9258c71a228af0042963ede708ea7e98c7d9694
User:Jacques Ducloy
2
2
2
2020-12-30T13:04:21Z
Jacques Ducloy
1
Created page with "==Testing area== * [[{{FULLPAGENAME}}/Testing area|Testing area]]"
wikitext
text/x-wiki
==Testing area==
* [[{{FULLPAGENAME}}/Testing area|Testing area]]
d7a2bf4466dac3a5aa14eeedbeb2738a5122189d
Wicri:Upload a file
900
3
4
2020-12-30T13:08:48Z
Jacques Ducloy
1
Created page with "From here, you can either: *[[Special:Upload|upload a file locally]] *[[wic-demo.istex.pool:Special:Upload|upload a file on the multimedia repository of Wicri network]]"
wikitext
text/x-wiki
From here, you can either:
*[[Special:Upload|upload a file locally]]
*[[wic-demo.istex.pool:Special:Upload|upload a file on the multimedia repository of Wicri network]]
9eacf15c78114bf11ec2441bfa06c68a01bf17aa
User:Jacques Ducloy/Testing area
2
4
5
2020-12-30T13:12:56Z
Jacques Ducloy
1
Created page with "* [[User:Jacques Ducloy/Testing area/Images]]"
wikitext
text/x-wiki
* [[User:Jacques Ducloy/Testing area/Images]]
ce27f8389b5c6b083aa7de6e2ddd41404f3bdf22
User:Jacques Ducloy/Testing area/Images
2
5
6
2020-12-30T13:13:15Z
Jacques Ducloy
1
Created page with "[[File:Merson Gautier Chanson de Roland.jpg|300px|thumb|Page de garde de la Chanson de Roland]] [[File:Flag of the United Kingdom.svg|300px]]"
wikitext
text/x-wiki
[[File:Merson Gautier Chanson de Roland.jpg|300px|thumb|Page de garde de la Chanson de Roland]]
[[File:Flag of the United Kingdom.svg|300px]]
ba75fcbe75a26c3c857410ebd58be2c17dc7aab6
smw/schema:Group:Schema properties
112
6
7
2020-12-30T13:14:48Z
127.0.0.1
0
Semantic MediaWiki group import
smw/schema
application/json
{
"type": "PROPERTY_GROUP_SCHEMA",
"groups": {
"schema_group": {
"canonical_name": "Schema properties",
"message_key": "smw-property-group-label-schema-group",
"property_keys": [
"_SCHEMA_TYPE",
"_SCHEMA_DEF",
"_SCHEMA_DESC",
"_SCHEMA_TAG",
"_SCHEMA_LINK",
"_FORMAT_SCHEMA",
"_CONSTRAINT_SCHEMA",
"_PROFILE_SCHEMA"
]
}
},
"tags": [
"group",
"property group"
]
}
fdba38d9db40d0248af036f81b4b7fdb74f6170d
smw/schema:Group:Predefined properties
112
7
8
2020-12-30T13:14:48Z
127.0.0.1
0
Semantic MediaWiki group import
smw/schema
application/json
{
"type": "PROPERTY_GROUP_SCHEMA",
"groups": {
"administrative_group": {
"canonical_name": "Adminstrative properties",
"message_key": "smw-property-group-label-administrative-properties",
"property_keys": [
"_MDAT",
"_CDAT",
"_NEWP",
"_LEDT",
"_DTITLE",
"_CHGPRO",
"_EDIP",
"_ERRC"
]
},
"classification_group": {
"canonical_name": "Classification properties",
"message_key": "smw-property-group-label-classification-properties",
"property_keys": [
"_INST",
"_PPGR",
"_SUBP",
"_SUBC"
]
},
"content_group": {
"canonical_name": "Content properties",
"message_key": "smw-property-group-label-content-properties",
"property_keys": [
"_SOBJ",
"_ASK",
"_MEDIA",
"_MIME",
"_ATTCH_LINK",
"_FILE_ATTCH",
"_CONT_TYPE",
"_CONT_AUTHOR",
"_CONT_LEN",
"_CONT_LANG",
"_CONT_TITLE",
"_CONT_DATE",
"_CONT_KEYW",
"_TRANS",
"_TRANS_SOURCE",
"_TRANS_GROUP"
]
},
"declarative_group": {
"canonical_name": "Declarative properties",
"message_key": "smw-property-group-label-declarative-properties",
"property_keys": [
"_TYPE",
"_UNIT",
"_IMPO",
"_CONV",
"_SERV",
"_PVAL",
"_LIST",
"_PREC",
"_PDESC",
"_PPLB",
"_PVAP",
"_PVALI",
"_PVUC",
"_PEID",
"_PEFU"
]
}
},
"tags": [
"group",
"property group"
]
}
8536eb8767d6dc5a87a0b4f7791b9cd791acbd75
MediaWiki:Smw import skos
8
8
9
2020-12-30T13:14:48Z
127.0.0.1
0
Semantic MediaWiki default vocabulary import
wikitext
text/x-wiki
http://www.w3.org/2004/02/skos/core#|[http://www.w3.org/TR/skos-reference/skos.rdf Simple Knowledge Organization System (SKOS)]
altLabel|Type:Monolingual text
broader|Type:Annotation URI
broaderTransitive|Type:Annotation URI
broadMatch|Type:Annotation URI
changeNote|Type:Text
closeMatch|Type:Annotation URI
Collection|Class
Concept|Class
ConceptScheme|Class
definition|Type:Text
editorialNote|Type:Text
exactMatch|Type:Annotation URI
example|Type:Text
hasTopConcept|Type:Page
hiddenLabel|Type:String
historyNote|Type:Text
inScheme|Type:Page
mappingRelation|Type:Page
member|Type:Page
memberList|Type:Page
narrower|Type:Annotation URI
narrowerTransitive|Type:Annotation URI
narrowMatch|Type:Annotation URI
notation|Type:Text
note|Type:Text
OrderedCollection|Class
prefLabel|Type:String
related|Type:Annotation URI
relatedMatch|Type:Annotation URI
scopeNote|Type:Text
semanticRelation|Type:Page
topConceptOf|Type:Page
[[Category:Imported vocabulary]]
4327e3118f75f756b955108e04693a361d19c2cb
MediaWiki:Smw import foaf
8
9
10
2020-12-30T13:14:48Z
127.0.0.1
0
Semantic MediaWiki default vocabulary import
wikitext
text/x-wiki
http://xmlns.com/foaf/0.1/|[http://www.foaf-project.org/ Friend Of A Friend]
name|Type:Text
homepage|Type:URL
mbox|Type:Email
mbox_sha1sum|Type:Text
depiction|Type:URL
phone|Type:Text
Person|Category
Organization|Category
knows|Type:Page
member|Type:Page
[[Category:Imported vocabulary]]
2be18fc91e334e0c7f23bea734cdc2a301fd86e8
MediaWiki:Smw import owl
8
10
11
2020-12-30T13:14:49Z
127.0.0.1
0
Semantic MediaWiki default vocabulary import
wikitext
text/x-wiki
http://www.w3.org/2002/07/owl#|[http://www.w3.org/2002/07/owl Web Ontology Language (OWL)]
AllDifferent|Category
allValuesFrom|Type:Page
AnnotationProperty|Category
backwardCompatibleWith|Type:Page
cardinality|Type:Number
Class|Category
comment|Type:Page
complementOf|Type:Page
DataRange|Category
DatatypeProperty|Category
DeprecatedClass|Category
DeprecatedProperty|Category
differentFrom|Type:Page
disjointWith|Type:Page
distinctMembers|Type:Page
equivalentClass|Type:Page
equivalentProperty|Type:Page
FunctionalProperty|Category
hasValue|Type:Page
imports|Type:Page
incompatibleWith|Type:Page
intersectionOf|Type:Page
InverseFunctionalProperty|Category
inverseOf|Type:Page
isDefinedBy|Type:Page
label|Type:Page
maxCardinality|Type:Number
minCardinality|Type:Number
Nothing|Category
ObjectProperty|Category
oneOf|Type:Page
onProperty|Type:Page
Ontology|Category
OntologyProperty|Category
owl|Type:Page
priorVersion|Type:Page
Restriction|Category
sameAs|Type:Page
seeAlso|Type:Page
someValuesFrom|Type:Page
SymmetricProperty|Category
Thing|Category
TransitiveProperty|Category
unionOf|Type:Page
versionInfo|Type:Page
[[Category:Imported vocabulary]]
c109cc4c667590611dc35b3d06655129c572809a
Property:Foaf:knows
102
11
12
2020-12-30T13:14:49Z
127.0.0.1
0
Semantic MediaWiki default vocabulary import
wikitext
text/x-wiki
* [[Imported from::foaf:knows]]
* [[Property description::A person known by this person (indicating some level of reciprocated interaction between the parties).@en]]
[[Category:Imported vocabulary]] {{DISPLAYTITLE:foaf:knows}}
e9134ab265b9bc923266ffa2bbcde2b59557202a
Property:Foaf:name
102
12
13
2020-12-30T13:14:49Z
127.0.0.1
0
Semantic MediaWiki default vocabulary import
wikitext
text/x-wiki
* [[Imported from::foaf:name]]
* [[Property description::A name for some thing or agent.@en]]
[[Category:Imported vocabulary]] {{DISPLAYTITLE:foaf:name}}
2a8b3537cd6d95e741d56a2fe5b824216824c2e3
Property:Foaf:homepage
102
13
14
2020-12-30T13:14:49Z
127.0.0.1
0
Semantic MediaWiki default vocabulary import
wikitext
text/x-wiki
* [[Imported from::foaf:homepage]]
* [[Property description::URL of the homepage of something, which is a general web resource.@en]]
[[Category:Imported vocabulary]] {{DISPLAYTITLE:foaf:homepage}}
083058f1760bcc251820336dbe29dee9a38516e6
Property:Owl:differentFrom
102
14
15
2020-12-30T13:14:49Z
127.0.0.1
0
Semantic MediaWiki default vocabulary import
wikitext
text/x-wiki
* [[Imported from::owl:differentFrom]]
* [[Property description::The property that determines that two given individuals are different.@en]]
[[Category:Imported vocabulary]] {{DISPLAYTITLE:owl:differentFrom}}
d706757d4fb8eff4bb5622ea05ea7cab2f3b1a0c
File:Https---upload.wikimedia.org-wikipedia-commons-c-c8-Example.ogg
6
15
16
2020-12-30T13:21:29Z
Jacques Ducloy
1
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
User:Jacques Ducloy/Testing area
2
4
17
5
2020-12-30T13:23:37Z
Jacques Ducloy
1
wikitext
text/x-wiki
* [[User:Jacques Ducloy/Testing area/Images]]
* [[User:Jacques Ducloy/Testing area/Math]]
5cd4e9a573ad288ef0cf3ece693bc00ed9256243
19
17
2020-12-30T13:25:29Z
Jacques Ducloy
1
wikitext
text/x-wiki
* [[User:Jacques Ducloy/Testing area/Images]]
* [[User:Jacques Ducloy/Testing area/Math]]
* [[User:Jacques Ducloy/Testing area/Musique]]
9153ec2c1e80bb8d9eedb6423a1f389dc708598f
21
19
2020-12-30T13:26:42Z
Jacques Ducloy
1
wikitext
text/x-wiki
* [[User:Jacques Ducloy/Testing area/Images]]
* [[User:Jacques Ducloy/Testing area/Math]]
* [[User:Jacques Ducloy/Testing area/Musique]]
* [[User:Jacques Ducloy/Testing area/Maps]]
08424f698977ed43eced5a3513175511b3d7a9b4
User:Jacques Ducloy/Testing area/Math
2
16
18
2020-12-30T13:23:58Z
Jacques Ducloy
1
Created page with "*élémentaire <math>x+y</math> * puis <math>\sqrt[n]{x}</math>."
wikitext
text/x-wiki
*élémentaire
<math>x+y</math>
* puis
<math>\sqrt[n]{x}</math>.
a3fa4bd96f0778e1cdf2d1c73c551ff308aea83f
User:Jacques Ducloy/Testing area/Musique
2
17
20
2020-12-30T13:25:50Z
Jacques Ducloy
1
Created page with "<score sound="1">\relative c'' { \time 4/4 \key c \major c4 g8 g a4 g r b^> c^> r \bar "|." } \addlyrics { Shave and a hair -- cut: two bits. }</score>"
wikitext
text/x-wiki
<score sound="1">\relative c'' { \time 4/4 \key c \major
c4 g8 g a4 g r b^> c^> r \bar "|." }
\addlyrics { Shave and a hair -- cut: two bits. }</score>
354d0dd7ee64014b9b5ac6fdd301afc735704ae0
User:Jacques Ducloy/Testing area/Maps
2
18
22
2020-12-30T13:27:25Z
Jacques Ducloy
1
Created page with "{{#display_map:Berlin; Brussel; 40° 42' 46.02" N, 74° 0' 21.39" W}} <center> {{#display_points: 45.911, 4.652 ~ Savigny ; 45.817, 4.5747 ~ Alix |height=300px |width=300p..."
wikitext
text/x-wiki
{{#display_map:Berlin; Brussel; 40° 42' 46.02" N, 74° 0' 21.39" W}}
<center>
{{#display_points: 45.911, 4.652 ~ Savigny ; 45.817, 4.5747 ~ Alix
|height=300px
|width=300px
|service=openlayers
|zoom=9}}
</center>
3caf36ee9f3c4b9da9b72c9f9c05b1e2d1c83f79
Template:Clear
10
50
86
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div style="clear:{{{1|both}}};"></div><noinclude>
{{documentation}}
</noinclude>
38bab3e3d7fbd3d6800d46556e60bc6bac494d72
Template:Clr
10
51
88
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Clear]]
275fae600d37d8811f7441d0c6e8fbb0c2d1cfa3
Template:Clear/doc
10
52
90
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{high-risk| 1610000+ }}
{{Template shortcut|-|Br|Clr}}
This template adds <code><div style="clear:both;"></div></code>, <code><div style="clear:left;"></div></code>, or <code><div style="clear:right;"></div></code>;
for technical XHTML details, see [[Template talk:Clear]].
{{tlx|clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
==Usage==
{{Nosubst|The markup provided will be confusing to many editors, and as this template provides documentation for itself, there is little justification for substitution.}}
<nowiki>{{clear}}</nowiki>
<nowiki>{{clear|left}}</nowiki>
<nowiki>{{clear|right}}</nowiki>
===Example without {{tlf|clear}}===
[[File:HeidelbergTun.jpg|200px|left]]
{{Lorem}}
====New section without template====
See how this section starts at the right of the image?
{{clear}}
===Example that uses {{tlf|clear}}===
[[File:HeidelbergTun.jpg|200px|left]]
{{Lorem}}<br/>'''{{tnull|clear}}'''
{{clear}}
====New section with template====
See how this section appears below the image?
{{#ifeq:{{FULLPAGENAME}}|Template:Clear|
===TemplateData===
{{TemplateDataHeader}}
<templatedata>{
"description": "Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images, so text will appear on a full width line under the image.",
"params": {
"1": {
"label": "side",
"description": "can be 'right' or 'left' so content is delayed until just the right or left column is complete. The default clears both columns.",
"type": "string",
"required": false
}
}
}</templatedata>
}}
==See also==
* {{tl|Clear left}}
* {{tl|Clear right}}
* {{tl|Float}}
* {{tl|Stack}}
<includeonly>
[[Category:Line-handling templates]]
[[Category:Wikipedia XHTML tag-replacing templates]]
</includeonly>
f36bf19e6524fb1617b62de8cf19df9b644b08bc
Template:Box for import Wikipedia
10
103
192
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:Logo Import Wikipédia 1.png|80px|logo import Wikipedia]]
|{{{text}}}
|}
</div><noinclude>
This template must be used in order to comment an Import for Wikipedia.
Syntax:
<pre>
{{Box for import Wikipedia
|text= Lorem ipsum...
}}
</pre>
[[Category:Import Wikipedia]]
[[fr:Modèle:Boîte pour import Wikipédia]]
</noinclude>
44c4fc7350d20b242477e947e4b819ff3be93483
Template:Template imported from Wikipedia
10
104
194
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Box for import Wikipedia
|text=Template imported from Wikipedia, see:
* original one (Wikipedia): [[wikipedia:Template:{{PAGENAME}}|Template:{{PAGENAME}}]]{{#if:{{{url|}}}|, uploaded version : [{{{url}}}]}}.
{{#switch:{{{adaptation|}}}|page=
* local adaptations are described on: [[Template talk:{{PAGENAME}}|Template discussion page]].
|no=
|below=
* local adaptations are described below:<hr/>{{{text}}}
}}
}}
[[Category:Template imported from Wikipedia]]<noinclude>
This template must be used in order to indicate that it comes from Wikipedia.
[[fr:Modèle:Modèle importé de Wikipédia]]
[[de:Vorlage:Vorlage von Wikipedia hochgeladen]]
</noinclude>
561480013694828dad7c9f488f2c67631abf191f
Template:Template imported from Wikipedia in French
10
105
196
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Box for import Wikipedia
|text=Template imported from Wikipedia in French, see:
* original one (Wikipedia in Franch): [[wikipedia.fr:Modèle:{{PAGENAME}}|Modèle:{{PAGENAME}}]]{{#if:{{{url|}}}|, uploaded version : [{{{url}}}]}}.
{{#switch:{{{adaptation|}}}|page=
* local adaptations are described on: [[Template talk:{{PAGENAME}}|Template discussion page]].
|no=
|below=
* local adaptations are described below:<hr/>{{{text}}}
}}
}}
[[Category:Template imported from Wikipedia]]<noinclude>
This template must be used in order to indicate that it comes from Wikipedia in Franch.
[[fr:Modèle:Modèle importé de Wikipédia France]]
</noinclude>
15974e0aa9c086294fd08f4c58311ef5640d7b0b
Template:Page imported from Wikipedia
10
106
198
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:Logo Import Wikipédia 1.png|80px|logo import Wikipédia]]
|{{{intro}}} ([http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License Creative Commons Attribution-ShareAlike]).
Source : [[wikipedia:{{PAGENAME}}|{{PAGENAME}}]] from [[wikipedia:Main Page|Wikipedia, The Free Encyclopedia. ]] ([{{{url}}} auteurs] ).
|}
</div>[[Category:Page imported from Wikipédia]]</includeonly><noinclude>
This template must be used with a page which is imported from Wikipedia.
<code>
<nowiki>{{</nowiki>Page imported from Wikipedia
|'''intro''' =''introduction sentence''
|'''url''' = ''authors url''
<nowiki>}}</nowiki>
</code>
See also: [[Modèle:Paragraphe importé de Wikipédia]]
[[fr:Modèle:Page importée de Wikipédia]]
[[Category:Page imported from Wikipedia]]
[[Category:Template for Wicri banner]]
</noinclude>
5d74ceb423f7a3f3a49c746bd6dd10f6f5c83238
Template:File imported from Commons
10
107
200
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{Box for import Wikipedia
|text= File imported from Wikipedia Commons, see:
* original one (Wikipedia): [[commons:File:{{{File|{{PAGENAME}}}}}|File:{{{File|{{PAGENAME}}}}}]]{{#if:{{{url|}}}|, uploaded version : [{{{url}}}]}}.
{{#switch:{{{adaptation|}}}|page=
* local adaptations are described on: [[Template talk:{{PAGENAME}}|Template discussion page]].
|no=
|below=
* local adaptations are described below:<hr/>{{{text}}}
}}
}}
[[Category:File imported from Wikimedia Commons]]</includeonly><noinclude>
This template must be used in order to indicate that it comes from Wikipedia.
<nowiki>{{File imported from Commons</nowiki>
|File= (optional) ''name of the file if the names are different''
|url= (mandatory) ''url of last update on Commons''
}}
[[Category:Import Wikipedia]]
[[fr:Modèle:Fichier importé de Wikimedia Commons]]
</noinclude>
23da914a2c87edb905c8aa8083f9418573f6874e
Template:Template imported from Commons
10
108
202
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{Box for import Wikipedia
|text= Template imported from Wikipedia Commons, see:
* original one (Wikipedia): [[commons:Template:{{PAGENAME}}|File:{{PAGENAME}}]]{{#if:{{{url|}}}|, uploaded version : [{{{url}}}]}}.
{{#switch:{{{adaptation|}}}|page=
* local adaptations are described on: [[Template talk:{{PAGENAME}}|Template discussion page]].
|no=
|below=
* local adaptations are described below:<hr/>{{{text}}}
}}
}}
[[Category:Template imported from Wikimedia Commons]]</includeonly><noinclude>
This template must be used in order to indicate that it comes from Wikipedia.
[[Category:Import Wikipedia]]
[[fr:Modèle:Fichier importé de Wikimedia Commons]]
</noinclude>
31ebdb80e4e4e87df5e946235cd008f9255bbc5c
Template:Upload/Template from Wikipedia
10
109
204
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Upload/Banner/Wikipedia
|text={{{introduction|This template bas been uploaded from [[Wikipedia]]}}}. ([http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-Share-Alike License 3.0]).
* Source : « {{{page|[[wikipedia:Template:{{PAGENAME}}{{!}}{{PAGENAME}}]]}}} » ([http://{{{url}}}] ) from: ''[[wikipedia:Main Page|Wikipedia in English]] ''
{{{compléments|}}}
}}
<noinclude>
;parameters:
:* introduction
:* page -
:* url - ''mandatory''
::This parameter links to effective page with id number (obtained with history)
:* complements
[[fr:Modèle:Téléchargement/Page Wikipédia]]
[[de:Vorlage:Herunterladen/Seite von Wikipedia]]
</noinclude>
871d605bdb0662489cff0d5eda8db29f56d07746
Template:Upload/Page from Wikipedia
10
110
206
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Upload/Banner/Wikipedia
|text={{{introduction|This page bas been uploaded from [[Wikipedia]]}}}. ([http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-Share-Alike License 3.0]).
* Source : « {{{page|[[wikipedia:{{PAGENAME}}{{!}}{{PAGENAME}}]]}}} » ([http://{{{url}}}] ) from: ''[[wikipedia:Main Page|Wikipedia in English]] ''
{{{compléments|}}}
}}
<noinclude>
;parameters:
:* introduction
:* page -
:* url - ''mandatory''
::This parameter links to effective page with id number (obtained with history)
:* complements
[[fr:Modèle:Téléchargement/Page Wikipédia]]
[[de:Vorlage:Herunterladen/Seite von Wikipedia]]
</noinclude>
def9d4a99a543df8c43ee9cf9ae34b6651d3b71a
Template:Upload/Banner
10
111
208
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:{{{logo|Nuvola apps forward arrow.png}}}|{{{logo size|80px}}}|{{{logo message|upload logo}}}]]
|{{{text}}}
|}
</div><noinclude>
This template is a basic one for downloading from external sites.
[[fr:Modèle:Téléchargement/Bannière]]
</noinclude>
02d9892ced0f7cff0358421694c304ff2c1baedc
Template:Upload/Banner/Wikipedia
10
112
210
2020-12-30T20:53:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Upload/Banner
|logo=Logo Import Wikipédia 1.png
|text={{{text}}}
}}
<noinclude>
[[fr:Modèle:Téléchargement/Bannière/Wikipédia]]
[[de:Vorlage:Herunterladen/Banner/Wikipedia]]
</noinclude>
dea74983b8cdd2a3bda5979cbd1d4baa75b058fd
Template:Documentation
10
53
92
2020-12-30T20:53:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
ce7fd93f18c46b4fa871bf679afd05cbda72d8c4
Module:Documentation
828
54
94
2020-12-30T20:53:08Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module implements {{documentation}}.
-- Get required modules.
local getArgs = require('Module:Arguments').getArgs
local messageBox = require('Module:Message box')
-- Get the config table.
local cfg = mw.loadData('Module:Documentation/config')
local p = {}
-- Often-used functions.
local ugsub = mw.ustring.gsub
----------------------------------------------------------------------------
-- Helper functions
--
-- These are defined as local functions, but are made available in the p
-- table for testing purposes.
----------------------------------------------------------------------------
local function message(cfgKey, valArray, expectType)
--[[
-- Gets a message from the cfg table and formats it if appropriate.
-- The function raises an error if the value from the cfg table is not
-- of the type expectType. The default type for expectType is 'string'.
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message "foo-message" had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
--]]
local msg = cfg[cfgKey]
expectType = expectType or 'string'
if type(msg) ~= expectType then
error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2)
end
if not valArray then
return msg
end
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4)
end
local ret = ugsub(msg, '$([1-9][0-9]*)', getMessageVal)
return ret
end
p.message = message
local function makeWikilink(page, display)
if display then
return mw.ustring.format('[[%s|%s]]', page, display)
else
return mw.ustring.format('[[%s]]', page)
end
end
p.makeWikilink = makeWikilink
local function makeCategoryLink(cat, sort)
local catns = mw.site.namespaces[14].name
return makeWikilink(catns .. ':' .. cat, sort)
end
p.makeCategoryLink = makeCategoryLink
local function makeUrlLink(url, display)
return mw.ustring.format('[%s %s]', url, display)
end
p.makeUrlLink = makeUrlLink
local function makeToolbar(...)
local ret = {}
local lim = select('#', ...)
if lim < 1 then
return nil
end
for i = 1, lim do
ret[#ret + 1] = select(i, ...)
end
return '<small style="font-style: normal;">(' .. table.concat(ret, ' | ') .. ')</small>'
end
p.makeToolbar = makeToolbar
----------------------------------------------------------------------------
-- Argument processing
----------------------------------------------------------------------------
local function makeInvokeFunc(funcName)
return function (frame)
local args = getArgs(frame, {
valueFunc = function (key, value)
if type(value) == 'string' then
value = value:match('^%s*(.-)%s*$') -- Remove whitespace.
if key == 'heading' or value ~= '' then
return value
else
return nil
end
else
return value
end
end
})
return p[funcName](args)
end
end
----------------------------------------------------------------------------
-- Main function
----------------------------------------------------------------------------
p.main = makeInvokeFunc('_main')
function p._main(args)
--[[
-- This function defines logic flow for the module.
-- @args - table of arguments passed by the user
--
-- Messages:
-- 'main-div-id' --> 'template-documentation'
-- 'main-div-classes' --> 'template-documentation iezoomfix'
--]]
local env = p.getEnvironment(args)
local root = mw.html.create()
root
:wikitext(p.protectionTemplate(env))
:wikitext(p.sandboxNotice(args, env))
-- This div tag is from {{documentation/start box}}, but moving it here
-- so that we don't have to worry about unclosed tags.
:tag('div')
:attr('id', message('main-div-id'))
:addClass(message('main-div-classes'))
:newline()
:wikitext(p._startBox(args, env))
:wikitext(p._content(args, env))
:tag('div')
:css('clear', 'both') -- So right or left floating items don't stick out of the doc box.
:newline()
:done()
:done()
:wikitext(p._endBox(args, env))
:wikitext(p.addTrackingCategories(env))
return tostring(root)
end
----------------------------------------------------------------------------
-- Environment settings
----------------------------------------------------------------------------
function p.getEnvironment(args)
--[[
-- Returns a table with information about the environment, including title objects and other namespace- or
-- path-related data.
-- @args - table of arguments passed by the user
--
-- Title objects include:
-- env.title - the page we are making documentation for (usually the current title)
-- env.templateTitle - the template (or module, file, etc.)
-- env.docTitle - the /doc subpage.
-- env.sandboxTitle - the /sandbox subpage.
-- env.testcasesTitle - the /testcases subpage.
-- env.printTitle - the print version of the template, located at the /Print subpage.
--
-- Data includes:
-- env.protectionLevels - the protection levels table of the title object.
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value
-- returned will be nil.
--]]
local env, envFuncs = {}, {}
-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value
-- returned by that function is memoized in the env table so that we don't call any of the functions
-- more than once. (Nils won't be memoized.)
setmetatable(env, {
__index = function (t, key)
local envFunc = envFuncs[key]
if envFunc then
local success, val = pcall(envFunc)
if success then
env[key] = val -- Memoise the value.
return val
end
end
return nil
end
})
function envFuncs.title()
-- The title object for the current page, or a test page passed with args.page.
local title
local titleArg = args.page
if titleArg then
title = mw.title.new(titleArg)
else
title = mw.title.getCurrentTitle()
end
return title
end
function envFuncs.templateTitle()
--[[
-- The template (or module, etc.) title object.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
-- 'testcases-subpage' --> 'testcases'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local subpage = title.subpageText
if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') then
return mw.title.makeTitle(subjectSpace, title.baseText)
else
return mw.title.makeTitle(subjectSpace, title.text)
end
end
function envFuncs.docTitle()
--[[
-- Title object of the /doc subpage.
-- Messages:
-- 'doc-subpage' --> 'doc'
--]]
local title = env.title
local docname = args[1] -- User-specified doc page.
local docpage
if docname then
docpage = docname
else
docpage = env.docpageBase .. '/' .. message('doc-subpage')
end
return mw.title.new(docpage)
end
function envFuncs.sandboxTitle()
--[[
-- Title object for the /sandbox subpage.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage'))
end
function envFuncs.testcasesTitle()
--[[
-- Title object for the /testcases subpage.
-- Messages:
-- 'testcases-subpage' --> 'testcases'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage'))
end
function envFuncs.printTitle()
--[[
-- Title object for the /Print subpage.
-- Messages:
-- 'print-subpage' --> 'Print'
--]]
return env.templateTitle:subPageTitle(message('print-subpage'))
end
function envFuncs.protectionLevels()
-- The protection levels table of the title object.
return env.title.protectionLevels
end
function envFuncs.subjectSpace()
-- The subject namespace number.
return mw.site.namespaces[env.title.namespace].subject.id
end
function envFuncs.docSpace()
-- The documentation namespace number. For most namespaces this is the same as the
-- subject namespace. However, pages in the Article, File, MediaWiki or Category
-- namespaces must have their /doc, /sandbox and /testcases pages in talk space.
local subjectSpace = env.subjectSpace
if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then
return subjectSpace + 1
else
return subjectSpace
end
end
function envFuncs.docpageBase()
-- The base page of the /doc, /sandbox, and /testcases subpages.
-- For some namespaces this is the talk page, rather than the template page.
local templateTitle = env.templateTitle
local docSpace = env.docSpace
local docSpaceText = mw.site.namespaces[docSpace].name
-- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon.
return docSpaceText .. ':' .. templateTitle.text
end
function envFuncs.compareUrl()
-- Diff link between the sandbox and the main template using [[Special:ComparePages]].
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
if templateTitle.exists and sandboxTitle.exists then
local compareUrl = mw.uri.fullUrl(
'Special:ComparePages',
{page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText}
)
return tostring(compareUrl)
else
return nil
end
end
return env
end
----------------------------------------------------------------------------
-- Auxiliary templates
----------------------------------------------------------------------------
function p.sandboxNotice(args, env)
--[=[
-- Generates a sandbox notice for display above sandbox pages.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-notice-image' --> '[[Image:Sandbox.svg|50px|alt=|link=]]'
-- 'sandbox-notice-blurb' --> 'This is the $1 for $2.'
-- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).'
-- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page'
-- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module sandbox]] page'
-- 'sandbox-notice-pagetype-other' --> 'sandbox page'
-- 'sandbox-notice-compare-link-display' --> 'diff'
-- 'sandbox-notice-testcases-blurb' --> 'See also the companion subpage for $1.'
-- 'sandbox-notice-testcases-link-display' --> 'test cases'
-- 'sandbox-category' --> 'Template sandboxes'
--]=]
local title = env.title
local sandboxTitle = env.sandboxTitle
local templateTitle = env.templateTitle
local subjectSpace = env.subjectSpace
if not (subjectSpace and title and sandboxTitle and templateTitle and mw.title.equals(title, sandboxTitle)) then
return nil
end
-- Build the table of arguments to pass to {{ombox}}. We need just two fields, "image" and "text".
local omargs = {}
omargs.image = message('sandbox-notice-image')
-- Get the text. We start with the opening blurb, which is something like
-- "This is the template sandbox for [[Template:Foo]] (diff)."
local text = ''
local pagetype
if subjectSpace == 10 then
pagetype = message('sandbox-notice-pagetype-template')
elseif subjectSpace == 828 then
pagetype = message('sandbox-notice-pagetype-module')
else
pagetype = message('sandbox-notice-pagetype-other')
end
local templateLink = makeWikilink(templateTitle.prefixedText)
local compareUrl = env.compareUrl
if compareUrl then
local compareDisplay = message('sandbox-notice-compare-link-display')
local compareLink = makeUrlLink(compareUrl, compareDisplay)
text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink})
else
text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})
end
-- Get the test cases page blurb if the page exists. This is something like
-- "See also the companion subpage for [[Template:Foo/testcases|test cases]]."
local testcasesTitle = env.testcasesTitle
if testcasesTitle and testcasesTitle.exists then
if testcasesTitle.namespace == mw.site.namespaces.Module.id then
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink})
else
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-blurb', {testcasesLink})
end
end
-- Add the sandbox to the sandbox category.
text = text .. makeCategoryLink(message('sandbox-category'))
omargs.text = text
local ret = '<div style="clear: both;"></div>'
ret = ret .. messageBox.main('ombox', omargs)
return ret
end
function p.protectionTemplate(env)
-- Generates the padlock icon in the top right.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'protection-template' --> 'pp-template'
-- 'protection-template-args' --> {docusage = 'yes'}
local protectionLevels, mProtectionBanner
local title = env.title
protectionLevels = env.protectionLevels
if not protectionLevels then
return nil
end
local editProt = protectionLevels.edit and protectionLevels.edit[1]
local moveProt = protectionLevels.move and protectionLevels.move[1]
if editProt then
-- The page is edit-protected.
mProtectionBanner = require('Module:Protection banner')
local reason = message('protection-reason-edit')
return mProtectionBanner._main{reason, small = true}
elseif moveProt and moveProt ~= 'autoconfirmed' then
-- The page is move-protected but not edit-protected. Exclude move
-- protection with the level "autoconfirmed", as this is equivalent to
-- no move protection at all.
mProtectionBanner = require('Module:Protection banner')
return mProtectionBanner._main{action = 'move', small = true}
else
return nil
end
end
----------------------------------------------------------------------------
-- Start box
----------------------------------------------------------------------------
p.startBox = makeInvokeFunc('_startBox')
function p._startBox(args, env)
--[[
-- This function generates the start box.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make
-- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox
-- which generate the box HTML.
--]]
env = env or p.getEnvironment(args)
local links
local content = args.content
if not content then
-- No need to include the links if the documentation is on the template page itself.
local linksData = p.makeStartBoxLinksData(args, env)
if linksData then
links = p.renderStartBoxLinks(linksData)
end
end
-- Generate the start box html.
local data = p.makeStartBoxData(args, env, links)
if data then
return p.renderStartBox(data)
else
-- User specified no heading.
return nil
end
end
function p.makeStartBoxLinksData(args, env)
--[[
-- Does initial processing of data to make the [view] [edit] [history] [purge] links.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'view-link-display' --> 'view'
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'purge-link-display' --> 'purge'
-- 'file-docpage-preload' --> 'Template:Documentation/preload-filespace'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'docpage-preload' --> 'Template:Documentation/preload'
-- 'create-link-display' --> 'create'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local docTitle = env.docTitle
if not title or not docTitle then
return nil
end
local data = {}
data.title = title
data.docTitle = docTitle
-- View, display, edit, and purge links if /doc exists.
data.viewLinkDisplay = message('view-link-display')
data.editLinkDisplay = message('edit-link-display')
data.historyLinkDisplay = message('history-link-display')
data.purgeLinkDisplay = message('purge-link-display')
-- Create link if /doc doesn't exist.
local preload = args.preload
if not preload then
if subjectSpace == 6 then -- File namespace
preload = message('file-docpage-preload')
elseif subjectSpace == 828 then -- Module namespace
preload = message('module-preload')
else
preload = message('docpage-preload')
end
end
data.preload = preload
data.createLinkDisplay = message('create-link-display')
return data
end
function p.renderStartBoxLinks(data)
--[[
-- Generates the [view][edit][history][purge] or [create] links from the data table.
-- @data - a table of data generated by p.makeStartBoxLinksData
--]]
local function escapeBrackets(s)
-- Escapes square brackets with HTML entities.
s = s:gsub('%[', '[') -- Replace square brackets with HTML entities.
s = s:gsub('%]', ']')
return s
end
local ret
local docTitle = data.docTitle
local title = data.title
if docTitle.exists then
local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)
local editLink = makeUrlLink(docTitle:fullUrl{action = 'edit'}, data.editLinkDisplay)
local historyLink = makeUrlLink(docTitle:fullUrl{action = 'history'}, data.historyLinkDisplay)
local purgeLink = makeUrlLink(title:fullUrl{action = 'purge'}, data.purgeLinkDisplay)
ret = '[%s] [%s] [%s] [%s]'
ret = escapeBrackets(ret)
ret = mw.ustring.format(ret, viewLink, editLink, historyLink, purgeLink)
else
local createLink = makeUrlLink(docTitle:fullUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay)
ret = '[%s]'
ret = escapeBrackets(ret)
ret = mw.ustring.format(ret, createLink)
end
return ret
end
function p.makeStartBoxData(args, env, links)
--[=[
-- Does initial processing of data to pass to the start-box render function, p.renderStartBox.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error.
--
-- Messages:
-- 'documentation-icon-wikitext' --> '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- 'template-namespace-heading' --> 'Template documentation'
-- 'module-namespace-heading' --> 'Module documentation'
-- 'file-namespace-heading' --> 'Summary'
-- 'other-namespaces-heading' --> 'Documentation'
-- 'start-box-linkclasses' --> 'mw-editsection-like plainlinks'
-- 'start-box-link-id' --> 'doc_editlinks'
-- 'testcases-create-link-display' --> 'create'
--]=]
local subjectSpace = env.subjectSpace
if not subjectSpace then
-- Default to an "other namespaces" namespace, so that we get at least some output
-- if an error occurs.
subjectSpace = 2
end
local data = {}
-- Heading
local heading = args.heading -- Blank values are not removed.
if heading == '' then
-- Don't display the start box if the heading arg is defined but blank.
return nil
end
if heading then
data.heading = heading
elseif subjectSpace == 10 then -- Template namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('template-namespace-heading')
elseif subjectSpace == 828 then -- Module namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('module-namespace-heading')
elseif subjectSpace == 6 then -- File namespace
data.heading = message('file-namespace-heading')
else
data.heading = message('other-namespaces-heading')
end
-- Heading CSS
local headingStyle = args['heading-style']
if headingStyle then
data.headingStyleText = headingStyle
elseif subjectSpace == 10 then
-- We are in the template or template talk namespaces.
data.headingFontWeight = 'bold'
data.headingFontSize = '125%'
else
data.headingFontSize = '150%'
end
-- Data for the [view][edit][history][purge] or [create] links.
if links then
data.linksClass = message('start-box-linkclasses')
data.linksId = message('start-box-link-id')
data.links = links
end
return data
end
function p.renderStartBox(data)
-- Renders the start box html.
-- @data - a table of data generated by p.makeStartBoxData.
local sbox = mw.html.create('div')
sbox
:css('padding-bottom', '3px')
:css('border-bottom', '1px solid #aaa')
:css('margin-bottom', '1ex')
:newline()
:tag('span')
:cssText(data.headingStyleText)
:css('font-weight', data.headingFontWeight)
:css('font-size', data.headingFontSize)
:wikitext(data.heading)
local links = data.links
if links then
sbox:tag('span')
:addClass(data.linksClass)
:attr('id', data.linksId)
:wikitext(links)
end
return tostring(sbox)
end
----------------------------------------------------------------------------
-- Documentation content
----------------------------------------------------------------------------
p.content = makeInvokeFunc('_content')
function p._content(args, env)
-- Displays the documentation contents
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
local content = args.content
if not content and docTitle and docTitle.exists then
content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText}
end
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
-- of docs are interpreted correctly.
return '\n' .. (content or '') .. '\n'
end
p.contentTitle = makeInvokeFunc('_contentTitle')
function p._contentTitle(args, env)
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
if not args.content and docTitle and docTitle.exists then
return docTitle.prefixedText
else
return ''
end
end
----------------------------------------------------------------------------
-- End box
----------------------------------------------------------------------------
p.endBox = makeInvokeFunc('_endBox')
function p._endBox(args, env)
--[=[
-- This function generates the end box (also known as the link box).
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'fmbox-id' --> 'documentation-meta-data'
-- 'fmbox-style' --> 'background-color: #ecfcf4'
-- 'fmbox-textstyle' --> 'font-style: italic'
--
-- The HTML is generated by the {{fmbox}} template, courtesy of [[Module:Message box]].
--]=]
-- Get environment data.
env = env or p.getEnvironment(args)
local subjectSpace = env.subjectSpace
local docTitle = env.docTitle
if not subjectSpace or not docTitle then
return nil
end
-- Check whether we should output the end box at all. Add the end
-- box by default if the documentation exists or if we are in the
-- user, module or template namespaces.
local linkBox = args['link box']
if linkBox == 'off'
or not (
docTitle.exists
or subjectSpace == 2
or subjectSpace == 828
or subjectSpace == 10
)
then
return nil
end
-- Assemble the arguments for {{fmbox}}.
local fmargs = {}
fmargs.id = message('fmbox-id') -- Sets 'documentation-meta-data'
fmargs.image = 'none'
fmargs.style = message('fmbox-style') -- Sets 'background-color: #ecfcf4'
fmargs.textstyle = message('fmbox-textstyle') -- 'font-style: italic;'
-- Assemble the fmbox text field.
local text = ''
if linkBox then
text = text .. linkBox
else
text = text .. (p.makeDocPageBlurb(args, env) or '') -- "This documentation is transcluded from [[Foo]]."
if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then
-- We are in the user, template or module namespaces.
-- Add sandbox and testcases links.
-- "Editors can experiment in this template's sandbox and testcases pages."
text = text .. (p.makeExperimentBlurb(args, env) or '')
text = text .. '<br />'
if not args.content and not args[1] then
-- "Please add categories to the /doc subpage."
-- Don't show this message with inline docs or with an explicitly specified doc page,
-- as then it is unclear where to add the categories.
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template"
local printBlurb = p.makePrintBlurb(args, env) -- Two-line blurb about print versions of templates.
if printBlurb then
text = text .. '<br />' .. printBlurb
end
end
end
fmargs.text = text
return messageBox.main('fmbox', fmargs)
end
function p.makeDocPageBlurb(args, env)
--[=[
-- Makes the blurb "This documentation is transcluded from [[Template:Foo]] (edit, history)".
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'transcluded-from-blurb' -->
-- 'The above [[Wikipedia:Template documentation|documentation]]
-- is [[Wikipedia:Transclusion|transcluded]] from $1.'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'create-link-display' --> 'create'
-- 'create-module-doc-blurb' -->
-- 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
--]=]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local ret
if docTitle.exists then
-- /doc exists; link to it.
local docLink = makeWikilink(docTitle.prefixedText)
local editUrl = docTitle:fullUrl{action = 'edit'}
local editDisplay = message('edit-link-display')
local editLink = makeUrlLink(editUrl, editDisplay)
local historyUrl = docTitle:fullUrl{action = 'history'}
local historyDisplay = message('history-link-display')
local historyLink = makeUrlLink(historyUrl, historyDisplay)
ret = message('transcluded-from-blurb', {docLink})
.. ' '
.. makeToolbar(editLink, historyLink)
.. '<br />'
elseif env.subjectSpace == 828 then
-- /doc does not exist; ask to create it.
local createUrl = docTitle:fullUrl{action = 'edit', preload = message('module-preload')}
local createDisplay = message('create-link-display')
local createLink = makeUrlLink(createUrl, createDisplay)
ret = message('create-module-doc-blurb', {createLink})
.. '<br />'
end
return ret
end
function p.makeExperimentBlurb(args, env)
--[[
-- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-link-display' --> 'sandbox'
-- 'sandbox-edit-link-display' --> 'edit'
-- 'compare-link-display' --> 'diff'
-- 'module-sandbox-preload' --> 'Template:Documentation/preload-module-sandbox'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'sandbox-create-link-display' --> 'create'
-- 'mirror-edit-summary' --> 'Create sandbox version of $1'
-- 'mirror-link-display' --> 'mirror'
-- 'mirror-link-preload' --> 'Template:Documentation/mirror'
-- 'sandbox-link-display' --> 'sandbox'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display'--> 'edit'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'testcases-create-link-display' --> 'create'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display' --> 'edit'
-- 'module-testcases-preload' --> 'Template:Documentation/preload-module-testcases'
-- 'template-testcases-preload' --> 'Template:Documentation/preload-testcases'
-- 'experiment-blurb-module' --> 'Editors can experiment in this module's $1 and $2 pages.'
-- 'experiment-blurb-template' --> 'Editors can experiment in this template's $1 and $2 pages.'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
local testcasesTitle = env.testcasesTitle
local templatePage = templateTitle.prefixedText
if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then
return nil
end
-- Make links.
local sandboxLinks, testcasesLinks
if sandboxTitle.exists then
local sandboxPage = sandboxTitle.prefixedText
local sandboxDisplay = message('sandbox-link-display')
local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay)
local sandboxEditUrl = sandboxTitle:fullUrl{action = 'edit'}
local sandboxEditDisplay = message('sandbox-edit-link-display')
local sandboxEditLink = makeUrlLink(sandboxEditUrl, sandboxEditDisplay)
local compareUrl = env.compareUrl
local compareLink
if compareUrl then
local compareDisplay = message('compare-link-display')
compareLink = makeUrlLink(compareUrl, compareDisplay)
end
sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink)
else
local sandboxPreload
if subjectSpace == 828 then
sandboxPreload = message('module-sandbox-preload')
else
sandboxPreload = message('template-sandbox-preload')
end
local sandboxCreateUrl = sandboxTitle:fullUrl{action = 'edit', preload = sandboxPreload}
local sandboxCreateDisplay = message('sandbox-create-link-display')
local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay)
local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)})
local mirrorPreload = message('mirror-link-preload')
local mirrorUrl = sandboxTitle:fullUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary}
if subjectSpace == 828 then
mirrorUrl = sandboxTitle:fullUrl{action = 'edit', preload = templateTitle.prefixedText, summary = mirrorSummary}
end
local mirrorDisplay = message('mirror-link-display')
local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay)
sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink)
end
if testcasesTitle.exists then
local testcasesPage = testcasesTitle.prefixedText
local testcasesDisplay = message('testcases-link-display')
local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay)
local testcasesEditUrl = testcasesTitle:fullUrl{action = 'edit'}
local testcasesEditDisplay = message('testcases-edit-link-display')
local testcasesEditLink = makeUrlLink(testcasesEditUrl, testcasesEditDisplay)
-- for Modules, add testcases run link if exists
if subjectSpace == 828 and testcasesTitle.talkPageTitle and testcasesTitle.talkPageTitle.exists then
local testcasesRunLinkDisplay = message('testcases-run-link-display')
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink, testcasesRunLink)
else
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink)
end
else
local testcasesPreload
if subjectSpace == 828 then
testcasesPreload = message('module-testcases-preload')
else
testcasesPreload = message('template-testcases-preload')
end
local testcasesCreateUrl = testcasesTitle:fullUrl{action = 'edit', preload = testcasesPreload}
local testcasesCreateDisplay = message('testcases-create-link-display')
local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay)
testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink)
end
local messageName
if subjectSpace == 828 then
messageName = 'experiment-blurb-module'
else
messageName = 'experiment-blurb-template'
end
return message(messageName, {sandboxLinks, testcasesLinks})
end
function p.makeCategoriesBlurb(args, env)
--[[
-- Generates the text "Please add categories to the /doc subpage."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'doc-link-display' --> '/doc'
-- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.'
--]]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display'))
return message('add-categories-blurb', {docPathLink})
end
function p.makeSubpagesBlurb(args, env)
--[[
-- Generates the "Subpages of this template" link.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'template-pagetype' --> 'template'
-- 'module-pagetype' --> 'module'
-- 'default-pagetype' --> 'page'
-- 'subpages-link-display' --> 'Subpages of this $1'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
if not subjectSpace or not templateTitle then
return nil
end
local pagetype
if subjectSpace == 10 then
pagetype = message('template-pagetype')
elseif subjectSpace == 828 then
pagetype = message('module-pagetype')
else
pagetype = message('default-pagetype')
end
local subpagesLink = makeWikilink(
'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/',
message('subpages-link-display', {pagetype})
)
return message('subpages-blurb', {subpagesLink})
end
function p.makePrintBlurb(args, env)
--[=[
-- Generates the blurb displayed when there is a print version of the template available.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'print-link-display' --> '/Print'
-- 'print-blurb' --> 'A [[Help:Books/for experts#Improving the book layout|print version]]'
-- .. ' of this template exists at $1.'
-- .. ' If you make a change to this template, please update the print version as well.'
-- 'display-print-category' --> true
-- 'print-category' --> 'Templates with print versions'
--]=]
local printTitle = env.printTitle
if not printTitle then
return nil
end
local ret
if printTitle.exists then
local printLink = makeWikilink(printTitle.prefixedText, message('print-link-display'))
ret = message('print-blurb', {printLink})
local displayPrintCategory = message('display-print-category', nil, 'boolean')
if displayPrintCategory then
ret = ret .. makeCategoryLink(message('print-category'))
end
end
return ret
end
----------------------------------------------------------------------------
-- Tracking categories
----------------------------------------------------------------------------
function p.addTrackingCategories(env)
--[[
-- Check if {{documentation}} is transcluded on a /doc or /testcases page.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'display-strange-usage-category' --> true
-- 'doc-subpage' --> 'doc'
-- 'testcases-subpage' --> 'testcases'
-- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage'
--
-- /testcases pages in the module namespace are not categorised, as they may have
-- {{documentation}} transcluded automatically.
--]]
local title = env.title
local subjectSpace = env.subjectSpace
if not title or not subjectSpace then
return nil
end
local subpage = title.subpageText
local ret = ''
if message('display-strange-usage-category', nil, 'boolean')
and (
subpage == message('doc-subpage')
or subjectSpace ~= 828 and subpage == message('testcases-subpage')
)
then
ret = ret .. makeCategoryLink(message('strange-usage-category'))
end
return ret
end
return p
a63d1b5b0f61a188d1f167ce1d4c03fe26d5f1dc
Module:Documentation/config
828
55
96
2020-12-30T20:53:10Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
----------------------------------------------------------------------------------------------------
--
-- Configuration for Module:Documentation
--
-- Here you can set the values of the parameters and messages used in Module:Documentation to
-- localise it to your wiki and your language. Unless specified otherwise, values given here
-- should be string values.
----------------------------------------------------------------------------------------------------
local cfg = {} -- Do not edit this line.
----------------------------------------------------------------------------------------------------
-- Protection template configuration
----------------------------------------------------------------------------------------------------
-- cfg['protection-reason-edit']
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-reason-edit'] = 'template'
--[[
----------------------------------------------------------------------------------------------------
-- Sandbox notice configuration
--
-- On sandbox pages the module can display a template notifying users that the current page is a
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a
-- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the
-- messages that the notices contains.
----------------------------------------------------------------------------------------------------
--]]
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[Image:Sandbox.svg|50px|alt=|link=]]'
--[[
-- cfg['sandbox-notice-pagetype-template']
-- cfg['sandbox-notice-pagetype-module']
-- cfg['sandbox-notice-pagetype-other']
-- The page type of the sandbox page. The message that is displayed depends on the current subject
-- namespace. This message is used in either cfg['sandbox-notice-blurb'] or
-- cfg['sandbox-notice-diff-blurb'].
--]]
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page'
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'
--[[
-- cfg['sandbox-notice-blurb']
-- cfg['sandbox-notice-diff-blurb']
-- cfg['sandbox-notice-diff-display']
-- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence
-- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page
-- type, which is either cfg['sandbox-notice-pagetype-template'],
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between
-- the sandbox and the main template. The display value of the diff link is set by
-- cfg['sandbox-notice-compare-link-display'].
--]]
cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.'
cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).'
cfg['sandbox-notice-compare-link-display'] = 'diff'
--[[
-- cfg['sandbox-notice-testcases-blurb']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-run-blurb']
-- cfg['sandbox-notice-testcases-run-link-display']
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link.
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test
-- cases page, and $2 is a link to the page to run it.
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test
-- cases.
--]]
cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.'
cfg['sandbox-notice-testcases-link-display'] = 'test cases'
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
-- cfg['sandbox-category']
-- A category to add to all template sandboxes.
cfg['sandbox-category'] = 'Template sandboxes'
----------------------------------------------------------------------------------------------------
-- Start box configuration
----------------------------------------------------------------------------------------------------
-- cfg['documentation-icon-wikitext']
-- The wikitext for the icon shown at the top of the template.
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- cfg['template-namespace-heading']
-- The heading shown in the template namespace.
cfg['template-namespace-heading'] = 'Template documentation'
-- cfg['module-namespace-heading']
-- The heading shown in the module namespace.
cfg['module-namespace-heading'] = 'Module documentation'
-- cfg['file-namespace-heading']
-- The heading shown in the file namespace.
cfg['file-namespace-heading'] = 'Summary'
-- cfg['other-namespaces-heading']
-- The heading shown in other namespaces.
cfg['other-namespaces-heading'] = 'Documentation'
-- cfg['view-link-display']
-- The text to display for "view" links.
cfg['view-link-display'] = 'view'
-- cfg['edit-link-display']
-- The text to display for "edit" links.
cfg['edit-link-display'] = 'edit'
-- cfg['history-link-display']
-- The text to display for "history" links.
cfg['history-link-display'] = 'history'
-- cfg['purge-link-display']
-- The text to display for "purge" links.
cfg['purge-link-display'] = 'purge'
-- cfg['create-link-display']
-- The text to display for "create" links.
cfg['create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Link box (end box) configuration
----------------------------------------------------------------------------------------------------
-- cfg['transcluded-from-blurb']
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from $1.'
--[[
-- cfg['create-module-doc-blurb']
-- Notice displayed in the module namespace when the documentation subpage does not exist.
-- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the
-- display cfg['create-link-display'].
--]]
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
----------------------------------------------------------------------------------------------------
-- Experiment blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['experiment-blurb-template']
-- cfg['experiment-blurb-module']
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.
-- It is only shown in the template and module namespaces. With the default English settings, it
-- might look like this:
--
-- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
--
-- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links.
--
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending
-- on what namespace we are in.
--
-- Parameters:
--
-- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display'])
--
-- If the sandbox doesn't exist, it is in the format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display'])
--
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload']
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display']
-- loads a default edit summary of cfg['mirror-edit-summary'].
--
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:
--
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display'])
--
-- If the test cases page doesn't exist, it is in the format:
--
-- cfg['testcases-link-display'] (cfg['testcases-create-link-display'])
--
-- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the
-- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current
-- namespace.
--]]
cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages."
cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages."
----------------------------------------------------------------------------------------------------
-- Sandbox link configuration
----------------------------------------------------------------------------------------------------
-- cfg['sandbox-subpage']
-- The name of the template subpage typically used for sandboxes.
cfg['sandbox-subpage'] = 'sandbox'
-- cfg['template-sandbox-preload']
-- Preload file for template sandbox pages.
cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox'
-- cfg['module-sandbox-preload']
-- Preload file for Lua module sandbox pages.
cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox'
-- cfg['sandbox-link-display']
-- The text to display for "sandbox" links.
cfg['sandbox-link-display'] = 'sandbox'
-- cfg['sandbox-edit-link-display']
-- The text to display for sandbox "edit" links.
cfg['sandbox-edit-link-display'] = 'edit'
-- cfg['sandbox-create-link-display']
-- The text to display for sandbox "create" links.
cfg['sandbox-create-link-display'] = 'create'
-- cfg['compare-link-display']
-- The text to display for "compare" links.
cfg['compare-link-display'] = 'diff'
-- cfg['mirror-edit-summary']
-- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the
-- template page.
cfg['mirror-edit-summary'] = 'Create sandbox version of $1'
-- cfg['mirror-link-display']
-- The text to display for "mirror" links.
cfg['mirror-link-display'] = 'mirror'
-- cfg['mirror-link-preload']
-- The page to preload when a user clicks the "mirror" link.
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'
----------------------------------------------------------------------------------------------------
-- Test cases link configuration
----------------------------------------------------------------------------------------------------
-- cfg['testcases-subpage']
-- The name of the template subpage typically used for test cases.
cfg['testcases-subpage'] = 'testcases'
-- cfg['template-testcases-preload']
-- Preload file for template test cases pages.
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases'
-- cfg['module-testcases-preload']
-- Preload file for Lua module test cases pages.
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases'
-- cfg['testcases-link-display']
-- The text to display for "testcases" links.
cfg['testcases-link-display'] = 'testcases'
-- cfg['testcases-edit-link-display']
-- The text to display for test cases "edit" links.
cfg['testcases-edit-link-display'] = 'edit'
-- cfg['testcases-run-link-display']
-- The text to display for test cases "run" links.
cfg['testcases-run-link-display'] = 'run'
-- cfg['testcases-create-link-display']
-- The text to display for test cases "create" links.
cfg['testcases-create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Add categories blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['add-categories-blurb']
-- Text to direct users to add categories to the /doc subpage. Not used if the "content" or
-- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = 'Please add categories to the $1 subpage.'
-- cfg['doc-link-display']
-- The text to display when linking to the /doc subpage.
cfg['doc-link-display'] = '/doc'
----------------------------------------------------------------------------------------------------
-- Subpages link configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['subpages-blurb']
-- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a
-- display value of cfg['subpages-link-display']. In the English version this blurb is simply
-- the link followed by a period, and the link display provides the actual text.
--]]
cfg['subpages-blurb'] = '$1.'
--[[
-- cfg['subpages-link-display']
-- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'],
-- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in
-- the template namespace, the module namespace, or another namespace.
--]]
cfg['subpages-link-display'] = 'Subpages of this $1'
-- cfg['template-pagetype']
-- The pagetype to display for template pages.
cfg['template-pagetype'] = 'template'
-- cfg['module-pagetype']
-- The pagetype to display for Lua module pages.
cfg['module-pagetype'] = 'module'
-- cfg['default-pagetype']
-- The pagetype to display for pages other than templates or Lua modules.
cfg['default-pagetype'] = 'page'
----------------------------------------------------------------------------------------------------
-- Doc link configuration
----------------------------------------------------------------------------------------------------
-- cfg['doc-subpage']
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
-- cfg['file-docpage-preload']
-- Preload file for documentation page in the file namespace.
cfg['file-docpage-preload'] = 'Template:Documentation/preload-filespace'
-- cfg['docpage-preload']
-- Preload file for template documentation pages in all namespaces.
cfg['docpage-preload'] = 'Template:Documentation/preload'
-- cfg['module-preload']
-- Preload file for Lua module documentation pages.
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'
----------------------------------------------------------------------------------------------------
-- Print version configuration
----------------------------------------------------------------------------------------------------
-- cfg['print-subpage']
-- The name of the template subpage used for print versions.
cfg['print-subpage'] = 'Print'
-- cfg['print-link-display']
-- The text to display when linking to the /Print subpage.
cfg['print-link-display'] = '/Print'
-- cfg['print-blurb']
-- Text to display if a /Print subpage exists. $1 is a link to the subpage with a display value of cfg['print-link-display'].
cfg['print-blurb'] = 'A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at $1.'
.. ' If you make a change to this template, please update the print version as well.'
-- cfg['display-print-category']
-- Set to true to enable output of cfg['print-category'] if a /Print subpage exists.
-- This should be a boolean value (either true or false).
cfg['display-print-category'] = true
-- cfg['print-category']
-- Category to output if cfg['display-print-category'] is set to true, and a /Print subpage exists.
cfg['print-category'] = 'Templates with print versions'
----------------------------------------------------------------------------------------------------
-- HTML and CSS configuration
----------------------------------------------------------------------------------------------------
-- cfg['main-div-id']
-- The "id" attribute of the main HTML "div" tag.
cfg['main-div-id'] = 'template-documentation'
-- cfg['main-div-classes']
-- The CSS classes added to the main HTML "div" tag.
cfg['main-div-classes'] = 'template-documentation iezoomfix'
-- cfg['start-box-linkclasses']
-- The CSS classes used for the [view][edit][history] or [create] links in the start box.
cfg['start-box-linkclasses'] = 'mw-editsection-like plainlinks'
-- cfg['start-box-link-id']
-- The HTML "id" attribute for the links in the start box.
cfg['start-box-link-id'] = 'doc_editlinks'
----------------------------------------------------------------------------------------------------
-- {{fmbox}} template configuration
----------------------------------------------------------------------------------------------------
-- cfg['fmbox-id']
-- The id sent to the "id" parameter of the {{fmbox}} template.
cfg['fmbox-id'] = 'documentation-meta-data'
-- cfg['fmbox-style']
-- The value sent to the style parameter of {{fmbox}}.
cfg['fmbox-style'] = 'background-color: #ecfcf4'
-- cfg['fmbox-textstyle']
-- The value sent to the "textstyle parameter of {{fmbox}}.
cfg['fmbox-textstyle'] = 'font-style: italic'
----------------------------------------------------------------------------------------------------
-- Tracking category configuration
----------------------------------------------------------------------------------------------------
-- cfg['display-strange-usage-category']
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage
-- or a /testcases subpage. This should be a boolean value (either true or false).
cfg['display-strange-usage-category'] = true
-- cfg['strange-usage-category']
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'
--[[
----------------------------------------------------------------------------------------------------
-- End configuration
--
-- Don't edit anything below this line.
----------------------------------------------------------------------------------------------------
--]]
return cfg
37a2dfddf613853a4d472db0179b6fe844360519
Module:Arguments
828
56
98
2020-12-30T20:53:11Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local arguments = {}
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
if type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val == '' then
return nil
else
return val
end
else
return val
end
end
local function tidyValTrimOnly(key, val)
if type(val) == 'string' then
return val:match('^%s*(.-)%s*$')
else
return val
end
end
local function tidyValRemoveBlanksOnly(key, val)
if type(val) == 'string' then
if val:find('%S') then
return val
else
return nil
end
else
return val
end
end
local function tidyValNoChange(key, val)
return val
end
local function matchesTitle(given, title)
local tp = type( given )
return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title
end
local translate_mt = { __index = function(t, k) return k end }
function arguments.getArgs(frame, options)
checkType('getArgs', 1, frame, 'table', true)
checkType('getArgs', 2, options, 'table', true)
frame = frame or {}
options = options or {}
--[[
-- Set up argument translation.
--]]
options.translate = options.translate or {}
if getmetatable(options.translate) == nil then
setmetatable(options.translate, translate_mt)
end
if options.backtranslate == nil then
options.backtranslate = {}
for k,v in pairs(options.translate) do
options.backtranslate[v] = k
end
end
if options.backtranslate and getmetatable(options.backtranslate) == nil then
setmetatable(options.backtranslate, {
__index = function(t, k)
if options.translate[k] ~= k then
return nil
else
return k
end
end
})
end
--[[
-- Get the argument tables. If we were passed a valid frame object, get the
-- frame arguments (fargs) and the parent frame arguments (pargs), depending
-- on the options set and on the parent frame's availability. If we weren't
-- passed a valid frame object, we are being called from another Lua module
-- or from the debug console, so assume that we were passed a table of args
-- directly, and assign it to a new variable (luaArgs).
--]]
local fargs, pargs, luaArgs
if type(frame.args) == 'table' and type(frame.getParent) == 'function' then
if options.wrappers then
--[[
-- The wrappers option makes Module:Arguments look up arguments in
-- either the frame argument table or the parent argument table, but
-- not both. This means that users can use either the #invoke syntax
-- or a wrapper template without the loss of performance associated
-- with looking arguments up in both the frame and the parent frame.
-- Module:Arguments will look up arguments in the parent frame
-- if it finds the parent frame's title in options.wrapper;
-- otherwise it will look up arguments in the frame object passed
-- to getArgs.
--]]
local parent = frame:getParent()
if not parent then
fargs = frame.args
else
local title = parent:getTitle():gsub('/sandbox$', '')
local found = false
if matchesTitle(options.wrappers, title) then
found = true
elseif type(options.wrappers) == 'table' then
for _,v in pairs(options.wrappers) do
if matchesTitle(v, title) then
found = true
break
end
end
end
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.frameOnly == false then
pargs = parent.args
end
if not found or options.parentOnly == false then
fargs = frame.args
end
end
else
-- options.wrapper isn't set, so check the other options.
if not options.parentOnly then
fargs = frame.args
end
if not options.frameOnly then
local parent = frame:getParent()
pargs = parent and parent.args or nil
end
end
if options.parentFirst then
fargs, pargs = pargs, fargs
end
else
luaArgs = frame
end
-- Set the order of precedence of the argument tables. If the variables are
-- nil, nothing will be added to the table, which is how we avoid clashes
-- between the frame/parent args and the Lua args.
local argTables = {fargs}
argTables[#argTables + 1] = pargs
argTables[#argTables + 1] = luaArgs
--[[
-- Generate the tidyVal function. If it has been specified by the user, we
-- use that; if not, we choose one of four functions depending on the
-- options chosen. This is so that we don't have to call the options table
-- every time the function is called.
--]]
local tidyVal = options.valueFunc
if tidyVal then
if type(tidyVal) ~= 'function' then
error(
"bad value assigned to option 'valueFunc'"
.. '(function expected, got '
.. type(tidyVal)
.. ')',
2
)
end
elseif options.trim ~= false then
if options.removeBlanks ~= false then
tidyVal = tidyValDefault
else
tidyVal = tidyValTrimOnly
end
else
if options.removeBlanks ~= false then
tidyVal = tidyValRemoveBlanksOnly
else
tidyVal = tidyValNoChange
end
end
--[[
-- Set up the args, metaArgs and nilArgs tables. args will be the one
-- accessed from functions, and metaArgs will hold the actual arguments. Nil
-- arguments are memoized in nilArgs, and the metatable connects all of them
-- together.
--]]
local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}
setmetatable(args, metatable)
local function mergeArgs(tables)
--[[
-- Accepts multiple tables as input and merges their keys and values
-- into one table. If a value is already present it is not overwritten;
-- tables listed earlier have precedence. We are also memoizing nil
-- values, which can be overwritten if they are 's' (soft).
--]]
for _, t in ipairs(tables) do
for key, val in pairs(t) do
if metaArgs[key] == nil and nilArgs[key] ~= 'h' then
local tidiedVal = tidyVal(key, val)
if tidiedVal == nil then
nilArgs[key] = 's'
else
metaArgs[key] = tidiedVal
end
end
end
end
end
--[[
-- Define metatable behaviour. Arguments are memoized in the metaArgs table,
-- and are only fetched from the argument tables once. Fetching arguments
-- from the argument tables is the most resource-intensive step in this
-- module, so we try and avoid it where possible. For this reason, nil
-- arguments are also memoized, in the nilArgs table. Also, we keep a record
-- in the metatable of when pairs and ipairs have been called, so we do not
-- run pairs and ipairs on the argument tables more than once. We also do
-- not run ipairs on fargs and pargs if pairs has already been run, as all
-- the arguments will already have been copied over.
--]]
metatable.__index = function (t, key)
--[[
-- Fetches an argument when the args table is indexed. First we check
-- to see if the value is memoized, and if not we try and fetch it from
-- the argument tables. When we check memoization, we need to check
-- metaArgs before nilArgs, as both can be non-nil at the same time.
-- If the argument is not present in metaArgs, we also check whether
-- pairs has been run yet. If pairs has already been run, we return nil.
-- This is because all the arguments will have already been copied into
-- metaArgs by the mergeArgs function, meaning that any other arguments
-- must be nil.
--]]
if type(key) == 'string' then
key = options.translate[key]
end
local val = metaArgs[key]
if val ~= nil then
return val
elseif metatable.donePairs or nilArgs[key] then
return nil
end
for _, argTable in ipairs(argTables) do
local argTableVal = tidyVal(key, argTable[key])
if argTableVal ~= nil then
metaArgs[key] = argTableVal
return argTableVal
end
end
nilArgs[key] = 'h'
return nil
end
metatable.__newindex = function (t, key, val)
-- This function is called when a module tries to add a new value to the
-- args table, or tries to change an existing value.
if type(key) == 'string' then
key = options.translate[key]
end
if options.readOnly then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; the table is read-only',
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; overwriting existing arguments is not permitted',
2
)
elseif val == nil then
--[[
-- If the argument is to be overwritten with nil, we need to erase
-- the value in metaArgs, so that __index, __pairs and __ipairs do
-- not use a previous existing value, if present; and we also need
-- to memoize the nil in nilArgs, so that the value isn't looked
-- up in the argument tables if it is accessed again.
--]]
metaArgs[key] = nil
nilArgs[key] = 'h'
else
metaArgs[key] = val
end
end
local function translatenext(invariant)
local k, v = next(invariant.t, invariant.k)
invariant.k = k
if k == nil then
return nil
elseif type(k) ~= 'string' or not options.backtranslate then
return k, v
else
local backtranslate = options.backtranslate[k]
if backtranslate == nil then
-- Skip this one. This is a tail call, so this won't cause stack overflow
return translatenext(invariant)
else
return backtranslate, v
end
end
end
metatable.__pairs = function ()
-- Called when pairs is run on the args table.
if not metatable.donePairs then
mergeArgs(argTables)
metatable.donePairs = true
end
return translatenext, { t = metaArgs }
end
local function inext(t, i)
-- This uses our __index metamethod
local v = t[i + 1]
if v ~= nil then
return i + 1, v
end
end
metatable.__ipairs = function (t)
-- Called when ipairs is run on the args table.
return inext, t, 0
end
return args
end
return arguments
3134ecce8429b810d445e29eae115e2ae4c36c53
Module:Message box
828
57
100
2020-12-30T20:53:12Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This is a meta-module for producing message box templates, including
-- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}.
-- Load necessary modules.
require('Module:No globals')
local getArgs
local categoryHandler = require('Module:Category handler')._main
local yesno = require('Module:Yesno')
-- Get a language object for formatDate and ucfirst.
local lang = mw.language.getContentLanguage()
-- Define constants
local CONFIG_MODULE = 'Module:Message box/configuration'
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getTitleObject(...)
-- Get the title object, passing the function through pcall
-- in case we are over the expensive function count limit.
local success, title = pcall(mw.title.new, ...)
if success then
return title
end
end
local function union(t1, t2)
-- Returns the union of two arrays.
local vals = {}
for i, v in ipairs(t1) do
vals[v] = true
end
for i, v in ipairs(t2) do
vals[v] = true
end
local ret = {}
for k in pairs(vals) do
table.insert(ret, k)
end
table.sort(ret)
return ret
end
local function getArgNums(args, prefix)
local nums = {}
for k, v in pairs(args) do
local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$')
if num then
table.insert(nums, tonumber(num))
end
end
table.sort(nums)
return nums
end
--------------------------------------------------------------------------------
-- Box class definition
--------------------------------------------------------------------------------
local MessageBox = {}
MessageBox.__index = MessageBox
function MessageBox.new(boxType, args, cfg)
args = args or {}
local obj = {}
-- Set the title object and the namespace.
obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()
-- Set the config for our box type.
obj.cfg = cfg[boxType]
if not obj.cfg then
local ns = obj.title.namespace
-- boxType is "mbox" or invalid input
if ns == 0 then
obj.cfg = cfg.ambox -- main namespace
elseif ns == 6 then
obj.cfg = cfg.imbox -- file namespace
elseif ns == 14 then
obj.cfg = cfg.cmbox -- category namespace
else
local nsTable = mw.site.namespaces[ns]
if nsTable and nsTable.isTalk then
obj.cfg = cfg.tmbox -- any talk namespace
else
obj.cfg = cfg.ombox -- other namespaces or invalid input
end
end
end
-- Set the arguments, and remove all blank arguments except for the ones
-- listed in cfg.allowBlankParams.
do
local newArgs = {}
for k, v in pairs(args) do
if v ~= '' then
newArgs[k] = v
end
end
for i, param in ipairs(obj.cfg.allowBlankParams or {}) do
newArgs[param] = args[param]
end
obj.args = newArgs
end
-- Define internal data structure.
obj.categories = {}
obj.classes = {}
return setmetatable(obj, MessageBox)
end
function MessageBox:addCat(ns, cat, sort)
if not cat then
return nil
end
if sort then
cat = string.format('[[Category:%s|%s]]', cat, sort)
else
cat = string.format('[[Category:%s]]', cat)
end
self.categories[ns] = self.categories[ns] or {}
table.insert(self.categories[ns], cat)
end
function MessageBox:addClass(class)
if not class then
return nil
end
table.insert(self.classes, class)
end
function MessageBox:setParameters()
local args = self.args
local cfg = self.cfg
-- Get type data.
self.type = args.type
local typeData = cfg.types[self.type]
self.invalidTypeError = cfg.showInvalidTypeError
and self.type
and not typeData
typeData = typeData or cfg.types[cfg.default]
self.typeClass = typeData.class
self.typeImage = typeData.image
-- Find if the box has been wrongly substituted.
self.isSubstituted = cfg.substCheck and args.subst == 'SUBST'
-- Find whether we are using a small message box.
self.isSmall = cfg.allowSmall and (
cfg.smallParam and args.small == cfg.smallParam
or not cfg.smallParam and yesno(args.small)
)
-- Add attributes, classes and styles.
self.id = args.id
if yesno(args.plainlinks) ~= false then
self:addClass('plainlinks')
end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
end
if self.isSmall then
self:addClass(cfg.smallClass or 'mbox-small')
end
self:addClass(self.typeClass)
self:addClass(args.class)
self.style = args.style
self.attrs = args.attrs
-- Set text style.
self.textstyle = args.textstyle
-- Find if we are on the template page or not. This functionality is only
-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory
-- and cfg.templateCategoryRequireName are set.
self.useCollapsibleTextFields = cfg.useCollapsibleTextFields
if self.useCollapsibleTextFields
or cfg.templateCategory
and cfg.templateCategoryRequireName
then
self.name = args.name
if self.name then
local templateName = mw.ustring.match(
self.name,
'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
) or self.name
templateName = 'Template:' .. templateName
self.templateTitle = getTitleObject(templateName)
end
self.isTemplatePage = self.templateTitle
and mw.title.equals(self.title, self.templateTitle)
end
-- Process data for collapsible text fields. At the moment these are only
-- used in {{ambox}}.
if self.useCollapsibleTextFields then
-- Get the self.issue value.
if self.isSmall and args.smalltext then
self.issue = args.smalltext
else
local sect
if args.sect == '' then
sect = 'This ' .. (cfg.sectionDefault or 'page')
elseif type(args.sect) == 'string' then
sect = 'This ' .. args.sect
end
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
text = type(text) == 'string' and text or nil
local issues = {}
table.insert(issues, sect)
table.insert(issues, issue)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
end
-- Get the self.talk value.
local talk = args.talk
-- Show talk links on the template page or template subpages if the talk
-- parameter is blank.
if talk == ''
and self.templateTitle
and (
mw.title.equals(self.templateTitle, self.title)
or self.title:isSubpageOf(self.templateTitle)
)
then
talk = '#'
elseif talk == '' then
talk = nil
end
if talk then
-- If the talk value is a talk page, make a link to that page. Else
-- assume that it's a section heading, and make a link to the talk
-- page of the current page with that section heading.
local talkTitle = getTitleObject(talk)
local talkArgIsTalkPage = true
if not talkTitle or not talkTitle.isTalkPage then
talkArgIsTalkPage = false
talkTitle = getTitleObject(
self.title.text,
mw.site.namespaces[self.title.namespace].talk.id
)
end
if talkTitle and talkTitle.exists then
local talkText = 'Relevant discussion may be found on'
if talkArgIsTalkPage then
talkText = string.format(
'%s [[%s|%s]].',
talkText,
talk,
talkTitle.prefixedText
)
else
talkText = string.format(
'%s the [[%s#%s|talk page]].',
talkText,
talkTitle.prefixedText,
talk
)
end
self.talk = talkText
end
end
-- Get other values.
self.fix = args.fix ~= '' and args.fix or nil
local date
if args.date and args.date ~= '' then
date = args.date
elseif args.date == '' and self.isTemplatePage then
date = lang:formatDate('F Y')
end
if date then
self.date = string.format(" <small>''(%s)''</small>", date)
end
self.info = args.info
if yesno(args.removalnotice) then
self.removalNotice = cfg.removalNotice
end
end
-- Set the non-collapsible text field. At the moment this is used by all box
-- types other than ambox, and also by ambox when small=yes.
if self.isSmall then
self.text = args.smalltext or args.text
else
self.text = args.text
end
-- Set the below row.
self.below = cfg.below and args.below
-- General image settings.
self.imageCellDiv = not self.isSmall and cfg.imageCellDiv
self.imageEmptyCell = cfg.imageEmptyCell
if cfg.imageEmptyCellStyle then
self.imageEmptyCellStyle = 'border:none;padding:0px;width:1px'
end
-- Left image settings.
local imageLeft = self.isSmall and args.smallimage or args.image
if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
or not cfg.imageCheckBlank and imageLeft ~= 'none'
then
self.imageLeft = imageLeft
if not imageLeft then
local imageSize = self.isSmall
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage
or 'Imbox notice.png', imageSize)
end
end
-- Right image settings.
local imageRight = self.isSmall and args.smallimageright or args.imageright
if not (cfg.imageRightNone and imageRight == 'none') then
self.imageRight = imageRight
end
end
function MessageBox:setMainspaceCategories()
local args = self.args
local cfg = self.cfg
if not cfg.allowMainspaceCategories then
return nil
end
local nums = {}
for _, prefix in ipairs{'cat', 'category', 'all'} do
args[prefix .. '1'] = args[prefix]
nums = union(nums, getArgNums(args, prefix))
end
-- The following is roughly equivalent to the old {{Ambox/category}}.
local date = args.date
date = type(date) == 'string' and date
local preposition = 'from'
for _, num in ipairs(nums) do
local mainCat = args['cat' .. tostring(num)]
or args['category' .. tostring(num)]
local allCat = args['all' .. tostring(num)]
mainCat = type(mainCat) == 'string' and mainCat
allCat = type(allCat) == 'string' and allCat
if mainCat and date and date ~= '' then
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
self:addCat(0, catTitle)
catTitle = getTitleObject('Category:' .. catTitle)
if not catTitle or not catTitle.exists then
self:addCat(0, 'Articles with invalid date parameter in template')
end
elseif mainCat and (not date or date == '') then
self:addCat(0, mainCat)
end
if allCat then
self:addCat(0, allCat)
end
end
end
function MessageBox:setTemplateCategories()
local args = self.args
local cfg = self.cfg
-- Add template categories.
if cfg.templateCategory then
if cfg.templateCategoryRequireName then
if self.isTemplatePage then
self:addCat(10, cfg.templateCategory)
end
elseif not self.title.isSubpage then
self:addCat(10, cfg.templateCategory)
end
end
-- Add template error categories.
if cfg.templateErrorCategory then
local templateErrorCategory = cfg.templateErrorCategory
local templateCat, templateSort
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif self.isTemplatePage then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
for i, param in ipairs(paramsToCheck) do
if not args[param] then
count = count + 1
end
end
if count > 0 then
templateCat = templateErrorCategory
templateSort = tostring(count)
end
if self.categoryNums and #self.categoryNums > 0 then
templateCat = templateErrorCategory
templateSort = 'C'
end
end
self:addCat(10, templateCat, templateSort)
end
end
function MessageBox:setAllNamespaceCategories()
-- Set categories for all namespaces.
if self.invalidTypeError then
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
end
if self.isSubstituted then
self:addCat('all', 'Pages with incorrectly substituted templates')
end
end
function MessageBox:setCategories()
if self.title.namespace == 0 then
self:setMainspaceCategories()
elseif self.title.namespace == 10 then
self:setTemplateCategories()
end
self:setAllNamespaceCategories()
end
function MessageBox:renderCategories()
-- Convert category tables to strings and pass them through
-- [[Module:Category handler]].
return categoryHandler{
main = table.concat(self.categories[0] or {}),
template = table.concat(self.categories[10] or {}),
all = table.concat(self.categories.all or {}),
nocat = self.args.nocat,
page = self.args.page
}
end
function MessageBox:export()
local root = mw.html.create()
-- Add the subst check error.
if self.isSubstituted and self.name then
root:tag('b')
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
-- Create the box table.
local boxTable = root:tag('table')
boxTable:attr('id', self.id or nil)
for i, class in ipairs(self.classes or {}) do
boxTable:addClass(class or nil)
end
boxTable
:cssText(self.style or nil)
:attr('role', 'presentation')
if self.attrs then
boxTable:attr(self.attrs)
end
-- Add the left-hand image.
local row = boxTable:tag('tr')
if self.imageLeft then
local imageLeftCell = row:tag('td'):addClass('mbox-image')
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
-- is inside it. Divs use style="width: 52px;", which limits the
-- image width to 52px. If any images in a div are wider than that,
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):css('width', '52px')
end
imageLeftCell:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and
-- some don't. The old template code in templates where empty cells are
-- specified gives the following hint: "No image. Cell with some width
-- or padding necessary for text cell to have 100% width."
row:tag('td')
:addClass('mbox-empty-cell')
:cssText(self.imageEmptyCellStyle or nil)
end
-- Add the text.
local textCell = row:tag('td'):addClass('mbox-text')
if self.useCollapsibleTextFields then
-- The message box uses advanced text parameters that allow things to be
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellSpan = textCell:tag('span')
textCellSpan
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) and not self.isSmall then
textCellSpan:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellSpan:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellSpan
:tag('span')
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
if self.removalNotice then
textCellSpan:tag('small')
:addClass('hide-when-compact')
:tag('i')
:wikitext(string.format(" (%s)", self.removalNotice))
end
else
-- Default text formatting - anything goes.
textCell
:cssText(self.textstyle or nil)
:wikitext(self.text or nil)
end
-- Add the right-hand image.
if self.imageRight then
local imageRightCell = row:tag('td'):addClass('mbox-imageright')
if self.imageCellDiv then
-- If we are using a div, redefine imageRightCell so that the image
-- is inside it.
imageRightCell = imageRightCell:tag('div'):css('width', '52px')
end
imageRightCell
:wikitext(self.imageRight or nil)
end
-- Add the below row.
if self.below then
boxTable:tag('tr')
:tag('td')
:attr('colspan', self.imageRight and '3' or '2')
:addClass('mbox-text')
:cssText(self.textstyle or nil)
:wikitext(self.below or nil)
end
-- Add error message for invalid type parameters.
if self.invalidTypeError then
root:tag('div')
:css('text-align', 'center')
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
self.type or ''
))
end
-- Add categories.
root:wikitext(self:renderCategories() or nil)
return tostring(root)
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p, mt = {}, {}
function p._exportClasses()
-- For testing.
return {
MessageBox = MessageBox
}
end
function p.main(boxType, args, cfgTables)
local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))
box:setParameters()
box:setCategories()
return box:export()
end
function mt.__index(t, k)
return function (frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
end
end
return setmetatable(p, mt)
8fa1c9943ddcaf7bea934dd5ff80c273f27215c8
Module:Message box/configuration
828
58
102
2020-12-30T20:53:13Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ambox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ambox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ambox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'ambox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = 'article',
allowMainspaceCategories = true,
templateCategory = 'Article message templates',
templateCategoryRequireName = true,
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'cmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Ambox warning pn.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon4.svg'
},
system = {
class = 'fmbox-system',
image = 'Information icon4.svg'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'imbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'imbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Padlock-silver-medium.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox license.png' -- @todo We need an SVG version of this
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg'
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes'
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ombox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ombox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ombox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'ombox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'tmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'tmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'tmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCellStyle = true,
templateCategory = 'Talk message boxes'
}
}
0a35f7ed72823141fd5c661fd96cfa6d7a3a823a
Module:No globals
828
59
104
2020-12-30T20:53:13Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
local mt = getmetatable(_G) or {}
function mt.__index (t, k)
if k ~= 'arg' then
error('Tried to read nil global ' .. tostring(k), 2)
end
return nil
end
function mt.__newindex(t, k, v)
if k ~= 'arg' then
error('Tried to write global ' .. tostring(k), 2)
end
rawset(t, k, v)
end
setmetatable(_G, mt)
8ce3969f7d53b08bd00dabe4cc9780bc6afd412a
Module:Category handler
828
60
106
2020-12-30T20:53:14Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- --
-- CATEGORY HANDLER --
-- --
-- This module implements the {{category handler}} template in Lua, --
-- with a few improvements: all namespaces and all namespace aliases --
-- are supported, and namespace names are detected automatically for --
-- the local wiki. This module requires [[Module:Namespace detect]] --
-- and [[Module:Yesno]] to be available on the local wiki. It can be --
-- configured for different wikis by altering the values in --
-- [[Module:Category handler/config]], and pages can be blacklisted --
-- from categorisation by using [[Module:Category handler/blacklist]]. --
-- --
--------------------------------------------------------------------------------
-- Load required modules
local yesno = require('Module:Yesno')
-- Lazily load things we don't always need
local mShared, mappings
local p = {}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function trimWhitespace(s, removeBlanks)
if type(s) ~= 'string' then
return s
end
s = s:match('^%s*(.-)%s*$')
if removeBlanks then
if s ~= '' then
return s
else
return nil
end
else
return s
end
end
--------------------------------------------------------------------------------
-- CategoryHandler class
--------------------------------------------------------------------------------
local CategoryHandler = {}
CategoryHandler.__index = CategoryHandler
function CategoryHandler.new(data, args)
local obj = setmetatable({ _data = data, _args = args }, CategoryHandler)
-- Set the title object
do
local pagename = obj:parameter('demopage')
local success, titleObj
if pagename then
success, titleObj = pcall(mw.title.new, pagename)
end
if success and titleObj then
obj.title = titleObj
if titleObj == mw.title.getCurrentTitle() then
obj._usesCurrentTitle = true
end
else
obj.title = mw.title.getCurrentTitle()
obj._usesCurrentTitle = true
end
end
-- Set suppression parameter values
for _, key in ipairs{'nocat', 'categories'} do
local value = obj:parameter(key)
value = trimWhitespace(value, true)
obj['_' .. key] = yesno(value)
end
do
local subpage = obj:parameter('subpage')
local category2 = obj:parameter('category2')
if type(subpage) == 'string' then
subpage = mw.ustring.lower(subpage)
end
if type(category2) == 'string' then
subpage = mw.ustring.lower(category2)
end
obj._subpage = trimWhitespace(subpage, true)
obj._category2 = trimWhitespace(category2) -- don't remove blank values
end
return obj
end
function CategoryHandler:parameter(key)
local parameterNames = self._data.parameters[key]
local pntype = type(parameterNames)
if pntype == 'string' or pntype == 'number' then
return self._args[parameterNames]
elseif pntype == 'table' then
for _, name in ipairs(parameterNames) do
local value = self._args[name]
if value ~= nil then
return value
end
end
return nil
else
error(string.format(
'invalid config key "%s"',
tostring(key)
), 2)
end
end
function CategoryHandler:isSuppressedByArguments()
return
-- See if a category suppression argument has been set.
self._nocat == true
or self._categories == false
or (
self._category2
and self._category2 ~= self._data.category2Yes
and self._category2 ~= self._data.category2Negative
)
-- Check whether we are on a subpage, and see if categories are
-- suppressed based on our subpage status.
or self._subpage == self._data.subpageNo and self.title.isSubpage
or self._subpage == self._data.subpageOnly and not self.title.isSubpage
end
function CategoryHandler:shouldSkipBlacklistCheck()
-- Check whether the category suppression arguments indicate we
-- should skip the blacklist check.
return self._nocat == false
or self._categories == true
or self._category2 == self._data.category2Yes
end
function CategoryHandler:matchesBlacklist()
if self._usesCurrentTitle then
return self._data.currentTitleMatchesBlacklist
else
mShared = mShared or require('Module:Category handler/shared')
return mShared.matchesBlacklist(
self.title.prefixedText,
mw.loadData('Module:Category handler/blacklist')
)
end
end
function CategoryHandler:isSuppressed()
-- Find if categories are suppressed by either the arguments or by
-- matching the blacklist.
return self:isSuppressedByArguments()
or not self:shouldSkipBlacklistCheck() and self:matchesBlacklist()
end
function CategoryHandler:getNamespaceParameters()
if self._usesCurrentTitle then
return self._data.currentTitleNamespaceParameters
else
if not mappings then
mShared = mShared or require('Module:Category handler/shared')
mappings = mShared.getParamMappings(true) -- gets mappings with mw.loadData
end
return mShared.getNamespaceParameters(
self.title,
mappings
)
end
end
function CategoryHandler:namespaceParametersExist()
-- Find whether any namespace parameters have been specified.
-- We use the order "all" --> namespace params --> "other" as this is what
-- the old template did.
if self:parameter('all') then
return true
end
if not mappings then
mShared = mShared or require('Module:Category handler/shared')
mappings = mShared.getParamMappings(true) -- gets mappings with mw.loadData
end
for ns, params in pairs(mappings) do
for i, param in ipairs(params) do
if self._args[param] then
return true
end
end
end
if self:parameter('other') then
return true
end
return false
end
function CategoryHandler:getCategories()
local params = self:getNamespaceParameters()
local nsCategory
for i, param in ipairs(params) do
local value = self._args[param]
if value ~= nil then
nsCategory = value
break
end
end
if nsCategory ~= nil or self:namespaceParametersExist() then
-- Namespace parameters exist - advanced usage.
if nsCategory == nil then
nsCategory = self:parameter('other')
end
local ret = {self:parameter('all')}
local numParam = tonumber(nsCategory)
if numParam and numParam >= 1 and math.floor(numParam) == numParam then
-- nsCategory is an integer
ret[#ret + 1] = self._args[numParam]
else
ret[#ret + 1] = nsCategory
end
if #ret < 1 then
return nil
else
return table.concat(ret)
end
elseif self._data.defaultNamespaces[self.title.namespace] then
-- Namespace parameters don't exist, simple usage.
return self._args[1]
end
return nil
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p = {}
function p._exportClasses()
-- Used for testing purposes.
return {
CategoryHandler = CategoryHandler
}
end
function p._main(args, data)
data = data or mw.loadData('Module:Category handler/data')
local handler = CategoryHandler.new(data, args)
if handler:isSuppressed() then
return nil
end
return handler:getCategories()
end
function p.main(frame, data)
data = data or mw.loadData('Module:Category handler/data')
local args = require('Module:Arguments').getArgs(frame, {
wrappers = data.wrappers,
valueFunc = function (k, v)
v = trimWhitespace(v)
if type(k) == 'number' then
if v ~= '' then
return v
else
return nil
end
else
return v
end
end
})
return p._main(args, data)
end
return p
b74dd63857b24904ac452429b11213f18647471f
Module:Category handler/data
828
61
108
2020-12-30T20:53:15Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module assembles data to be passed to [[Module:Category handler]] using
-- mw.loadData. This includes the configuration data and whether the current
-- page matches the title blacklist.
local data = require('Module:Category handler/config')
local mShared = require('Module:Category handler/shared')
local blacklist = require('Module:Category handler/blacklist')
local title = mw.title.getCurrentTitle()
data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(
title.prefixedText,
blacklist
)
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
title,
mShared.getParamMappings()
)
return data
abbc68048ff698e88dda06b64ecf384bbf583120
Module:Category handler/config
828
62
110
2020-12-30T20:53:16Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- [[Module:Category handler]] configuration data --
-- Language-specific parameter names and values can be set here. --
-- For blacklist config, see [[Module:Category handler/blacklist]]. --
--------------------------------------------------------------------------------
local cfg = {} -- Don't edit this line.
--------------------------------------------------------------------------------
-- Start configuration data --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Parameter names --
-- These configuration items specify custom parameter names. --
-- To add one extra name, you can use this format: --
-- --
-- foo = 'parameter name', --
-- --
-- To add multiple names, you can use this format: --
-- --
-- foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'}, --
--------------------------------------------------------------------------------
cfg.parameters = {
-- The nocat and categories parameter suppress
-- categorisation. They are used with Module:Yesno, and work as follows:
--
-- cfg.nocat:
-- Result of yesno() Effect
-- true Categorisation is suppressed
-- false Categorisation is allowed, and
-- the blacklist check is skipped
-- nil Categorisation is allowed
--
-- cfg.categories:
-- Result of yesno() Effect
-- true Categorisation is allowed, and
-- the blacklist check is skipped
-- false Categorisation is suppressed
-- nil Categorisation is allowed
nocat = 'nocat',
categories = 'categories',
-- The parameter name for the legacy "category2" parameter. This skips the
-- blacklist if set to the cfg.category2Yes value, and suppresses
-- categorisation if present but equal to anything other than
-- cfg.category2Yes or cfg.category2Negative.
category2 = 'category2',
-- cfg.subpage is the parameter name to specify how to behave on subpages.
subpage = 'subpage',
-- The parameter for data to return in all namespaces.
all = 'all',
-- The parameter name for data to return if no data is specified for the
-- namespace that is detected.
other = 'other',
-- The parameter name used to specify a page other than the current page;
-- used for testing and demonstration.
demopage = 'page',
}
--------------------------------------------------------------------------------
-- Parameter values --
-- These are set values that can be used with certain parameters. Only one --
-- value can be specified, like this: --
-- --
-- cfg.foo = 'value name' -- --
--------------------------------------------------------------------------------
-- The following settings are used with the cfg.category2 parameter. Setting
-- cfg.category2 to cfg.category2Yes skips the blacklist, and if cfg.category2
-- is present but equal to anything other than cfg.category2Yes or
-- cfg.category2Negative then it supresses cateogrisation.
cfg.category2Yes = 'yes'
cfg.category2Negative = '¬'
-- The following settings are used with the cfg.subpage parameter.
-- cfg.subpageNo is the value to specify to not categorise on subpages;
-- cfg.subpageOnly is the value to specify to only categorise on subpages.
cfg.subpageNo = 'no'
cfg.subpageOnly = 'only'
--------------------------------------------------------------------------------
-- Default namespaces --
-- This is a table of namespaces to categorise by default. The keys are the --
-- namespace numbers. --
--------------------------------------------------------------------------------
cfg.defaultNamespaces = {
[ 0] = true, -- main
[ 6] = true, -- file
[ 12] = true, -- help
[ 14] = true, -- category
[100] = true, -- portal
[108] = true, -- book
}
--------------------------------------------------------------------------------
-- Wrappers --
-- This is a wrapper template or a list of wrapper templates to be passed to --
-- [[Module:Arguments]]. --
--------------------------------------------------------------------------------
cfg.wrappers = 'Template:Category handler'
--------------------------------------------------------------------------------
-- End configuration data --
--------------------------------------------------------------------------------
return cfg -- Don't edit this line.
373cd107b13a5b00e6a1b7e66a749f12502c849d
Module:Category handler/shared
828
63
112
2020-12-30T20:53:17Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module contains shared functions used by [[Module:Category handler]]
-- and its submodules.
local p = {}
function p.matchesBlacklist(page, blacklist)
for i, pattern in ipairs(blacklist) do
local match = mw.ustring.match(page, pattern)
if match then
return true
end
end
return false
end
function p.getParamMappings(useLoadData)
local dataPage = 'Module:Namespace detect/data'
if useLoadData then
return mw.loadData(dataPage).mappings
else
return require(dataPage).mappings
end
end
function p.getNamespaceParameters(titleObj, mappings)
-- We don't use title.nsText for the namespace name because it adds
-- underscores.
local mappingsKey
if titleObj.isTalkPage then
mappingsKey = 'talk'
else
mappingsKey = mw.site.namespaces[titleObj.namespace].name
end
mappingsKey = mw.ustring.lower(mappingsKey)
return mappings[mappingsKey] or {}
end
return p
d2d5de1a031e6ce97c242cbfa8afe7a92cb9eca5
Module:Category handler/blacklist
828
64
114
2020-12-30T20:53:18Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module contains the blacklist used by [[Module:Category handler]].
-- Pages that match Lua patterns in this list will not be categorised unless
-- categorisation is explicitly requested.
return {
'^Main Page$', -- don't categorise the main page.
-- Don't categorise the following pages or their subpages.
-- "%f[/\0]" matches if the next character is "/" or the end of the string.
'^Wikipedia:Cascade%-protected items%f[/\0]',
'^User:UBX%f[/\0]', -- The userbox "template" space.
'^User talk:UBX%f[/\0]',
-- Don't categorise subpages of these pages, but allow
-- categorisation of the base page.
'^Wikipedia:Template messages/.*$',
-- Don't categorise archives.
'/[aA]rchive',
"^Wikipedia:Administrators' noticeboard/IncidentArchive%d+$",
}
99582c2055a4d265f2760cc524c710b6f5d55d1a
Module:Namespace detect/data
828
65
116
2020-12-30T20:53:19Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Namespace detect data --
-- This module holds data for [[Module:Namespace detect]] to be loaded per --
-- page, rather than per #invoke, for performance reasons. --
--------------------------------------------------------------------------------
local cfg = require('Module:Namespace detect/config')
local function addKey(t, key, defaultKey)
if key ~= defaultKey then
t[#t + 1] = key
end
end
-- Get a table of parameters to query for each default parameter name.
-- This allows wikis to customise parameter names in the cfg table while
-- ensuring that default parameter names will always work. The cfg table
-- values can be added as a string, or as an array of strings.
local defaultKeys = {
'main',
'talk',
'other',
'subjectns',
'demospace',
'demopage'
}
local argKeys = {}
for i, defaultKey in ipairs(defaultKeys) do
argKeys[defaultKey] = {defaultKey}
end
for defaultKey, t in pairs(argKeys) do
local cfgValue = cfg[defaultKey]
local cfgValueType = type(cfgValue)
if cfgValueType == 'string' then
addKey(t, cfgValue, defaultKey)
elseif cfgValueType == 'table' then
for i, key in ipairs(cfgValue) do
addKey(t, key, defaultKey)
end
end
cfg[defaultKey] = nil -- Free the cfg value as we don't need it any more.
end
local function getParamMappings()
--[[
-- Returns a table of how parameter names map to namespace names. The keys
-- are the actual namespace names, in lower case, and the values are the
-- possible parameter names for that namespace, also in lower case. The
-- table entries are structured like this:
-- {
-- [''] = {'main'},
-- ['wikipedia'] = {'wikipedia', 'project', 'wp'},
-- ...
-- }
--]]
local mappings = {}
local mainNsName = mw.site.subjectNamespaces[0].name
mainNsName = mw.ustring.lower(mainNsName)
mappings[mainNsName] = mw.clone(argKeys.main)
mappings['talk'] = mw.clone(argKeys.talk)
for nsid, ns in pairs(mw.site.subjectNamespaces) do
if nsid ~= 0 then -- Exclude main namespace.
local nsname = mw.ustring.lower(ns.name)
local canonicalName = mw.ustring.lower(ns.canonicalName)
mappings[nsname] = {nsname}
if canonicalName ~= nsname then
table.insert(mappings[nsname], canonicalName)
end
for _, alias in ipairs(ns.aliases) do
table.insert(mappings[nsname], mw.ustring.lower(alias))
end
end
end
return mappings
end
return {
argKeys = argKeys,
cfg = cfg,
mappings = getParamMappings()
}
d224f42a258bc308ef3ad8cc8686cd7a4f47d005
Module:Namespace detect/config
828
66
118
2020-12-30T20:53:20Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Namespace detect configuration data --
-- --
-- This module stores configuration data for Module:Namespace detect. Here --
-- you can localise the module to your wiki's language. --
-- --
-- To activate a configuration item, you need to uncomment it. This means --
-- that you need to remove the text "-- " at the start of the line. --
--------------------------------------------------------------------------------
local cfg = {} -- Don't edit this line.
--------------------------------------------------------------------------------
-- Parameter names --
-- These configuration items specify custom parameter names. Values added --
-- here will work in addition to the default English parameter names. --
-- To add one extra name, you can use this format: --
-- --
-- cfg.foo = 'parameter name' --
-- --
-- To add multiple names, you can use this format: --
-- --
-- cfg.foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'} --
--------------------------------------------------------------------------------
---- This parameter displays content for the main namespace:
-- cfg.main = 'main'
---- This parameter displays in talk namespaces:
-- cfg.talk = 'talk'
---- This parameter displays content for "other" namespaces (namespaces for which
---- parameters have not been specified):
-- cfg.other = 'other'
---- This parameter makes talk pages behave as though they are the corresponding
---- subject namespace. Note that this parameter is used with [[Module:Yesno]].
---- Edit that module to change the default values of "yes", "no", etc.
-- cfg.subjectns = 'subjectns'
---- This parameter sets a demonstration namespace:
-- cfg.demospace = 'demospace'
---- This parameter sets a specific page to compare:
cfg.demopage = 'page'
--------------------------------------------------------------------------------
-- Table configuration --
-- These configuration items allow customisation of the "table" function, --
-- used to generate a table of possible parameters in the module --
-- documentation. --
--------------------------------------------------------------------------------
---- The header for the namespace column in the wikitable containing the list of
---- possible subject-space parameters.
-- cfg.wikitableNamespaceHeader = 'Namespace'
---- The header for the wikitable containing the list of possible subject-space
---- parameters.
-- cfg.wikitableAliasesHeader = 'Aliases'
--------------------------------------------------------------------------------
-- End of configuration data --
--------------------------------------------------------------------------------
return cfg -- Don't edit this line.
0e4ff08d13c4b664d66b32c232deb129b77c1a56
Module:Yesno
828
67
120
2020-12-30T20:53:21Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to the template {{yesno}}.
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you
-- should replace "val:lower()" with "mw.ustring.lower(val)" in the
-- following line.
val = type(val) == 'string' and val:lower() or val
if val == nil then
return nil
elseif val == true
or val == 'yes'
or val == 'y'
or val == 'true'
or val == 't'
or tonumber(val) == 1
then
return true
elseif val == false
or val == 'no'
or val == 'n'
or val == 'false'
or val == 'f'
or tonumber(val) == 0
then
return false
else
return default
end
end
12981c9a31eb2b0af1be4f16fc0642e180eac8c2
Template:Documentation subpage
10
68
122
2020-12-30T20:53:22Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><!--
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
| <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
</includeonly><!--
-->{{#ifeq:{{{doc-notice|show}}} |show
| {{Mbox
| type = notice
| style = margin-bottom:1.0em;
| image = [[File:Edit-copy green.svg|40px|alt=|link=]]
| text =
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
}}
}}<!--
-->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
-->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
| <includeonly><!--
-->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
| [[Category:Documentation subpages without corresponding pages]]
}}<!--
--></includeonly>
}}<!--
(completing initial #ifeq: at start of template:)
--><includeonly>
| <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}<!--
--></includeonly><noinclude>{{Documentation}}</noinclude>
a1dda2f5e5ddf9097546af5acd7a7bad14fdac9d
Template:!-
10
69
124
2020-12-30T20:53:22Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
|-<noinclude>
{{documentation}}
</noinclude>
19a1b27b5273caa6fd83a1208fb704afa9ee7c04
Template:Begin box
10
70
126
2020-12-30T20:53:22Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><div style="width:{{{width|auto}}};margin-bottom:1.25em;border:1px solid #{{#switch:{{{1|}}}|blue=8898BF|green=97BF87|yellow=AAAA66|gold=777777|orange=AA8833|violet=7755AA|salmon=AA8866|tan=AA9955|emerald=88BB55|darkblue=1144AA|red=AA8866|scarlet=AAAAAA|transp=transparent|#default=AAAAAA}}; background:{{{back|transparent}}};padding:0">
<div style="height:{{{hauteur|8px}}};margin:{{{margindiv|0}}};border:0;border-bottom:1px solid #{{#switch:{{{1|}}}|blue=8898BF|green=97BF87|yellow=AAAA66|gold=777777|orange=AA8833|violet=7755AA|salmon=AA8866|tan=AA9955|emerald=88BB55|darkblue=1144AA|red=AA8866|scarlet=AAAAAA|transp=transparent|#default=AAAAAA}};background: #{{#switch:{{{1|}}}|blue=C8D8FF|green=D7FFC7|yellow=FFFFB9|gold=FFE040|orange=FFDD88|violet=C9AEF1|salmon=FBDFBE|tan=F1E2AE|emerald=99CC66|darkblue=003399|red=FFDAB9|scarlet=FF3333|transp=transparent|#default=E0E0E0}};font-size:1px"></div>
<div style="padding:5px;padding-bottom:{{{2|5}}}px;font-size:{{{font|small}}}"></includeonly><noinclude>
{{Documentation}}
[[fr:Modèle:Début cadre]]
</noinclude>
eff7bf3df9c4b3e7f84949add291611946fb3b41
Template:Begin box/doc
10
71
128
2020-12-30T20:53:23Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{Template imported from Wikipedia in French
|adaptation=page
}}
This Template draws a box with a colored border. It must be associated with: {{Tl|End box}}.
Le premier paramètre (optionnel) peut être : bleu, vert, jaune, or, orange, violet, saumon, sable, vertmoyen, bleufoncé, rouge, écarlate, et par défaut, gris.
----
{|width="100%" cellspacing="8" cellpadding="0"
|-
|width="20%"|{{Begin box|blue}}<nowiki>{{</nowiki>Begin box|blue}}<br>...<br><nowiki>{{End box}}</nowiki>{{End box}}
|width="20%"|{{Begin box|green}}<nowiki>{{</nowiki>Begin box|green}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|yellow}}<nowiki>{{</nowiki>Begin box|yellow}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|gold}}<nowiki>{{</nowiki>Begin box|gold}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|orange}}<nowiki>{{</nowiki>Begin box|orange}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|-
|width="20%"|{{Begin box|violet}}<nowiki>{{</nowiki>Begin box|violet}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|salmon}}<nowiki>{{</nowiki>Begin box|salmon}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|tan}}<nowiki>{{</nowiki>Begin box|tan}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|emerald}}<nowiki>{{</nowiki>Begin box|emerald}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|
|-
|width="20%"|{{Begin box|darkblue}}<nowiki>{{</nowiki>Begin box|darkblue}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|red}}<nowiki>{{</nowiki>Begin box|red}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|scarlet}}<nowiki>{{</nowiki>Begin box|scarlet}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|transp}}<nowiki>{{</nowiki>Begin box|transp}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box}}<nowiki>{{</nowiki>Begin box}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|}
D’autre part, la couleur du fond, par défaut « transparent », peut être changée en utilisant l’argument fond=''couleur'' (couleur en anglais). Exemple :
{|width="100%" cellspacing="8" cellpadding="0"
|-
|width="25%"|{{Begin box|violet|back=lightblue}}<nowiki>{{</nowiki>Begin box|violet|back=lightblue}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="25%"|{{Begin box|darkblue|back=yellow}}<nowiki>{{</nowiki>Begin box|darkblue|back=yellow}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="25%"|{{Begin box|red|back=#CCFFFF}}<nowiki>{{</nowiki>Begin box|red|back=#CCFFFF}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="25%"|{{Begin box|transp|back=transparent}}<nowiki>{{</nowiki>Begin box|transp|back=transparent}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|}
De plus, la largeur, par défaut ''100%'', peut être changée en utilisant l’argument width=''largeur'''px''''' ou width=''largeur'''%'''''. Exemple :
{|width="100%" cellspacing="8" cellpadding="0"
|{{Begin box|violet|back=lightblue|width=400px}}<nowiki>{{</nowiki>Begin box|violet|back=lightblue|width=400px}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|-
|{{Begin box|darkblue|back=yellow|width=50%}}<nowiki>{{</nowiki>Begin box|darkblue|back=yellow|width=50%}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|}
<includeonly>
[[Catégorie:Modèle cadre|{{PAGENAME}}]]
</includeonly>
3302d0f10c1f3ab939d99107981d0f3a1358fcb9
Template talk:Begin box
11
72
130
2020-12-30T20:53:23Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This template comes from French Wikipédia, first used in Wicri (fr) and now translated in English.
[[fr:Discussion Modèle:Début cadre]]
dbc4dcc7ad29541792da17b1eef3e37d86377ba1
Template:End box
10
73
132
2020-12-30T20:53:23Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly></div></div></includeonly><noinclude>
Must be used with [[:Template:Begin box]].
[[fr:Modèle:Fin cadre]]
</noinclude>
b6033f4489b6cdf9fcf6c6c1e615f6656d7cd9f4
Template:Ambox
10
74
134
2020-12-30T20:53:23Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|ambox}}{{#ifeq:{{{small}}}|left|[[Category:Articles using small message boxes]]}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
a2c8099e3f9edd2e67527dd554f50790a79fff03
Template:Ambox/doc
10
75
136
2020-12-30T20:53:24Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{High-risk| 1230000+ }}
{{Lua|Module:Message box}}
{{Mbox templates (small)}}
This is the {{tl|Ambox}} (['''A''']rticle ['''m''']essage ['''box''']) metatemplate.
It is used to build ''article message box'' templates such as {{tl|Underlinked}}. It offers several different colours, uses default images if no image parameter is given, and has some other features.
== Common parameters ==
The box below shows the most common parameters that are accepted by {{Tl|Ambox}}. The purpose of each is described below.
<pre>
{{Ambox
| name =
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| small = {{{small|}}}
| type =
| image =
| sect = {{{1|}}}
| issue =
| talk = {{{talk|}}}
| fix =
| date = {{{date|}}}
| cat =
| all =
}}
</pre>
=== ''name'' ===
The ''name'' parameter specifies the name of the template, without the Template namespace prefix. For example {{Tl|Underlinked}} specifies {{Para|name|Underlinked}}.
This parameter should be updated if the template is ever moved. The purpose of this parameter is twofold:
* If incorrectly [[Wikipedia:Substitution|substituted]], it allows the meta-template to notify the name of the template which has been substituted, which may help editors to fix the problem.
* It allows the template to have a more useful display on its template page, for example to show the date even when not specified, and to apply categorisation of the template itself.
=== ''subst'' ===
The ''subst'' parameter allows the meta-template to detect whether the template has been incorrectly substituted, and give an appropriate warning. It will also add such pages to [[:Category:Pages with incorrectly substituted templates]]. Just copy the code exactly as it appears in the box.
=== ''small'' ===
The ''small'' parameter should be passed through the template, as this will allow editors to use the small format by specifying {{para|small|left}} on an article:
{{Ambox|nocat=true|small=left|text=This is the small left-aligned Ambox format.}}
Otherwise the standard format will be produced:
{{Ambox|nocat=true|text=This is the standard Ambox format.}}
Other variations:
* For templates which should ''never'' be small, specify {{Para|small|no}} or do not pass the small parameter at all.
* For templates which should ''always'' be small, just specify {{Para|small|left}}.
* For templates which should ''default to small'', try {{para|small|<nowiki>{{{small|left}}}</nowiki>}}. This will allow an editor to override by using {{para|small|no}} on an article.
See {{sectionlink||sect}}, below, for information on how to limit {{para|small}} display to cases when the template is being used for a section instead of the whole article (recommended, to prevent inconsistent top-of-article display).
=== ''type'' ===
The ''type'' parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.
{{Ambox
|nocat=true
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|db-g1}} and {{tl|db-g3}}.
}}
{{Ambox
|nocat=true
| type = delete
| text = type=<u>delete</u> – Deletion issues, such as {{tl|article for deletion}} and {{tl|proposed deletion}}.
}}
{{Ambox
|nocat=true
| type = content
| text = type=<u>content</u> – Content issues, such as {{tl|POV}} and {{tl|globalize}}.
}}
{{Ambox
|nocat=true
| type = style
| text = type=<u>style</u> – Style issues, such as {{tl|cleanup}} and {{tl|underlinked}}.
}}
{{ambox
|nocat=true
| type = notice
| text = type=<u>notice</u> – Article notices, such as {{tl|current}} and {{tl|in use}}.
}}
{{Ambox
|nocat=true
| type = move
| text = type=<u>move</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to Wiktionary}}.
}}
{{Ambox
|nocat=true
| type = protection
| text = type=<u>protection</u> – Protection notices, such as {{tl|pp-vandalism}} and {{tl|pp-protected}}.
}}
If no ''type'' parameter is given the template defaults to {{para|type|notice}}.
=== ''image'' ===
You can choose a specific image to use for the template by using the ''image'' parameter. Images are specified using the standard syntax for inserting files in Wikipedia (see [[Wikipedia:Manual of Style/Images#How to place an image]].) Widths of 40-50px are typical. For example:
* {{Tl|POV}} specifies {{Para|image|<nowiki>[[File:Unbalanced scales.svg|40px|link=|alt=]]</nowiki>}} and looks like this:
{{POV|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* {{tl|underlinked}} specifies {{para|image|<nowiki>[[File:Ambox wikify.svg|50x40px|link=|alt=]]</nowiki>}} and looks like this:
{{underlinked|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
Please note:
* If no image is specified then the default image corresponding to the ''type'' is used. (See [[#type]] above.)
* If {{para|image|none}} is specified, then no image is used and the text uses the whole message box area.
* If an icon is [[Wikipedia:Alternative text for images#Purely decorative images|purely decorative]] and also in the [[Wikipedia:Image use policy#Public_domain|public domain]], [[Wikipedia:Manual of Style/Accessibility|accessibility]] can be improved by suppressing the link to the file page by adding "{{para|link}}{{para|alt}}" as seen above.
=== ''sect'' ===
Many article message templates begin with the text '''This article ...''' and it is often desirable that this wording change to '''This section ...''' if the template is used on a section instead. The value of this parameter will replace the word "article". Various possibilities for use include: {{para|sect|list}}, {{para|sect|table}}, {{para|sect|"In popular culture" material}}, etc.
{{em|If using this feature, be sure to remove the first two words ("This article") from the template's text, otherwise it will be duplicated.}}
A common way to facilitate this functionality is to pass {{para|sect|<nowiki>{{{1|}}}</nowiki>}}. This will allow editors to type <kbd>section</kbd>, for example, as the first unnamed parameter of the template to change the wording. For example, {{tlx|Advert|section}} produces:
{{Advert|section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
Another approach is to pass {{para|sect|<nowiki>{{{section|{{{sect|}}}}}}</nowiki>}} to provide a named value. Another is to use {{tlx|Yesno}} to parse the value for a positive, and pass {{para|sect|section}} if true.
{{em|These approaches can be combined}}, and this is recommended. The following ready-to-use code:
{{block indent|1=<code><nowiki>| sect = {{#ifeq:{{yesno|def=|1={{{sect|{{{section}}}}}} }}|yes|section|{{{sect|{{{section|{{{1|}}}}}}}}} }}</nowiki></code>}}
enables the following:
* Any positive value that {{tlx|Yesno}} can detect will be used with the named parameter in the ambox-based template to get "section" instead of "article": {{para|section|y}}, {{para|sect|True}}, etc. It is recommended to allow both {{para|sect}} and {{para|section}} so that editors do not have to guess which one will work. The sample code above does this for you.
* Any other value passed, in any manner, will replace "article": {{para||section and its subsections}}, {{para|1|list}}, {{para|sect|section}}, {{para|section|table}}, etc.
It is also advisable to restrict use of the {{para|small}} parameter so that it is made contingent upon the template being applied to a section (or whatever) rather than the whole article, to prevent the small version of the template being used at the top of the article where it would be inconsistent with other article-wide cleanup/dispute banners:
{{block indent|1=<code><nowiki>| small = {{#if:{{{sect|{{{section|{{{1|}}}}}}}}}|{{#if:{{{small|{{{left|}}}}}}|left}} }}</nowiki></code>}}
(In this case, any value of {{para|small}} or {{para|left}} will trigger the small, left display, as long as some value of {{para|sect}} or one of its aliases in that template has also been provided.) This code can be copy-pasted and used with the above code block. See, e.g., [[Template:Trivia]] and its [[Template:Trivia/testcases]] to observe the combined functionality.
=== ''issue'' and ''fix'' ===
The ''issue'' parameter is used to describe the issue with the article. Try to keep it short and to-the-point (approximately 10-20 words) and be sure to include a link to a relevant [[Wikipedia:Policies and guidelines|policy or guideline]].
The ''fix'' parameter contains some text which describes what should be done to improve the article. It may be longer than the text in ''issue'', but should not usually be more than two sentences.
When the template is in its compact form (when placed inside {{tl|multiple issues}}) or small form (when using {{para|small|left}}), the ''issue'' is the only text that will be displayed. For example, {{Tl|Citation style}} defines
* <code>|issue=<nowiki>This article '''has an unclear citation style'''.</nowiki></code>
* <code>|fix=<nowiki>The references used may be made clearer with a different or consistent style of [[Wikipedia:Citing sources|citation]], [[Wikipedia:Footnotes|footnoting]], or [[Wikipedia:External links|external linking]].</nowiki></code>
When used stand-alone it produces the whole text:
{{Citation style|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
But when used inside {{Tl|Multiple issues}} or with {{Para|small|left}} it displays only the issue:
{{Multiple issues <!-- Even though there's only one "issue", please don't remove this {{Multiple issues}} template. It is a demonstration of the formatting. --> |{{Citation style|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}}}
{{Citation style|small=left|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
=== ''talk'' ===
Some article message templates include a link to the talk page, and allow an editor to specify a section heading to link directly to the relevant section. To achieve this functionality, simply pass the ''talk'' parameter through, i.e. {{para|talk|<nowiki>{{{talk|}}}</nowiki>}}
This parameter may then be used by an editor as follows:
* {{para|talk|SECTION HEADING}} - the link will point to the specified section on the article's talk page, e.g. {{para|talk|Foo}}
* {{para|talk|FULL PAGE NAME}} - the template will link to the page specified (which may include a [[Help:Link#Section linking (anchors)|section anchor]]), e.g. {{para|talk|Talk:Banana#Foo}}
Notes:
* When this parameter is used by a template, the talk page link will appear on the template itself (in order to demonstrate the functionality) but this will only display on articles if the parameter is actually defined.
* In order to make sure there is always a link to the talk page, you can use {{para|talk|<nowiki>{{{talk|#}}}</nowiki>}}.
* If the talk page does not exist, there will be no link, whatever the value of the parameter.
=== ''date'' ===
Passing the ''date'' parameter through to the meta-template means that the date that the article is tagged may be specified by an editor (or more commonly a [[Wikipedia:Bots|bot]]). This will be displayed after the message in a smaller font.
Passing this parameter also enables [[:Category:Wikipedia maintenance categories sorted by month|monthly cleanup categorisation]] when the ''cat'' parameter is also defined.
=== ''info'' ===
This parameter is for specifying additional information. Whatever you add here will appear after the date, and will not be displayed if the template is being wrapped in {{tl|multiple issues}}.
=== ''removalnotice'' ===
If you specify {{para|removalnotice|yes}}, then the following notice will be displayed after the date and after the ''info'' text:
* <small>[[Help:Maintenance template removal|Learn how and when to remove this template message]].</small>
This will not be displayed if the template is being wrapped in {{tl|multiple issues}}.
=== ''cat'' ===
This parameter defines a monthly cleanup category. If {{para|cat|CATEGORY}} then:
* articles will be placed in '''Category:CATEGORY from DATE''' if {{para|date|DATE}} is specified.
* articles will be placed in '''Category:CATEGORY''' if the date is not specified.
For example, {{Tl|No footnotes}} specifies {{Para|cat|Articles lacking in-text citations}} and so an article with the template {{Tlx|No footnotes|2=date=June 2010}} will be placed in [[:Category:Articles lacking in-text citations from June 2010]].
The ''cat'' parameter should not be linked, nor should the prefix <code>Category:</code> be used.
=== ''all'' ===
The ''all'' parameter defines a category into which all articles should be placed.
The ''all'' parameter should not be linked, nor should the prefix <code>Category:</code> be used.
== Other parameters ==
The box on the right shows all possible parameters for this template. However, it is not recommended to copy this, because it will never be required to use all parameters simultaneously.
{| class="wikitable" align="right" style="background:transparent; width=40%"
!All parameters
|-
|<pre style="font-size:90%; width=40%">
{{Ambox
| name =
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| small = {{{small|}}}
| type =
| image =
| imageright =
| smallimage =
| smallimageright =
| class =
| style =
| textstyle =
| sect = {{{1|}}}
| issue =
| talk = {{{talk|}}}
| fix =
| date = {{{date|}}}
| text =
| smalltext =
| plainlinks = no
| cat =
| all =
| cat2 =
| all2 =
| cat3 =
| all3 =
}}<noinclude>
{{Documentation}}
</noinclude>
</pre>
|}
=== ''imageright'' ===
An image on the right side of the message box may be specified using this parameter. The syntax is the same as for the ''image'' parameter, except that the default is no image.
=== ''smallimage'' and ''smallimageright'' ===
Images for the small format box may be specified using these parameters. They will have no effect unless {{para|small|left}} is specified.
=== ''class'' ===
A custom [[Cascading Style Sheets|CSS]] class to apply to the box.
=== ''style'' and ''textstyle'' ===
Optional CSS values may be defined, without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>.
* ''style'' specifies the style used by the entire message box table.
* ''textstyle'' relates to the text cell.
=== ''text'' and ''smalltext'' ===
Instead of specifying the ''issue'' and the ''fix'' it is possible to use the ''text'' parameter instead.
Customised text for the small format can be defined using ''smalltext''.
=== ''plainlinks'' ===
Normally on Wikipedia, external links have an arrow icon next to them, like this: [http://www.example.com Example.com]. However, in message boxes, the arrow icon is suppressed by default, like this: <span class="plainlinks">[http://www.example.com Example.com]</span>. To get the normal style of external link with the arrow icon, use {{para|plainlinks|no}}.
=== Additional categorisation parameters ===
* ''cat2'' and ''cat3'' provide additional monthly categories; see [[#cat]].
* ''all2'' and ''all3'' provide additional categories into which all articles are placed, just like [[#all]].
== Technical notes ==
* This meta-template uses the ambox CSS classes in [[MediaWiki:Common.css]]. The classes can also be used directly in a [[Help:Table|wikitable]] if special functionality is needed. See the [[Wikipedia:Ambox classes|how-to guide]] for that.
* If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{Ambox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe &#124; and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{Ambox
|nocat=true
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe | and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
* The <code><div></code> tags that surround the text in the example above are usually not needed. But if the text contains line breaks then sometimes we get weird line spacing. This especially happens when using vertical dotted lists. Then use the div tags to fix that.
* This template uses CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
* This template calls [[Module:Message box]] which holds most of the code for {{Tl|Ambox}}, while {{Tl|Ambox}} itself does parameter preprocessing.
* Internally, this meta-template uses HTML markup instead of wikimarkup for the table code. That is the usual way meta-templates are made, since wikimarkup has several drawbacks. For instance, it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and some special characters in parameters.
* The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.
* For more technical details see the [[Template talk:Ambox|talk page]] and the "See also" links below. Since this template works almost exactly like {{Tl|Tmbox}}, {{Tl|Imbox}}, {{Tl|Cmbox}} and {{Tl|Ombox}} their talk pages and related pages might also contain more details.
== See also ==
{{Mbox templates see also}}
Other pages:
* [[Wikipedia:Ambox CSS classes]] – Describes how to use the ambox CSS classes directly in [[Help:Table|wikitable]]s and [[HTML element#Tables|HTML tables]].
* [[Wikipedia:Article message boxes]] – The style guideline for creating article message boxes.
* [[Wikipedia talk:Article message boxes]] – For discussion about these matters.
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Article message templates| ]]
[[Category:Mbox and messagebox templates]]
[[Category:Exclude in print]]
}}</includeonly>
f25141c44ee33463084218861ead9bf997f2a5b5
Template:Ambox/core
10
76
138
2020-12-30T20:53:24Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}" role="presentation">
<tr>{{#switch:{{{image|}}}
|blank
|none = <td class="mbox-empty-cell"></td>
|#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}}
|{{{image}}}
|[[File:{{#switch:{{{type|}}}
|speedy = Ambox speedy deletion.png
|delete = Ambox deletion.png
|content = Ambox content.png
|style = Edit-clear.svg
|move = Ambox move.png
|protection = Ambox protection.png
|notice|#default = Ambox notice.png
}}|40x40px|link=|alt=]]
}}</div></td>
}}<td class="mbox-text" style="{{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}<span class="hide-when-compact"> {{#if:{{{talk|}}}
|{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
|{{{talk}}}
|{{TALKPAGENAME}}
}}
| Relevant discussion may be found on {{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
|[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]]
|the [[{{TALKPAGENAME}}#{{{talk}}}|talk page]]
}}.
}}
}} {{{fix|}}}</span>{{#if:{{{date|}}}
| <small>''({{{date}}})''</small>
}}<span class="hide-when-compact"> {{{info|}}}</span></span></td>{{#switch:{{{imageright|}}}
|none =
|=
|#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td>
}}</tr></table><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
23f5ada43b086478b9c9047a6563e7eb4b8debea
Template:Ombox
10
77
140
2020-12-30T20:53:24Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|ombox}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
0e54065432d540737b9e56c4e3a8e7f74d4534ea
Template:Ombox/doc
10
78
142
2020-12-30T20:53:25Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{High-risk|430,000+}}
{{used in system}}
{{Lua|Module:Message box}}
{{intricate template}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
{{Mbox templates (small)}}
This is the {{tl|Ombox}} (['''O''']ther pages ['''m''']essage ['''box''']) metatemplate.
It is used to build message box templates for pages of the types User, Wikipedia, MediaWiki, Template, Help, Portal and any new future namespaces; i.e. for page types not covered by {{tl|Ambox}}, {{tl|Tmbox}}, {{tl|Imbox}} or {{tl|Cmbox}}. Thus, it should ''not'' be used for boxes for articles, talk pages, image pages or category pages.
This template works almost exactly like {{tl|Ambox}} and uses the same parameters.
=== Introduction ===
{{anchor|We are deploying!}}
As noted above, this template should be used for message boxes that are not articles, talk pages, image pages or category pages. Some message boxes for other pages may incorrectly use one of those four mentioned. Feel free to convert any message boxes used on "other pages" to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.
When this template is used to build other pages message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here.
=== Usage ===
Simple usage example:
<pre>
{{ombox | text = Some text.}}
</pre>
{{ombox | text = Some text.}}
{{clear}}
Complex example:
<pre>
{{ombox
| type = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
</pre>
{{ombox
| type = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
{{clear}}
=== Other pages message box types ===
The following examples use different '''type''' parameters but use no image parameters; thus, they use the default images for each type.
{{ombox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates.
}}
{{ombox
| type = delete
| text = type=<u>delete</u> – Deletion templates.
}}
{{ombox
| type = content
| text = type=<u>content</u> – Major warnings and problems, such as {{tl|high-risk}}.
}}
{{ombox
| type = style
| text = type=<u>style</u> – Minor warnings and problems. {{tl|intricate}} should perhaps use this type.
}}
{{ombox
| type = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary. Such as {{tl|guideline}} and {{tl|Wikipedia how to}}.
}}
{{ombox
| type = move
| text = type=<u>move</u> – Merge, split, rename and transwiki messages and proposals.
}}
{{ombox
| type = protection
| text = type=<u>protection</u> – Protection templates such as {{tl|pp-protected}} when shown on "other pages".
}}
=== Examples ===
Some examples using the "notice" style:
{{ombox
| text = No type and no image given ('''default''')
}}
{{ombox
| image = none
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{ombox
| image = [[Image:Gnome globe current event.svg|42px]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]
| text = image = <nowiki>[[Image:Gnome globe current event.svg|42px]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px]]</nowiki>
}}
{{ombox
| type = notice
| image = [[Image:Blue check.svg|30px]]
| imageright = {{shortcut|WP:SHORT}}
| text =
'''This page documents an English Wikipedia [[Wikipedia:Policies and guidelines|guideline]].''' It is a generally accepted standard that editors should follow, though it should be treated with [[Wikipedia:Use common sense|common sense]] and the [[Wikipedia:Ignore all rules|occasional exception]]. When editing this page, please ensure that your revision reflects [[Wikipedia:Consensus|consensus]]. When in doubt, discuss on the [[{{TALKPAGENAME}}|talk page]].
}}
{{ombox
| type = notice
| image = [[Image:Nutshell.png|30px]]
| text =
'''This page in a nutshell:''' This template is used to build message boxes for all pages that are ''not'' articles, talk pages, image pages or category pages.
}}
=== Parameters ===
List of all parameters:
<pre>
{{ombox
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| plainlinks = no
| text = The message body text.
| small = {{{small|}}} / yes
| smallimage = none / [[Image:Some image.svg|30px]]
| smallimageright = none / [[Image:Some image.svg|30px]]
| smalltext = A shorter message body text.
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a gray border.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[Image:Crystal package settings.png|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''style'''
:Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
'''textstyle'''
:Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''plainlinks'''
:Normally on Wikipedia, external links have an arrow icon next to them, like this: [http://www.example.com Example.com]. However, in message boxes, the arrow icon is suppressed by default, like this: <span class="plainlinks">[http://www.example.com Example.com]</span>. To get the normal style of external link with the arrow icon, use {{para|plainlinks|no}}.
'''text'''
:The message body text.
==== The small parameters ====
{{ombox
| small = yes
| text = small = yes
}}
{{ombox
| type = style
| small = yes
| text = type = style <br> small = yes
}}
'''small'''
:'''yes''' = Makes it a smaller right floating message box. This also makes the default images smaller. Note that any data fed to the '''smallimage''', '''smallimageright''' and '''smalltext''' parameters is only used if "small=yes". To make it so your template also understands the small parameter you can use this code:
::<code><nowiki>small = {{{small|}}}</nowiki></code>
{{ombox
| small = yes
| image = [[Image:Replacement filing cabinet.svg|50px]]
| smallimage = [[Image:Replacement filing cabinet.svg|32px]]
| text =
small = yes <br> image = <nowiki>[[Image:Replacement filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[Image:Replacement filing cabinet.svg|32px]]</nowiki>
}}
'''smallimage'''
:'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimage = [[Image:Replacement filing cabinet.svg|30px]]</nowiki></code>
:'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=yes".
{{ombox
| small = yes
| imageright = [[Image:Nuvola apps bookcase.png|50px]]
| smallimageright = none
| text =
small = yes <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.png|50px]]</nowiki> <br> smallimageright = none
}}
'''smallimageright'''
:'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimageright = [[Image:Nuvola apps bookcase.png|30px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
:'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=yes".
'''smalltext'''
:A shorter version of the message body text. If no '''smalltext''' parameter is given then this template falls back to use the '''text''' parameter.
=== Technical details ===
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{ombox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{ombox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
This template uses the ombox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
This template calls {{tl|ombox/core}} which holds most of the code for {{tl|ombox}}, while {{tl|ombox}} itself does parameter preprocessing.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.
For more technical details see the [[Template talk:Ombox|talk page]]. Since this template works almost exactly like {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}} and {{tl|cmbox}} their talk pages and related pages might also contain more details.
===See also===
{{Mbox templates see also}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Mbox and messagebox templates]]
[[Category:Exclude in print]]
}}</includeonly>
795df1a7a5319d2ec4f91d1b911c37be45353dff
Template:Ombox/core
10
79
144
2020-12-30T20:53:25Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}
{{#switch:{{{type|}}}
| speedy = ombox-speedy
| delete = ombox-delete
| content = ombox-content
| style = ombox-style
| move = ombox-move
| protection = ombox-protection
| notice <!-- notice = default -->
| #default = ombox-notice
}} {{{class|}}}" style="{{{style|}}}" role="presentation">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| [[Image:{{#switch:{{{type|}}}
| speedy = Imbox speedy deletion.png
| delete = Imbox deletion.png
| content = Imbox content.png
| style = Edit-clear.svg
| move = Imbox move.png
| protection = Imbox protection.png
| notice <!-- notice = default -->
| #default = Imbox notice.png
}} | {{#ifeq:{{{small|}}}|yes
| 30x30px
| 40x40px
}}|link=|alt=]]
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
}}
</tr>
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
338abffb76ddab754db12b7c335fbe7f0a1677db
Template:Imbox
10
80
146
2020-12-30T20:53:26Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|imbox}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
4d46e2eee16ad5fba44d200a3b26b401f2fd6710
Template:Imbox/doc
10
81
148
2020-12-30T20:53:26Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<includeonly>{{High-risk| 850,000+ }}</includeonly>
{{Lua|Module:Message box}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Mbox templates (small)}}
This is the {{tl|Imbox}} (['''I''']mage ['''m''']essage ['''box''']) metatemplate.
It is used to build message box templates for file (image) pages, such as {{tl|cleanup-image}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features.
This template works almost exactly like {{tl|Ambox}} and uses the same parameters.
<!--
===We are deploying!===
After long discussion on the [[Template talk:Imbox|talk page]] of this template and at other places we are finally deploying this template. Feel free to convert any message boxes used on file pages to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.
When this template is used to build image message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here.
-->
===Usage===
Simple usage example:
<pre>
{{Imbox |text=Some text.}}
</pre>
{{Imbox |text=Some text.}}
Complex example:
<pre>
{{Imbox
| type = style
| style = width:400px;
| image = [[File:Emblem-question-yellow.svg|40px]]
| textstyle = font-style:italic; font-weight:bold; color:red;
| text = The message body text.
}}
</pre>
{{Imbox
| type = style
| style = width:400px;
| image = [[File:Emblem-question-yellow.svg|40px]]
| textstyle = font-style:italic; font-weight:bold; color:red;
| text = The message body text.
}}
===Image message box types===
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
{{Imbox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates such as {{tl|isd}}.
}}
{{Imbox
| type = delete
| text = type=<u>delete</u> – Deletion templates such as {{tl|ifd}}.
}}
{{Imbox
| type = content
| text = type=<u>content</u> – Major warnings and problems, such as {{tl|non-free reduce}}.
}}
{{Imbox
| type = style
| text = type=<u>style</u> – Minor warnings and problems, such as {{tl|cleanup-image}}.
}}
{{Imbox
| type = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary.
}}
{{Imbox
| type = move
| text = type=<u>move</u> – Move and rename messages and proposals, such as {{tl|Requested move}}.
}}
{{Imbox
| type = protection
| text = type=<u>protection</u> – Protection templates such as {{tl|pp-protected}} when shown on an image page.
}}
{{Imbox
| type = license
| text = type=<u>license</u> – License templates such as {{tl|GFDL}}.
}}
{{Imbox
| type = featured
| text = type=<u>featured</u> – Featured image templates such as {{tl|FeaturedPicture}}.
}}
===Other images===
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images.
{{Imbox
| type = style
| image = [[File:Gnome-dev-camera.svg|42px]]
| text = type = style<br/>image = <nowiki>[[File:Gnome-dev-camera.svg|42px]]</nowiki><br/>This image is used for {{tl|cleanup-image}}.
}}
{{Imbox
| type = move
| image = [[File:To Commons.svg|52px]]
| text = type = move<br/>image = <nowiki>[[File:To Commons.svg|52px]]</nowiki><br/>This image is used for {{tl|copy to Wikimedia Commons}}.
}}
{{Imbox
| type = license
| image = [[File:Heckert GNU white.svg|48px]]
| text = type = license<br/>image = <nowiki>[[File:Heckert GNU white.svg|48px]]</nowiki><br/>This image is used for the GFDL license templates such as {{tl|GFDL}}.
}}
===Special===
Some other parameter combinations.
{{Imbox
| text = No type and no image given ('''default''')
}}
{{Imbox
| image = none
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{Imbox
| type = license
| image = [[File:Imbox license.svg|40px]]<br/>[[File:Ambox warning yellow.svg|40px]]
| imageright = [[File:Shuttle.svg|30px]]
| text = type = license<br/>image = <nowiki>[[File:Imbox license.svg|40px]]<br/>[[File:Ambox warning yellow.svg|40px]]</nowiki><br/>imageright = <nowiki>[[File:Shuttle.svg|30px]]</nowiki>
}}
{{Imbox
| type = license
| image = [[File:Imbox license.svg|40px]]<br/>[[File:Ambox warning yellow.svg|40px]]
| imageright = [[File:Shuttle.svg|30px]]
| text = '''This file is in the [[public domain]] because it was created by [[NASA]].'''<br/>Note that use of NASA logos, insignia and emblems are restricted per US law.
}}
{{Imbox
| type = license
| image = [[File:Imbox license.svg|40px]]
| text =
type = license<br/>image = <nowiki>[[File:Imbox license.svg|40px]]</nowiki><br/>below = <nowiki>{{Imbox |type=content |text='''This license tag is deprecated!'''}}</nowiki>
| below = {{Imbox |type=content |text='''This license tag is deprecated!'''}}
}}
===Parameters===
List of all parameters:
<pre>
{{Imbox
| type = speedy / delete / content / style / notice /
move / protection / license / featured
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS value
| textstyle = CSS value
| text = The message body text.
| below = More text or another imbox.
| plainlinks = no
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a blue border.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[File:Gnome-dev-camera.svg|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>imageright = [[File:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''style'''
:An optional [[Cascading Style Sheets|CSS]] value used by the entire message box table. Without quotation marks <code>" "</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
'''textstyle'''
:An optional [[Cascading Style Sheets|CSS]] value used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''text'''
:The message body text.
'''below'''
:A full width area below the images and text area. Can take a text or any kind of object, for instance another imbox:
::<code><nowiki>below = {{Imbox |type=content |text=This license tag is deprecated.}}</nowiki></code>
'''plainlinks'''
:Defaults to yes. If external link arrows - [[File:External.svg|10px]] - are desired, specify:
::<code><nowiki>plainlinks = no</nowiki></code>
===Technical details===
Namespace "File:" was renamed to "File:" on 11 December 2008. This template was created long before that, and that is why it is named "imbox" as in "image message box".
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{Imbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{Imbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
This template uses the imbox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent png images. For those older browsers these png images have been modified so that the color of their default backgrounds match the background color of the template. The default background that MediaWiki renders for svg images is always white. This creates a white box around the images when displayed in older browsers.
For more technical details see the [[Template talk:Imbox|talk page]]. Since this template works almost exactly like the other mboxes their talk pages and related pages might also contain more details, see the "See also" section below.
===See also===
{{Mbox templates see also}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- CATEGORIES BELOW THIS LINE, PLEASE -->
[[Category:Mbox and messagebox templates]]
[[Category:File namespace templates|*]]
}}</includeonly>
e9ba27c948ec32049c8d1b7e4f065ab487e0f851
Template:Namespace detect
10
82
150
2020-12-30T20:53:27Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Namespace detect|main}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
3fab1d6b31536b0f9c4b4aad3d2240d90d5a6d22
Module:Namespace detect
828
83
152
2020-12-30T20:53:27Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--[[
--------------------------------------------------------------------------------
-- --
-- NAMESPACE DETECT --
-- --
-- This module implements the {{namespace detect}} template in Lua, with a --
-- few improvements: all namespaces and all namespace aliases are supported, --
-- and namespace names are detected automatically for the local wiki. The --
-- module can also use the corresponding subject namespace value if it is --
-- used on a talk page. Parameter names can be configured for different wikis --
-- by altering the values in the "cfg" table in --
-- Module:Namespace detect/config. --
-- --
--------------------------------------------------------------------------------
--]]
local data = mw.loadData('Module:Namespace detect/data')
local argKeys = data.argKeys
local cfg = data.cfg
local mappings = data.mappings
local yesno = require('Module:Yesno')
local mArguments -- Lazily initialise Module:Arguments
local mTableTools -- Lazily initilalise Module:TableTools
local ustringLower = mw.ustring.lower
local p = {}
local function fetchValue(t1, t2)
-- Fetches a value from the table t1 for the first key in array t2 where
-- a non-nil value of t1 exists.
for i, key in ipairs(t2) do
local value = t1[key]
if value ~= nil then
return value
end
end
return nil
end
local function equalsArrayValue(t, value)
-- Returns true if value equals a value in the array t. Otherwise
-- returns false.
for i, arrayValue in ipairs(t) do
if value == arrayValue then
return true
end
end
return false
end
function p.getPageObject(page)
-- Get the page object, passing the function through pcall in case of
-- errors, e.g. being over the expensive function count limit.
if page then
local success, pageObject = pcall(mw.title.new, page)
if success then
return pageObject
else
return nil
end
else
return mw.title.getCurrentTitle()
end
end
-- Provided for backward compatibility with other modules
function p.getParamMappings()
return mappings
end
local function getNamespace(args)
-- This function gets the namespace name from the page object.
local page = fetchValue(args, argKeys.demopage)
if page == '' then
page = nil
end
local demospace = fetchValue(args, argKeys.demospace)
if demospace == '' then
demospace = nil
end
local subjectns = fetchValue(args, argKeys.subjectns)
local ret
if demospace then
-- Handle "demospace = main" properly.
if equalsArrayValue(argKeys.main, ustringLower(demospace)) then
ret = mw.site.namespaces[0].name
else
ret = demospace
end
else
local pageObject = p.getPageObject(page)
if pageObject then
if pageObject.isTalkPage then
-- Get the subject namespace if the option is set,
-- otherwise use "talk".
if yesno(subjectns) then
ret = mw.site.namespaces[pageObject.namespace].subject.name
else
ret = 'talk'
end
else
ret = pageObject.nsText
end
else
return nil -- return nil if the page object doesn't exist.
end
end
ret = ret:gsub('_', ' ')
return ustringLower(ret)
end
function p._main(args)
-- Check the parameters stored in the mappings table for any matches.
local namespace = getNamespace(args) or 'other' -- "other" avoids nil table keys
local params = mappings[namespace] or {}
local ret = fetchValue(args, params)
--[[
-- If there were no matches, return parameters for other namespaces.
-- This happens if there was no text specified for the namespace that
-- was detected or if the demospace parameter is not a valid
-- namespace. Note that the parameter for the detected namespace must be
-- completely absent for this to happen, not merely blank.
--]]
if ret == nil then
ret = fetchValue(args, argKeys.other)
end
return ret
end
function p.main(frame)
mArguments = require('Module:Arguments')
local args = mArguments.getArgs(frame, {removeBlanks = false})
local ret = p._main(args)
return ret or ''
end
function p.table(frame)
--[[
-- Create a wikitable of all subject namespace parameters, for
-- documentation purposes. The talk parameter is optional, in case it
-- needs to be excluded in the documentation.
--]]
-- Load modules and initialise variables.
mTableTools = require('Module:TableTools')
local namespaces = mw.site.namespaces
local cfg = data.cfg
local useTalk = type(frame) == 'table'
and type(frame.args) == 'table'
and yesno(frame.args.talk) -- Whether to use the talk parameter.
-- Get the header names.
local function checkValue(value, default)
if type(value) == 'string' then
return value
else
return default
end
end
local nsHeader = checkValue(cfg.wikitableNamespaceHeader, 'Namespace')
local aliasesHeader = checkValue(cfg.wikitableAliasesHeader, 'Aliases')
-- Put the namespaces in order.
local mappingsOrdered = {}
for nsname, params in pairs(mappings) do
if useTalk or nsname ~= 'talk' then
local nsid = namespaces[nsname].id
-- Add 1, as the array must start with 1; nsid 0 would be lost otherwise.
nsid = nsid + 1
mappingsOrdered[nsid] = params
end
end
mappingsOrdered = mTableTools.compressSparseArray(mappingsOrdered)
-- Build the table.
local ret = '{| class="wikitable"'
.. '\n|-'
.. '\n! ' .. nsHeader
.. '\n! ' .. aliasesHeader
for i, params in ipairs(mappingsOrdered) do
for j, param in ipairs(params) do
if j == 1 then
ret = ret .. '\n|-'
.. '\n| <code>' .. param .. '</code>'
.. '\n| '
elseif j == 2 then
ret = ret .. '<code>' .. param .. '</code>'
else
ret = ret .. ', <code>' .. param .. '</code>'
end
end
end
ret = ret .. '\n|-'
.. '\n|}'
return ret
end
return p
a4757000273064f151f0f22dc0e139092e5ff443
Template:Namespace detect/doc
10
84
154
2020-12-30T20:53:28Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{High-use|58000+}}
{{Lua|Module:Namespace detect}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
This is the {{tl|Namespace detect}} meta-template. It helps other templates detect what type of page they are on.
It detects and groups all the different [[Wikipedia:Namespace#Enumeration|namespaces]] used on Wikipedia into several types:
; main : Main (i.e. article) space, where normal Wikipedia articles are kept.
; talk : Any talk space, including page names that start with "Talk:", "User talk:", "File talk:", etc.
'''{{hlist|user|wikipedia|file|mediawiki|template|help|category|portal|book}}'''
: The remaining namespaces.
; other : Any namespaces that were not specified as a parameter to the template (see explanation below).
For backwards compatibility, this template handles '''image''' as if '''file'''. '''image''' (<nowiki>[[Image:...]]</nowiki>) is now deprecated.
'''Note:''' For most cases it may be better to use the simpler namespace detection templates (see the [[#See also|see also]] section below). This template is more prone to human errors such as misspelling parameter names.
== Usage ==
This template takes one or more parameters named after the different page types as listed above. Like this:
<pre>
{{Namespace detect
| main = Article text
| talk = Talk page text
| other = Other pages text
}}
</pre>
If the template is on a main (article) page, it will return this:
: {{Namespace detect |demospace=main
| main = Article text
| talk = Talk page text
| other = Other pages text
}}
If the template is on any other page than an article or a talk page, it will return this:
: {{Namespace detect
| main = Article text
| talk = Talk page text
| other = Other pages text
}}
The example above made the template return something for all page types. But if we don't use the '''other''' parameter or leave it empty, it will not return anything for the other page types. Like this:
<pre>
{{Namespace detect
| file = File page text
| category = Category page text
| other =
}}
</pre>
On any pages other than file and category pages the code above will render nothing.
<!-- Do not remove this one. It is supposed to render nothing, but we have it here for testing purposes. -->
: {{Namespace detect
| file = File page text
| category = Category page text
| other =
}}
By using an empty parameter, you can make it so the template doesn't render anything for some specific page type. Like this:
<pre>
{{Namespace detect
| main =
| other = Other pages text
}}
</pre>
The code above will render nothing when on mainspace (article) pages, but will return this when on other pages:
: {{Namespace detect
| main =
| other = Other pages text
}}
== Demospace and page ==
For testing and demonstration purposes, this template can take two parameters named '''demospace''' and '''page'''.
'''demospace''' understands any of the page type names used by this template, including the '''other''' type. It tells the template to behave like it is on some specific type of page. Like this:
<pre>
{{Namespace detect
| main = Article text
| other = Other pages text
| demospace = main
}}
</pre>
No matter on what kind of page the code above is used, it will return this:
: {{Namespace detect
| main = Article text
| other = Other pages text
| demospace = main
}}
The '''page''' parameter instead takes a normal pagename, making this template behave exactly as if on that page. The pagename doesn't have to be an existing page. Like this:
<pre>
{{Namespace detect
| user = User page text
| other = Other pages text
| page = User:Example
}}
</pre>
No matter on what kind of page the code above is used, it will return this:
: {{Namespace detect
| user = User page text
| other = Other pages text
| page = User:Example
}}
It can be convenient to let your template understand the '''demospace''' and/or '''page''' parameter and send it on to the {{tl|Namespace detect}} template. Like this:
<pre>
{{Namespace detect
| main = Article text
| other = Other pages text
| demospace = {{{demospace|}}}
| page = {{{page|}}}
}}
</pre>
If both the '''demospace''' and '''page''' parameters are empty or undefined, the template will detect page types as usual.
== Parameters ==
List of all parameters:
<pre>
{{Namespace detect
| main =
...
| other =
| demospace = {{{demospace|}}} / main / talk / user /
wikipedia / file / mediawiki / template /
help / category / portal / book / other
| page = {{{page|}}} / User:Example
}}
</pre>
Note: Empty values to the "main" ... "book" parameters have special meaning.
== Technical details ==
Namespace "Image" was renamed to "File" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine. For backwards compatibility it still understands "image" both as a parameter name, such as "image = File page text", and as a value "demospace = image".
Namespace "Book" was added to the English Wikipedia on 28 December 2009. This template has been updated so it detects the "Book:" namespace as type '''book'''. It already automatically detected "Book talk:" as type '''talk'''.
If you intend to feed tables as content to the numbered parameters of this template, you need to know this:
[[Help:Template|Templates]] have a problem handling parameter data that contains pipes "<code>|</code>" unless the pipe is inside another template <code><nowiki>{{name|param1}}</nowiki></code> or inside a piped link <code><nowiki>[[Help:Template|help]]</nowiki></code>. Thus templates can not handle [[Help:Table|wikitables]] as input unless you escape them by using the {{tn|!}} template. This makes it hard to use wikitables as parameters to templates. Instead, the usual solution is to use "[[Help:HTML in wikitext|HTML wikimarkup]]" for the table code, which is more robust.
For more technical details, e.g. about copying this template to other projects and CSS-based namespace detection, see {{tl|Main talk other}} and its talk page.
== See also ==
{{Namespace and pagename-detecting templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Namespace manipulation templates]]
}}</includeonly>
2c8a6e5f2cd46af8675d6fc3e1f27ad68ee0a442
Template:Tl
10
85
156
2020-12-30T20:53:28Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
91be693cd63410db06fc933eddb412ba433564dc
Template:Tlx
10
86
158
2020-12-30T20:53:28Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><!--
--><code><!--
--><nowiki>{{</nowiki>{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!--
-->[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!--
-->{{#if:{{{2|}}} ||{{{2}}}}}<!--
-->{{#if:{{{3|}}} ||{{{3}}}}}<!--
-->{{#if:{{{4|}}} ||{{{4}}}}}<!--
-->{{#if:{{{5|}}} ||{{{5}}}}}<!--
-->{{#if:{{{6|}}} ||{{{6}}}}}<!--
-->{{#if:{{{7|}}} ||{{{7}}}}}<!--
-->{{#if:{{{8|}}} ||{{{8}}}}}<!--
-->{{#if:{{{9|}}} ||{{{9}}}}}<!--
-->{{#if:{{{10|}}} ||{{{10}}}}}<!--
-->{{#if:{{{11|}}} ||{{{11}}}}}<!--
-->{{#if:{{{12|}}} ||''…''}}<!--
--><nowiki>}}</nowiki><!--
--></code><!--
--></includeonly><noinclude>
{{Documentation}}</noinclude>
5633c008ca0a8c29aa9cea811c02e4cd5c61337b
Template:Mbox
10
87
160
2020-12-30T20:53:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|mbox}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
c262e205f85f774a23f74119179ceea11751d68e
Template:Mbox/doc
10
88
162
2020-12-30T20:53:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{High-risk|≈590000+}}
{{Used in system}}
{{Lua|Module:Message box}}
{{Mbox templates (small)}}
{{tl|Mbox}} ("['''M''']ulti-namespace message['''box''']") is a [[Help:Metatemplating|metatemplate]] with which [[Wikipedia:Namespace|namespace]]-sensitive {{cl|Mbox and messagebox templates|messagebox templates}} can be implemented. The most common of these are {{tl|Ambox}} for articles, {{tl|Tmbox}} for talk pages, {{tl|Imbox}} for file (formerly image) pages, {{tl|Cmbox}} for category pages and {{tl|Ombox}} for other types of page.
Note that this template should only be used for message boxes that really need to adapt their style. Most message boxes do not need this and should use one of the varieties just listed. Using those templates directly means that your template will look the same on its template page and at any other place you show it, which makes it clear on what kind of pages it is supposed to be used. It also gives you access to any extra features those templates offer, and it saves some server load.
== Usage ==
This template takes the same parameters as {{tl|Ambox}}, {{tl|Imbox}}, etc. See full documentation there.
Some of the boxes this template calls only handles images of max 52px width, thus that limitation also applies to this template or you will get ugly padding problems.
== Demospace ==
This template optionally takes the "demospace" parameter as described at {{tl|Namespace detect}}. That parameter is only for testing and demonstration purposes. If you want to lock your message box to one style then instead use one of the other mboxes directly.
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine. For backwards compatibility it still understands "demospace = image" which means the same thing as "demospace = file". But using "demospace = image" is now deprecated.
Namespace "Book:" was added to the English Wikipedia on 28 December 2009. This template uses the {{tlf|Ombox}} style on "Book:" pages (or when "demospace = book") and the {{tlf|Tmbox}} style on "Book talk:" pages (or when "demospace = talk"). Note that "demospace = talk" means any talk space.
== Parameters ==
List of all parameters:
<pre>
{{Mbox
| demospace = {{{demospace|}}} / main / talk / file / category / other
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| text = The message body text.
| small = {{{small|}}} / left / yes
| smallimage = none / [[File:Some image.svg|30px]]
| smallimageright = none / [[File:Some image.svg|30px]]
| smalltext = A shorter message body text.
| plainlinks = no
}}
</pre>
Note: The small parameters only have effect when the template appears on an article, talk or "other" page type. For their associated documentation, see {{tl|Ambox}}, {{tl|Tmbox}} and/or {{tl|Ombox}}. Using the small parameters when they are not valid has no effect, but also does no harm.
== See also ==
{{Mbox templates see also}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Mbox and messagebox templates]]
[[Category:Exclude in print]]
}}</includeonly>
77dd1f87db2ce8d844aef8dfc750f12affa33319
Template:Warning
10
89
164
2020-12-30T20:53:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Mbox
| name = Warning
| demospace = {{{demospace|}}}
| style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| type = content
| image = {{#if:{{{image|}}}| [[File:{{{image}}}|40px|Warning]] }}
| small = {{{small|}}}
| smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}}
| text = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
-->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
{{Documentation}}
</noinclude>
e07eab0d36a35e5e116593957eea813b6ed98fcd
Template:Warning/doc
10
90
166
2020-12-30T20:53:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Notice/doc]]
de5171f5694605077796f6393f0dbd603f3d5f0d
Template:Notice/doc
10
91
168
2020-12-30T20:53:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
********************************************************************
**** This documentation is shared between multiple templates, ****
**** using {{BASEPAGENAME}} and {{#switch:...}} to customize. ****
********************************************************************
-->
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE AND INTERWIKIS TO WIKIDATA -->
{{high-use| 32513 }}
This is the {{tl|{{BASEPAGENAME}}}} message box. It should be used '''sparingly''' and only for {{#switch:{{BASEPAGENAME}}
|Warning='''important''' warnings about an article or a user that cannot be shown using a more specific template. Please only use it when something is seriously wrong and other people might not otherwise know about it.
|<!--DEFAULT:-->'''significant''' information for which a more specific template doesn't exist.
}} Less important comments should be put as regular text on the page's talk page instead.
== Usage ==
'''<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|1=Place notice text here. |heading=Optional heading above the text<nowiki>}}</nowiki></code>'''
This box automatically changes its style depending on what kind of page it appears; see {{tl|Mbox}} for details, and view the examples below for demonstrations.
=== Use in talk and userspace ===
Outside "important" locations like mainspace, policy pages, and noticeboards, this message box can also be used on other pages in a more relaxed way, such as on the top of talk page alerts, wikiproject pages, userspace pages, etc. Talk and noticeboard cases should probably include your [[WP:Signature|signature]] at the end of the template's main content.
===Optional parameters ===
The box can be titled with an optional {{para|heading}} (or {{para|header}} or {{para|title}}). This is left-aligned by default. This:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |[[Lorem ipsum|Lorem ipsum]] dolor sit amet...<nowiki>}}</nowiki></code>
produces an all-left notice:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
It can be hard to notice or read short heading and/or message on a wide monitor when they centered. For long content, it can be centered with {{para|align|center}}.<br />{{small|1=[While {{para|align|right}} is a valid value, it will only be useful when this template is ported to right-to-left language Wikipedias, and shouldn't be used on English Wikipedia or it will be difficult to read.]}}<br />
This:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |align=center |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code>
produces:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |align=center |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
A shorthand parameter to center the heading and main text at the same time is {{para|center|y}}. This:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |center=y |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code>
produces:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |center=y |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
The parameter {{para|textstyle}} can be used to pass arbitrary inline CSS to the main note content. For example, one could center small-caps text below a left-aligned heading; this:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |textstyle=text-align:center; font-variant:small-caps; |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code>
produces:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |textstyle=text-align:center; font-variant:small-caps;|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
Similarly, the parameter {{para|headstyle}} can be used to pass arbitrary inline CSS to the heading content. For example, one could center a red heading above a left-aligned message; this:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |headstyle=text-align:center; color:red; |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code>
produces:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |headstyle=text-align:center; color:red;|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
The message box can also take an {{para|image}} parameter (with a value of just the bare filename of the image, without <code>File:...</code>, <code>Image:...</code>, or markup), but this is discouraged in articles. For an example of its use, see below.
See [[#Talk pages]], below for the talkpage-only {{para|small|y}} parameter. See also [[#Adding an image, shortcuts, etc., on the righthand side]] for additional parameters that work in talk and project pages but not articles.
===Articles===
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|demospace=main|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
===Talk pages===
On talk pages, <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|demospace=talk|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
You may also set the talkpage-only parameter {{para|small|yes}}, which alters the template's appearance thus:
{{{{BASEPAGENAME}}|demospace=talk |small=yes |header=Header |style=text-align:center;<!--margin-bottom:2.0em;--> |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |small=yes |header=Header |style=text-align:center; |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> produces ......
{{clear}}
Setting the {{para|image}} parameter changes the image shown on the lefthand side of the template.
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |image=Stop hand nuvola.svg |heading=Heading |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|demospace=talk<!--|style=margin-bottom:2.0em;--> |image=Stop hand nuvola.svg |heading=Heading |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
(Note the effect of omitting {{para|style|text-align:center;}} here)
===File and category pages===
<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> on a File: page would produce... {{{{BASEPAGENAME}}|demospace=image<!--file?-->|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}} ... and, on a Category: page, would produce: {{{{BASEPAGENAME}}|demospace=category|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
===Other pages===
On other pages, such as those in the [[Wikipedia:User pages|User:]], [[Wikipedia:Wikipedia namespace|Wikipedia:]] and [[Wikipedia:Help namespace|Help:]] [[Wikipedia:Namespaces|namespaces]], <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> would produce:
{{{{BASEPAGENAME}}|demospace=wikipedia|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
===External links and equals signs===
In most cases, external links can be used in the template without any complications. If a link – or any text – contains one or more equals signs (" = "), however, everything before the first sign will be interpreted as the name of a parameter. To prevent this, name the text carrying the link as the first numbered parameter:
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |1=Any text/links including "=" should now be interpreted correctly.<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |1=Any text/links including "=" should now be interpreted correctly.}}
===Adding an image, shortcuts, etc., on the righthand side===
To add shortcuts, images, other templates, etc. to the righthand side of the template, use {{para|imageright}}. This does not work in articles. For example,<br /><code><nowiki>{{</nowiki>{{BASEPAGENAME}} |imageright=<nowiki>[[File:Wiki letter w.svg|40px]] |Lorem ipsum dolor sit amet...}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |imageright=[[File:Wiki letter w.svg|40px]]}}
<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |imageright=<nowiki>{{Shortcuts|You|Me}} |Lorem ipsum dolor sit amet...}}</nowiki></code> includes the {{tl|Shortcut}}s template providing links to [[You]] and [[Me]]:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |imageright={{Shortcut|You|Me}} |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
====Alternate shortcut option====
As an alternative to imageright, the {{para|shortcut}} (or {{para|shortcut1}}) and {{para|shortcut''N''}} parameters (where {{nowrap|''N'' {{=}} 2}} to 5) may be used to display shortcuts. For instance, <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |shortcut1=Me |shortcut2=You |shortcut3=Them |shortcut4=Us |shortcut5=Everyone |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |shortcut1=Me |shortcut2=You |shortcut3=Them |shortcut4=Us |shortcut5=Everyone |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
''Note: If both imageright and any of the shorcut parameters are used, the contents of imageright will override the shortcut/s.'' For example,<br /><code><nowiki>{{</nowiki>{{BASEPAGENAME}} |imageright=<nowiki>[[File:Wiki letter w.svg|40px]] |shortcut1=Me |shortcut2=You |shortcut3=Them |shortcut4=Us |shortcut5=Everyone |Lorem ipsum dolor sit amet...}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |imageright=[[File:Wiki letter w.svg|40px]] |shortcut1=Me |shortcut2=You |shortcut3=Them |shortcut4=Us |shortcut5=Everyone |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
{{{{BASEPAGENAME}} and warning templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- CATEGORIES BELOW THIS LINE PLEASE; INTERWIKIS AT WIKIDATA -->
[[Category:Notice and warning templates]]
[[Category:Talk header templates]]
<!--[[labconsole:Template:Notice]]-->
}}</includeonly>
0bd62f051aed0d62c7eb43586acce0bd61a41e1f
Template:Navbar
10
92
170
2020-12-30T20:53:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Navbar|navbar}}</includeonly><noinclude>
{{documentation}}
</noinclude>
868e3566b7e8a9a5a7f3dac75cac429c47de10d3
Module:Navbar
828
93
172
2020-12-30T20:53:31Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
local p = {}
local getArgs
function p._navbar(args)
local titleArg = 1
if args.collapsible then
titleArg = 2
if not args.plain then
args.mini = 1
end
if args.fontcolor then
args.fontstyle = 'color:' .. args.fontcolor .. ';'
end
args.style = 'float:left; text-align:left'
end
local titleText = args[titleArg] or (':' .. mw.getCurrentFrame():getParent():getTitle())
local title = mw.title.new(mw.text.trim(titleText), 'Template');
if not title then
error('Invalid title ' .. titleText)
end
local talkpage = title.talkPageTitle and title.talkPageTitle.fullText or '';
local div = mw.html.create():tag('div')
div
:addClass('plainlinks')
:addClass('hlist')
:addClass('navbar')
:cssText(args.style)
if args.mini then div:addClass('mini') end
if not (args.mini or args.plain) then
div
:tag('span')
:css('word-spacing', 0)
:cssText(args.fontstyle)
:wikitext(args.text or 'This box:')
:wikitext(' ')
end
if args.brackets then
div
:tag('span')
:css('margin-right', '-0.125em')
:cssText(args.fontstyle)
:wikitext('[ ')
end
local ul = div:tag('ul');
ul
:tag('li')
:addClass('nv-view')
:wikitext('[[' .. title.fullText .. '|')
:tag(args.mini and 'abbr' or 'span')
:attr('title', 'View this template')
:cssText(args.fontstyle)
:wikitext(args.mini and 'v' or 'view')
:done()
:wikitext(']]')
:done()
:tag('li')
:addClass('nv-talk')
:wikitext('[[' .. talkpage .. '|')
:tag(args.mini and 'abbr' or 'span')
:attr('title', 'Discuss this template')
:cssText(args.fontstyle)
:wikitext(args.mini and 't' or 'talk')
:done()
:wikitext(']]');
if not args.noedit then
ul
:tag('li')
:addClass('nv-edit')
:wikitext('[' .. title:fullUrl('action=edit') .. ' ')
:tag(args.mini and 'abbr' or 'span')
:attr('title', 'Edit this template')
:cssText(args.fontstyle)
:wikitext(args.mini and 'e' or 'edit')
:done()
:wikitext(']');
end
if args.brackets then
div
:tag('span')
:css('margin-left', '-0.125em')
:cssText(args.fontstyle)
:wikitext(' ]')
end
if args.collapsible then
div
:done()
:tag('div')
:css('font-size', '114%')
:css('margin', args.mini and '0 4em' or '0 7em')
:cssText(args.fontstyle)
:wikitext(args[1])
end
return tostring(div:done())
end
function p.navbar(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return p._navbar(getArgs(frame))
end
return p
502b3101de689fc8c04dd884e89c7667b09c3b2d
Template:Navbox
10
94
174
2020-12-30T20:53:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Navbox|navbox}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
fe9b964401f895918ee4fe078678f1722a3c41ec
Module:Navbox
828
95
176
2020-12-30T20:53:32Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--
-- This module implements {{Navbox}}
--
local p = {}
local navbar = require('Module:Navbar')._navbar
local getArgs -- lazily initialized
local args
local tableRowAdded = false
local border
local listnums = {}
local ODD_EVEN_MARKER = '\127_ODDEVEN_\127'
local RESTART_MARKER = '\127_ODDEVEN0_\127'
local REGEX_MARKER = '\127_ODDEVEN(%d?)_\127'
local function striped(wikitext)
-- Return wikitext with markers replaced for odd/even striping.
-- Child (subgroup) navboxes are flagged with a category that is removed
-- by parent navboxes. The result is that the category shows all pages
-- where a child navbox is not contained in a parent navbox.
local orphanCat = '[[Category:Navbox orphans]]'
if border == 'subgroup' and args.orphan ~= 'yes' then
-- No change; striping occurs in outermost navbox.
return wikitext .. orphanCat
end
local first, second = 'odd', 'even'
if args.evenodd then
if args.evenodd == 'swap' then
first, second = second, first
else
first = args.evenodd
second = first
end
end
local changer
if first == second then
changer = first
else
local index = 0
changer = function (code)
if code == '0' then
-- Current occurrence is for a group before a nested table.
-- Set it to first as a valid although pointless class.
-- The next occurrence will be the first row after a title
-- in a subgroup and will also be first.
index = 0
return first
end
index = index + 1
return index % 2 == 1 and first or second
end
end
local regex = orphanCat:gsub('([%[%]])', '%%%1')
return (wikitext:gsub(regex, ''):gsub(REGEX_MARKER, changer)) -- () omits gsub count
end
local function processItem(item, nowrapitems)
if item:sub(1, 2) == '{|' then
-- Applying nowrap to lines in a table does not make sense.
-- Add newlines to compensate for trim of x in |parm=x in a template.
return '\n' .. item ..'\n'
end
if nowrapitems == 'yes' then
local lines = {}
for line in (item .. '\n'):gmatch('([^\n]*)\n') do
local prefix, content = line:match('^([*:;#]+)%s*(.*)')
if prefix and not content:match('^<span class="nowrap">') then
line = prefix .. '<span class="nowrap">' .. content .. '</span>'
end
table.insert(lines, line)
end
item = table.concat(lines, '\n')
end
if item:match('^[*:;#]') then
return '\n' .. item ..'\n'
end
return item
end
local function addTableRow(tbl)
-- If any other rows have already been added, then we add a 2px gutter row.
if tableRowAdded then
tbl
:tag('tr')
:css('height', '2px')
:tag('td')
:attr('colspan',2)
end
tableRowAdded = true
return tbl:tag('tr')
end
local function renderNavBar(titleCell)
if args.navbar ~= 'off' and args.navbar ~= 'plain' and not (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'Template:Navbox') then
titleCell:wikitext(navbar{
args.name,
mini = 1,
fontstyle = (args.basestyle or '') .. ';' .. (args.titlestyle or '') .. ';background:none transparent;border:none;'
})
end
end
--
-- Title row
--
local function renderTitleRow(tbl)
if not args.title then return end
local titleRow = addTableRow(tbl)
if args.titlegroup then
titleRow
:tag('th')
:attr('scope', 'row')
:addClass('navbox-group')
:addClass(args.titlegroupclass)
:cssText(args.basestyle)
:cssText(args.groupstyle)
:cssText(args.titlegroupstyle)
:wikitext(args.titlegroup)
end
local titleCell = titleRow:tag('th'):attr('scope', 'col')
if args.titlegroup then
titleCell
:css('border-left', '2px solid #fdfdfd')
:css('width', '100%')
end
local titleColspan = 2
if args.imageleft then titleColspan = titleColspan + 1 end
if args.image then titleColspan = titleColspan + 1 end
if args.titlegroup then titleColspan = titleColspan - 1 end
titleCell
:cssText(args.basestyle)
:cssText(args.titlestyle)
:addClass('navbox-title')
:attr('colspan', titleColspan)
renderNavBar(titleCell)
titleCell
:tag('div')
:attr('id', mw.uri.anchorEncode(args.title))
:addClass(args.titleclass)
:css('font-size', '114%')
:css('margin', '0 4em')
:wikitext(processItem(args.title))
end
--
-- Above/Below rows
--
local function getAboveBelowColspan()
local ret = 2
if args.imageleft then ret = ret + 1 end
if args.image then ret = ret + 1 end
return ret
end
local function renderAboveRow(tbl)
if not args.above then return end
addTableRow(tbl)
:tag('td')
:addClass('navbox-abovebelow')
:addClass(args.aboveclass)
:cssText(args.basestyle)
:cssText(args.abovestyle)
:attr('colspan', getAboveBelowColspan())
:tag('div')
:wikitext(processItem(args.above, args.nowrapitems))
end
local function renderBelowRow(tbl)
if not args.below then return end
addTableRow(tbl)
:tag('td')
:addClass('navbox-abovebelow')
:addClass(args.belowclass)
:cssText(args.basestyle)
:cssText(args.belowstyle)
:attr('colspan', getAboveBelowColspan())
:tag('div')
:wikitext(processItem(args.below, args.nowrapitems))
end
--
-- List rows
--
local function renderListRow(tbl, index, listnum)
local row = addTableRow(tbl)
if index == 1 and args.imageleft then
row
:tag('td')
:addClass('navbox-image')
:addClass(args.imageclass)
:css('width', '0%')
:css('padding', '0px 2px 0px 0px')
:cssText(args.imageleftstyle)
:attr('rowspan', 2 * #listnums - 1)
:tag('div')
:wikitext(processItem(args.imageleft))
end
if args['group' .. listnum] then
local groupCell = row:tag('th')
groupCell
:attr('scope', 'row')
:addClass('navbox-group')
:addClass(args.groupclass)
:cssText(args.basestyle)
if args.groupwidth then
groupCell:css('width', args.groupwidth)
end
groupCell
:cssText(args.groupstyle)
:cssText(args['group' .. listnum .. 'style'])
:wikitext(args['group' .. listnum])
end
local listCell = row:tag('td')
if args['group' .. listnum] then
listCell
:css('text-align', 'left')
:css('border-left-width', '2px')
:css('border-left-style', 'solid')
else
listCell:attr('colspan', 2)
end
if not args.groupwidth then
listCell:css('width', '100%')
end
local rowstyle -- usually nil so cssText(rowstyle) usually adds nothing
if index % 2 == 1 then
rowstyle = args.oddstyle
else
rowstyle = args.evenstyle
end
local listText = args['list' .. listnum]
local oddEven = ODD_EVEN_MARKER
if listText:sub(1, 12) == '</div><table' then
-- Assume list text is for a subgroup navbox so no automatic striping for this row.
oddEven = listText:find('<th[^>]*"navbox%-title"') and RESTART_MARKER or 'odd'
end
listCell
:css('padding', '0px')
:cssText(args.liststyle)
:cssText(rowstyle)
:cssText(args['list' .. listnum .. 'style'])
:addClass('navbox-list')
:addClass('navbox-' .. oddEven)
:addClass(args.listclass)
:tag('div')
:css('padding', (index == 1 and args.list1padding) or args.listpadding or '0em 0.25em')
:wikitext(processItem(listText, args.nowrapitems))
if index == 1 and args.image then
row
:tag('td')
:addClass('navbox-image')
:addClass(args.imageclass)
:css('width', '0%')
:css('padding', '0px 0px 0px 2px')
:cssText(args.imagestyle)
:attr('rowspan', 2 * #listnums - 1)
:tag('div')
:wikitext(processItem(args.image))
end
end
--
-- Tracking categories
--
local function needsHorizontalLists()
if border == 'subgroup' or args.tracking == 'no' then
return false
end
local listClasses = {
['plainlist'] = true, ['hlist'] = true, ['hlist hnum'] = true,
['hlist hwrap'] = true, ['hlist vcard'] = true, ['vcard hlist'] = true,
['hlist vevent'] = true,
}
return not (listClasses[args.listclass] or listClasses[args.bodyclass])
end
local function hasBackgroundColors()
for _, key in ipairs({'titlestyle', 'groupstyle', 'basestyle'}) do
if tostring(args[key]):find('background', 1, true) then
return true
end
end
end
local function isIllegible()
local styleratio = require('Module:Color contrast')._styleratio
for key, style in pairs(args) do
if tostring(key):match("style$") then
if styleratio{mw.text.unstripNoWiki(style)} < 4.5 then
return true
end
end
end
return false
end
local function getTrackingCategories()
local cats = {}
if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end
if isIllegible() then table.insert(cats, 'Potentially illegible navboxes') end
return cats
end
local function renderTrackingCategories(builder)
local title = mw.title.getCurrentTitle()
if title.namespace ~= 10 then return end -- not in template space
local subpage = title.subpageText
if subpage == 'doc' or subpage == 'sandbox' or subpage == 'testcases' then return end
for _, cat in ipairs(getTrackingCategories()) do
builder:wikitext('[[Category:' .. cat .. ']]')
end
end
--
-- Main navbox tables
--
local function renderMainTable()
local tbl = mw.html.create('table')
:addClass('nowraplinks')
:addClass(args.bodyclass)
if args.title and (args.state ~= 'plain' and args.state ~= 'off') then
tbl
:addClass('collapsible')
:addClass(args.state or 'autocollapse')
end
tbl:css('border-spacing', 0)
if border == 'subgroup' or border == 'none' then
tbl
:addClass('navbox-subgroup')
:cssText(args.bodystyle)
:cssText(args.style)
else -- regular navbox - bodystyle and style will be applied to the wrapper table
tbl
:addClass('navbox-inner')
:css('background', 'transparent')
:css('color', 'inherit')
end
tbl:cssText(args.innerstyle)
renderTitleRow(tbl)
renderAboveRow(tbl)
for i, listnum in ipairs(listnums) do
renderListRow(tbl, i, listnum)
end
renderBelowRow(tbl)
return tbl
end
function p._navbox(navboxArgs)
args = navboxArgs
for k, _ in pairs(args) do
if type(k) == 'string' then
local listnum = k:match('^list(%d+)$')
if listnum then table.insert(listnums, tonumber(listnum)) end
end
end
table.sort(listnums)
border = mw.text.trim(args.border or args[1] or '')
if border == 'child' then
border = 'subgroup'
end
-- render the main body of the navbox
local tbl = renderMainTable()
-- render the appropriate wrapper around the navbox, depending on the border param
local res = mw.html.create()
if border == 'none' then
local nav = res:tag('div')
:attr('role', 'navigation')
:node(tbl)
if args.title then
nav:attr('aria-labelledby', mw.uri.anchorEncode(args.title))
else
nav:attr('aria-label', 'Navbox')
end
elseif border == 'subgroup' then
-- We assume that this navbox is being rendered in a list cell of a parent navbox, and is
-- therefore inside a div with padding:0em 0.25em. We start with a </div> to avoid the
-- padding being applied, and at the end add a <div> to balance out the parent's </div>
res
:wikitext('</div>')
:node(tbl)
:wikitext('<div>')
else
local nav = res:tag('div')
:attr('role', 'navigation')
:addClass('navbox')
:cssText(args.bodystyle)
:cssText(args.style)
:css('padding', '3px')
:node(tbl)
if args.title then
nav:attr('aria-labelledby', mw.uri.anchorEncode(args.title))
else
nav:attr('aria-label', 'Navbox')
end
end
renderTrackingCategories(res)
return striped(tostring(res))
end
function p.navbox(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
args = getArgs(frame, {wrappers = 'Template:Navbox'})
-- Read the arguments in the order they'll be output in, to make references number in the right order.
local _
_ = args.title
_ = args.above
for i = 1, 20 do
_ = args["group" .. tostring(i)]
_ = args["list" .. tostring(i)]
end
_ = args.below
return p._navbox(args)
end
return p
814e9a9ce73fb8603beeb2a60aaeaded1c0cb21b
Template:Navbox/doc
10
96
178
2020-12-30T20:53:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{#ifeq:{{FULLPAGENAME}}|Template:Navbox|{{high-risk| 2450000+ }}}}<includeonly>
{{lua|Module:Navbox}}{{Template display|nomobile}}</includeonly>
{{Navbox suite}}
{{for|vertically-aligned navigation|Template:Sidebar}}
This template allows a [[Wikipedia:Navigation template|navigational template]] to be set up relatively quickly by supplying it with one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is possible, but not recommended. Using this template, or one of its "Navbox suite" sister templates, is highly recommended for standardization of navigational templates, and for ease of use.
{{Navbox visibility}}
== Usage ==
Please remove the parameters that are left blank.
<pre style="overflow: auto;">{{Navbox
| name = {{subst:PAGENAME}}{{subst:void|Don't change anything on this line. It will change itself when you save.}}
| title =
| listclass = hlist
| state = {{{state|}}}
| above =
| image =
| group1 =
| list1 =
| group2 =
| list2 =
| group3 =
| list3 =
<!-- ... -->
| below =
}}
</pre>
== Parameter list ==
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| title = {{{title}}}
| above = {{{above}}}
| image = {{{image}}}
| group1 = {{{group1}}}
| list1 = {{{list1}}}
| group2 = {{{group2}}}
| list2 = {{{list2}}}
| list3 = {{{list3}}} ''without {{{group3}}}''
| group4 = {{{group4}}}
| list4 = {{{list4}}}
| below = {{{below}}} <br /> See alternate navbox formats under: [[#Layout of table|''Layout of table'']]
}}
The navbox uses lowercase parameter names, as shown in the box (''above''). The required ''name'' and ''title'' will create a one-line box if other parameters are omitted.
Notice "group1" (etc.) is optional, as are sections named "above/below".
{{clear}}
The basic and most common parameters are as follows (see [[#Parameter descriptions|below]] for the full list):
: <code>name</code> – the name of the template.
: <code>title</code> – text in the title bar, such as: <nowiki>[[Widget stuff]]</nowiki>.
: <code>listclass</code> – a CSS class for the list cells, usually <code>hlist</code> for horizontal lists. Alternatively, use bodyclass for the whole box.
: <code>state</code> – controls when a navbox is expanded or collapsed.
: <code>titlestyle</code> – a CSS style for the title-bar, such as: <code>background: gray;</code>
: <code>groupstyle</code> – a CSS style for the group-cells, such as: <code>background: #eee;</code>
: <code>above</code> – text to appear above the group/list section (could be a list of overall wikilinks).
: <code>image</code> – an optional right-side image, coded as the whole image. Typically it is purely decorative, so it should be coded as <code><nowiki>[[File:</nowiki><var>XX</var><nowiki>.jpg|80px|link=|alt=]]</nowiki></code>.
: <code>imageleft</code> – an optional left-side image (code the same as the "image" parameter).
: <code>group<sub>n</sub></code> – the left-side text before list-n (if group-n omitted, list-n starts at left of box).
: <code>list<sub>n</sub></code> – text listing wikilinks using a [[Help:Lists|wikilist]] format.
: <code>below</code> – optional text to appear below the group/list section.
== Parameter descriptions ==
The following is a complete list of parameters for using {{tl|Navbox}}. In most cases, the only required parameters are <code>name</code>, <code>title</code>, and <code>list1</code>, though [[Template:Navbox/doc#Child navboxes|child navboxes]] do not even require those to be set.
{{tl|Navbox}} shares numerous common parameter names with its sister templates, {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}}, for consistency and ease of use. Parameters marked with an asterisk (*) are common to all three master templates.
=== Setup parameters ===
:; ''name''*
:: The name of the template, which is needed for the "V • T • E" ("View • Talk • Edit") links to work properly on all pages where the template is used. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut. The name parameter is only mandatory if a <code>title</code> is specified, and the <code>border</code> parameter is not set, and the <code>navbar</code> parameter is not used to disable the navbar.
:; ''state''* <span style="font-weight:normal;">[<code>autocollapse, collapsed, expanded, plain, off</code>]</span>
:* Defaults to <code>autocollapse</code>. A navbox with <code>autocollapse</code> will start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded. For the technically minded, see [[MediaWiki:Common.js]].
:* If set to <code>collapsed</code>, the navbox will always start out in a collapsed state.
:* If set to <code>expanded</code>, the navbox will always start out in an expanded state.
:* If set to <code>plain</code>, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the <small>V • T • E</small> links).
:* If set to <code>off</code>, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.
: To show the box when standalone (non-included) but then auto-hide contents when in an article, put "expanded" inside {{tag|noinclude|p}} tags. This setting will force the box visible when standalone (even when followed by other boxes), displaying "[hide]", but then it will auto-collapse the box when stacked inside an article:
:: <code><nowiki>| state = </nowiki></code>{{tag|noinclude|content=expanded}}
: Often times, editors will want a default initial state for a navbox, which may be overridden in an article. Here is the trick to do this:
:* In your intermediate template, create a parameter also named "state" as a pass-through like this:
:: <code><nowiki>| state = {{{state<includeonly>|your_desired_initial_state</includeonly>}}}</nowiki></code>
:* The {{tag|includeonly|o}}<code>|</code> will make the template expanded when viewing the template page by itself.
::* Example 1: {{tl|Peso}} with ''autocollapse'' as the default initial state. [[Catalan peseta]] transcludes it and has only one navbox; thus, the peso navbox shows. [[Chilean peso]] has more than two navboxes; thus, the peso navbox collapses.
::* Example 2: {{tl|Historical currencies of Hungary}} with ''expanded'' as the default initial state, as such:
:::<code><nowiki>| state = {{{state<includeonly>|expanded</includeonly>}}}</nowiki></code>
:::All transcluding articles show the content by default, unless there is a hypothetical article that specifies <code><nowiki>{{templatename|state=collapsed}}</nowiki></code> when transcluding.
::* Example 3: {{tl|Tourism}} with ''collapsed'' as the default initial state, as such:
:::<code><nowiki>| state = {{{state<includeonly>|collapsed</includeonly>}}}</nowiki></code>
:::All transcluding articles will show the template as collapsed by default, but the template will still be uncollapsed when displayed on its own page.
:* The template {{tl|Collapsible option}} explains how to use the <code>state</code> parameter. It can be added to a {{tag|noinclude|p}} section after the template definition or to the instructions on the {{tl|documentation subpage}}.
:; ''navbar''*
:: If set to <code>plain</code>, the <span style="font-size: 88%;">V • T • E</span> links on the left side of the titlebar will not be displayed, and padding will be automatically used to keep the title centered. Use <code>off</code> to remove the <span style="font-size: 88%;">V • T • E</span> links, but not apply padding (this is for advanced use only; the "plain" option should suffice for most applications where a navbar is not desired). It is highly recommended that one not hide the navbar, in order to make it easier for users to edit the template, and to keep a standard style across pages.
:; ''border''*
:: ''See later section on [[#Child navboxes|using navboxes within one another]] for examples and a more complete description.'' If set to <code>child</code> or <code>subgroup</code>, then the navbox can be used as a borderless child that fits snugly in another navbox. The border is hidden and there is no padding on the sides of the table, so it fits into the ''list'' area of its parent navbox. If set to <code>none</code>, then the border is hidden and padding is removed, and the navbox may be used as a child of another container (do not use the <code>none</code> option inside of another navbox; similarly, only use the <code>child</code>/<code>subgroup</code> option inside of another navbox). If set to anything else (default), then a regular navbox is displayed with a 1px border. An alternate way to specify the border to be a subgroup style is like this (i.e. use the first unnamed parameter instead of the named ''border'' parameter):
::: <code><nowiki>{{Navbox|child</nowiki></code>
:::: <code>...</code>
::: <code><nowiki>}}</nowiki></code>
=== Cells ===
:; ''title''*
:: Text that appears centered in the top row of the table. It is usually the template's topic, i.e. a succinct description of the body contents. This should be a single line, but if a second line is needed, use <code><nowiki>{{-}}</nowiki></code> to ensure proper centering. This parameter is technically not mandatory, but using {{tl|Navbox}} is rather pointless without a title.
:; ''above''*
:: A full-width cell displayed between the titlebar and first group/list, i.e. ''above'' the template's body (groups, lists and image). In a template without an image, ''above'' behaves in the same way as the ''list1'' parameter without the ''group1'' parameter.
:; ''group<sub>n</sub>''*
:: (i.e. ''group1'', ''group2'', etc.) If specified, text appears in a header cell displayed to the left of ''list<sub>n</sub>''. If omitted, ''list<sub>n</sub>'' uses the full width of the table.
:; ''list<sub>n</sub>''*
:: (i.e. ''list1'', ''list2'', etc.) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within <code><nowiki><div> </div></nowiki></code>. At least one ''list'' parameter is required; each additional ''list'' is displayed in a separate row of the table. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below).
::Entries should be separated using a [[newline]] and an [[asterisk]] (*). If instead two asterisks are used, it provides [[Nesting (computing)|nesting]] within the previous entry by enclosing the entry with brackets. Increasing the number of asterisks used increases the number of brackets around entries.
:; ''image''*
:: An image to be displayed in a cell below the title and to the right of the body (the groups/lists). For the image to display properly, the ''list1'' parameter must be specified. The ''image'' parameter accepts standard wikicode for displaying an image, ''e.g.'':
::: <code><nowiki>[[File:</nowiki><var>XX</var><nowiki>.jpg|80px|link=|alt=]]</nowiki></code>
::: nb: including "|right" will produce the usual left margin to provide separation from the list items and [[Zebra striping (computer graphics)|zebra striping]].
:; ''imageleft''*
:: An image to be displayed in a cell below the title and to the left of the body (lists). For the image to display properly, the ''list1'' parameter must be specified and no groups can be specified. It accepts the same sort of parameter that ''image'' accepts.
:; ''below''*
:: A full-width cell displayed ''below'' the template's body (groups, lists and image). In a template without an image, ''below'' behaves in the same way as the template's final ''list<sub>n</sub>'' parameter without a ''group<sub>n</sub>'' parameter. For an example of the ''below'' parameter in use, see {{oldid|Main Page|352612160|this}} version of {{tl|Lists of the provinces and territories of Canada}}.
=== Style parameters ===
Styles are generally advised against, to maintain consistency among templates and pages in Wikipedia; but the option to modify styles is given.
:; ''bodystyle''*
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template body. This option should be used sparingly as it can lead to visual inconsistencies. Examples:
::: <code>bodystyle = background: #''nnnnnn'';</code>
::: <code>bodystyle = width: ''N'' [em/%/px or width: auto];</code>
::: <code>bodystyle = float: [''left/right/none''];</code>
::: <code>bodystyle = clear: [''right/left/both/none''];</code>
:; ''basestyle''*
:: CSS styles to apply to the ''title'', ''above'', ''below'', and ''group'' cells all at once. The styles are not applied to ''list'' cells. This is convenient for easily changing the basic color of the navbox without having to repeat the style specifications for the different parts of the navbox. Examples:
::: <code>basestyle = background: lightskyblue;</code>
:; ''titlestyle''*
:: [[Cascading Style Sheets|CSS]] styles to apply to ''title'', most often the titlebar's background color:
::: <code>titlestyle = background: ''#nnnnnn'';</code>
::: <code>titlestyle = background: ''name'';</code>
::: <code>titlestyle = background: none;</code> — for no background color
:; ''groupstyle''*
:: CSS styles to apply to the ''groupN'' cells. This option overrides any styles that are applied to the entire table. Examples:
::: <code>groupstyle = background: #''nnnnnn'';</code>
::: <code>groupstyle = text-align: [''left/center/right''];</code>
::: <code>groupstyle = vertical-align: [''top/middle/bottom''];</code>
:; ''group<sub>n</sub>style''*
:: CSS styles to apply to a specific group, in addition to any styles specified by the ''groupstyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:
::: <code>group3style = background: red; color: white;</code>
:; ''groupwidth''
:: A number and unit specifying a uniform width for the group cells, in cases where little content in the list cells may cause group cells to be too wide. No default. However, may be overridden by the ''group(n)style'' parameter. Examples:
::: <code>groupwidth = 9em</code>
:; ''liststyle''*
:: CSS styles to apply to all lists. Overruled by the ''oddstyle'' and ''evenstyle'' parameters (if specified) hereafter. When using backgound colors in the navbox, see the [[#Intricacies|note hereafter]].
:; ''list<sub>n</sub>style''*
:: CSS styles to apply to a specific list, in addition to any styles specified by the ''liststyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:
::: <code>list5style = background: #ddddff;</code>
:; ''listpadding''*
:: A number and unit specifying the padding in each ''list'' cell. The ''list'' cells come equipped with a default padding of 0.25em on the left and right, and 0 on the top and bottom. Due to complex technical reasons, simply setting "liststyle = padding: 0.5em;" (or any other padding setting) will not work. Examples:
::: <code>listpadding = 0.5em 0;</code> (sets 0.5em padding for the top/bottom, and 0 padding for the left/right.)
::: <code>listpadding = 0;</code> (removes all list padding.)
:; ''oddstyle''
:; ''evenstyle''
:: Applies to odd/even list numbers. Overrules styles defined by ''liststyle''. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.
:; ''evenodd'' <span style="font-weight: normal;"><code>[swap, even, odd, off]</code></span>
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. This advanced parameter should only be used to fix problems when the navbox is being used as a child of another navbox and the stripes do not match up. Examples and a further description can be found in the section on child navboxes below.
:; ''abovestyle''*
:; ''belowstyle''*
:: CSS styles to apply to the top cell (specified via the ''above'' parameter) and bottom cell (specified via the ''below'' parameter). Typically used to set background color or text alignment:
::: <code>abovestyle = background: #''nnnnnn'';</code>
::: <code>abovestyle = text-align: [''left/center/right''];</code>
::: <code>belowstyle = background: #''nnnnnn'';</code>
::: <code>belowstyle = text-align: [''left/center/right''];</code>
:; ''imagestyle''*
:; ''imageleftstyle''*
:: CSS styles to apply to the cells where the image/imageleft sits. These styles should only be used in exceptional circumstances, usually to fix width problems if the width of groups is set and the width of the image cell grows too large. Examples:
::: <code>imagestyle = width:5em;</code>
===== Default styles =====
The style settings listed here are those that editors using the navbox change most often. The other more complex style settings were left out of this list to keep it simple. Most styles are set in [[MediaWiki:Common.css]].
: <code>bodystyle = background: #fdfdfd; width: 100%; vertical-align: middle;</code>
: <code>titlestyle = background: #ccccff; padding-left: 1em; padding-right: 1em; text-align: center;</code>
: <code>abovestyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;</code>
: <code>belowstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;</code>
: <code>groupstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: right;</code>
: <code>liststyle = background: transparent; text-align: left/center;</code>
: <code>oddstyle = background: transparent;</code>
: <code>evenstyle = background: #f7f7f7;</code>
Since ''liststyle'' and ''oddstyle'' are transparent, odd lists have the color of the ''bodystyle'', which defaults to #fdfdfd (white with a hint of gray). A list defaults to <code>text-align: left;</code> if it has a group, if not it defaults to <code>text-align: center;</code>. Since only ''bodystyle'' has a vertical-align all the others inherit its <code>vertical-align: middle;</code>.
=== Advanced parameters ===
:; ''bodyclass''
:; ''aboveclass''
:; ''groupclass''
:; ''listclass''
:; ''belowclass''
:: This enables attaching a CSS class to group or list cells. The most common use for ''listclass'' is to give it the <code>hlist</code> class that will cause lists to render horizontally. All these parameters accept the <code>hlist</code> class, but if more than one parameter is used for <code>hlist</code>, use {{para|bodyclass|hlist}} instead.
:; ''titlegroup''
:: This puts a group in the title area, with the same default styles as ''group<sub>n</sub>''. It should be used only in exceptional circumstances (usually advanced meta-templates) and its use requires some knowledge of the internal code of {{tl|Navbox}}; you should be ready to manually set up CSS styles to get everything to work properly if you wish to use it. If you think you have an application for this parameter, it might be best to change your mind, or consult the talk page first.
:; ''titlegroupstyle''
:: The styles for the titlegroup cell.
:; ''innerstyle''
:: A very advanced parameter to be used ''only'' for advanced meta-templates employing the navbox. Internally, the navbox uses an outer table to draw the border, and then an inner table for everything else (title/above/groups/lists/below/images, etc.). The ''style''/''bodystyle'' parameter sets the style for the outer table, which the inner table inherits, but in advanced cases (meta-templates) it may be necessary to directly set the style for the inner table. This parameter provides access to that inner table so styles can be applied. Use at your own risk.
==== Microformats ====
:; ''bodyclass''
:: This parameter is inserted into the "class" attribute for the navbox as a whole.
:; ''titleclass''
:: This parameter is inserted into the "class" attribute for the navbox's title caption.
This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag a navbox as containing [[hCard]] information about a person, for example, add the following parameter:
<pre>
| bodyclass = vcard
</pre>
''and''
<pre>
| titleclass = fn
</pre>
''or'' (for example):
<pre><nowiki>
| title = The books of <span class="fn">[[Iain Banks]]</span>
</nowiki></pre>
...and so forth.
See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia, and [[microformat]] for more information on microformats in general.
== Layout of table ==
===Without image, above and below===
Table generated by {{tl|Navbox}} '''without''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| liststyle = background: silver;
| title = {{{title}}}
| group1 = {{{group1}}}
| list1 = {{{list1}}}
| group2 = {{{group2}}}
| list2 = {{{list2}}}
| list3 = {{{list3}}} ''without {{{group3}}}''
| group4 = {{{group4}}}
| list4 = {{{list4}}}
}}
===With image, above and below===
Table generated by {{tl|Navbox}} '''with''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| liststyle = background: silver;
| image = {{{image}}}
| title = {{{title}}}
| above = {{{above}}}
| group1 = {{{group1}}}
| list1 = {{{list1}}}
| group2 = {{{group2}}}
| list2 = {{{list2}}}
| list3 = {{{list3}}} ''without {{{group3}}}''
| group4 = {{{group4}}}
| list4 = {{{list4}}}
| below = {{{below}}}
}}
===With image and without groups===
Table generated by {{tl|Navbox}} '''with''' ''image'', ''imageleft'', ''lists'', and '''without''' ''groups'', ''above'', ''below'' (gray list background color added for illustration only):
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| liststyle = background: silver;
| image = {{{image}}}
| imageleft = {{{imageleft}}}
| title = {{{title}}}
| list1 = {{{list1}}}
| list2 = {{{list2}}}
| list3 = {{{list3}}}
| list4 = {{{list4}}}
}}
== Examples ==
<!-- Please do not encourage folks to use <div> within Navboxes as (unless handled carefully) they can negate liststyles/groupstyles/etc. settings. -->
=== No image ===
<pre style="overflow: auto;">
{{Navbox
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| group1 = Centre
| list1 =
* [[Cyberjaya]]
| group2 = Area
| list2 =
* [[Klang Valley]]
| group3 = Major landmarks
| list3 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
* [[Kuala Lumpur International Airport]]
| group4 = Infrastructure
| list4 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5 =
* [[E-Government]]
* [[MyKad]]
}}
</pre>
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| title = [[MSC Malaysia]]
| listclass = hlist
| group1 = Centre
| list1 =
* [[Cyberjaya]]
| group2 = Area
| list2 =
* [[Klang Valley]]
| group3 = Major landmarks
| list3 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
* [[Kuala Lumpur International Airport]]
| group4 = Infrastructure
| list4 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5 =
* [[E-Government]]
* [[MyKad]]
}}
=== With image, without groups ===
<pre style="overflow: auto;">
{{Navbox
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| list1 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
* [[Kuala Lumpur International Airport]]
}}
</pre>
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| list1 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
* [[Kuala Lumpur International Airport]]
}}
=== With two images, without groups, multiple lists ===
<pre style="overflow: auto;">
{{Navbox
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| imageleft = [[File:Flag of Malaysia.svg|80px]]
| list1 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
| list2 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| list3 =
* [[E-Government]]
* [[MyKad]]
| list4 =
* [[Klang Valley]]
}}
</pre>
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| imageleft = [[File:Flag of Malaysia.svg|80px]]
| list1 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
| list2 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| list3 =
* [[E-Government]]
* [[MyKad]]
| list4 =
* [[Klang Valley]]
}}
=== With image, groups, above, below ===
<pre style="overflow: auto;">
{{Navbox
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| above = Above text goes here
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| group1 = Centre
| list1 =
* [[Cyberjaya]]
| group2 = Area
| list2 =
* [[Klang Valley]]
| group3 = Major landmarks
| list3 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
| group4 = Infrastructure
| list4 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5 =
* [[E-Government]]
* [[MyKad]]
| below = Below text goes here
}}
</pre>
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| above = Above text goes here
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| group1 = Centre
| list1 =
* [[Cyberjaya]]
| group2 = Area
| list2 =
* [[Klang Valley]]
| group3 = Major landmarks
| list3 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
| group4 = Infrastructure
| list4 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5 =
* [[E-Government]]
* [[MyKad]]
| below = Below text goes here
}}
== Child navboxes ==
{{Selfref|For additional examples, see the [[Template:Navbox/testcases|Navbox testcases page]].}}
It is possible to place multiple navboxes within a single border with the use of the ''border'' parameter, or by specifying the first parameter to be "child". The basic code for doing this is as follows (which adds a subgroup for the first group/list area):
<pre style="overflow: auto;">
{{Navbox
| name = {{subst:PAGENAME}}
| title = Title
| group1 = [optional]
| list1 = {{Navbox|child
...child navbox parameters...
}}
...
}}
</pre>
=== Subgroups example ===
{{main|Template:Navbox subgroup}}
This example shows how subgroups can be used. It is recommended that one use {{tl|Navbox subgroup}}, but the same result can be reached by using {{tl|Navbox}} with <code>border = child</code> or the first unnamed parameter set to <code>child</code>. The striping is alternated automatically. To remove the striping altogether, you can set <code>liststyle = background:transparent;</code> in each of the navboxes.
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| image = [[File:Flag of the United States.svg|100px|link=|alt=]]
| state = uncollapsed
| title = Multiple subgroup example
| above = Above
| below = Below
| group1 = Group1
| list1 = List1
| group2 = Group2
| list2 =
{{{{PAGENAMETDOC}}|child
| evenodd = swap
| group1 = Group2.1
| list1 = List1
| group2 = Group2.2
| list2 = List2
| group3 = Group2.3
| list3 = List3
}}
| group3 = Group3
| list3 = List3
| group4 = Group4
| list4 =
{{{{PAGENAMETDOC}}|child
| evenodd = swap
| group1 = Group4.1
| list1 = List1
| group2 = Group4.2
| list2 = List2
| group3 = Group4.3
| list3 = List3
}}
}}
=== Multiple show/hides in a single container ===
{{main|Template:Navbox with collapsible groups}}
The example below is generated using a regular navbox for the main container, then its list1, list2, and list3 parameters each contain another navbox, with <code>1 = child</code> set. The view (v), discuss (d), edit (e) navbar links are hidden using <code>navbar = plain</code> for each of them, or could be suppressed by just leaving out the ''name'' parameter (child navboxes do not require the name parameter to be set, unlike regular navboxes).
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| title = [[File:Blason France moderne.svg|x17px|link=|alt=]] [[File:Flag of France.svg|x17px|link=|alt=]] [[French colonial empire|Former French overseas empire]]
| state = uncollapsed
| list1 = {{{{PAGENAMETDOC}}|child
| navbar = plain
| title = [[French colonial empire|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]
| listclass = hlist
| group1 = [[Mahgreb]]
| list1 =
* [[French rule in Algeria|Algeria]]
* [[French Morocco|Morocco]] <small>([[Arguin|Arguin Island]])</small>
* [[History of Tunisia|Tunisia]]
| group2 = [[French West Africa]]
| list2 =
* [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]
* [[French Dahomey|Dahomey]]
* [[French Sudan]]
* [[French Guinea|Guinea]]
* [[History of Mauritania#French colonization and post-colonial history|Mauritania]]
* [[History of Niger#Colonization|Niger]]
* [[History of Senegal|Senegal]]
* [[French Upper Volta|Upper Volta]]
* [[French Togoland]]
* [[James Island (The Gambia)|James Island]]
| group3 = [[French Equatorial Africa]]
| list3 =
* [[Colonial Chad|Chad]]
* [[History of Gabon|Gabon]]
* [[History of the Republic of the Congo|Middle Congo]]
* [[Oubangui-Chari]]
| group4 = [[Comoros]]
| list4 =
* [[Anjouan]]
* [[Grande Comore]]
* [[Mohéli]]
* [[History of Djibouti#French Interest|French Somaliland (Djibouti)]]
* [[History of Madagascar#French control|Madagascar]]
* [[Mauritius|Ile de France]]
* [[Seychelles]]
}}
| list2 = {{{{PAGENAMETDOC}}|child
| navbar = plain
| title = [[French colonial empire|Former French colonies]] in the [[Americas]]
| listclass = hlist
| list1 =
* [[New France]]{{spaces|2}}<small>([[Acadia]], [[Louisiana (New France)|Louisiana]], [[Canada, New France|Canada]], [[Newfoundland (island)|Terre Neuve]]) 1655–1763 </small>
| list2 =
* [[Inini]]
* [[Berbice]]
* [[Saint-Domingue]]
* <small>[[Haiti]]</small>
* [[Tobago]]
* [[History of the British Virgin Islands|Virgin Islands]]
* [[France Antarctique]]
* [[France Équinoxiale]]
| below = [[French West India Company]]
}}
| list3 = {{{{PAGENAMETDOC}}|child
| navbar = plain
| title = [[French colonial empire|Former French colonies]] in [[Asia]] and [[Oceania]]
| listclass = hlist
| group1 = [[French India]]
| list1 =
* [[Chandernagor]]
* [[Coromandel Coast]]
* [[History of Chennai|Madras]]
* [[Mahé, India|Mahé]]
* [[History of Pondicherry|Pondichéry]]
* [[Karaikal]]
* [[Yanam (India)|Yanaon]]
| group2 = [[French Indochina]]
| list2 =
* [[Colonial Cambodia|Cambodia]]
* [[History of Laos to 1945#French Laos|Laos]]
* [[French Indochina|Vietnam]] <small>([[Annam (French colony)|Annam]], [[Cochinchina]], [[Tonkin]])</small>
| group3 = Other Asian
| list3 =
* [[Alawite State|Alaouites]]
* [[Republic of Hatay|Alexandretta-Hatay]]
* [[Sri Lanka|Ceylon]]
* [[Kwangchowan]]
| group4 = [[Oceania]]
| list4 =
* [[New Hebrides]]
** [[History of Vanuatu|Vanuatu]]
| below = [[French East India Company]]
}}
}}
== Relationship with other Navbox templates ==
This navbox template is specifically designed to work in conjunction with two other sister templates: {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}}. All three of these templates share common parameters for consistency and ease of use (such parameters are marked with an asterisk (*) in the [[#Parameter descriptions|parameter descriptions]] list hereinbefore). Most importantly, each template can be used as a child of one another (by using the {{para|border|child}} parameter, or by specifying the first unnamed parameter to be <code>child</code>. For example: <code><nowiki>{{Navbox|child ...}}</nowiki></code>, <code><nowiki>{{Navbox with columns|child ...}}</nowiki></code> or <code><nowiki>{{Navbox with collapsible groups|child ...}}</nowiki></code>.)
== Technical details ==
* This template uses CSS classes for most of its looks, thus it is fully skinnable.
* Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
* For more technical details see the [[{{TALKPAGENAME}}|talk page]], the CSS classes in [[MediaWiki:Common.css]] and the collapsible table used to hide the box in [[MediaWiki:Common.js]].
=== Intricacies ===
* The 2px wide border between groups and lists is drawn using the border-left property of the list cell. Thus, if you wish to change the background color of the template (for example <code>bodystyle = background:purple;</code>), then you'll need to make the border-left-color match the background color (i.e. <code>liststyle = border-left-color: purple;</code>). If you wish to have a border around each list cell, then the 2px border between the list cells and group cells will disappear; you'll have to come up with your own solution.
* The list cell width is initially set to 100%. Thus, if you wish to manually set the width of group cells, you'll need to also specify the liststyle to have width: auto. If you wish to set the group width and use images, it's up to you to figure out the CSS in the groupstyle, liststyle, imagestyle, and imageleftstyle parameters to get everything to work correctly. Example of setting group width:
:: <code>groupstyle = width: 10em;</code>
:: <code>liststyle = width: auto;</code>
* Adjacent navboxes have only a 1 pixel border between them (except in IE 6, which doesn't support the necessary CSS). If you set the top or bottom margin of <code>style/bodystyle</code>, then this will not work.
* The default margin-left and margin-right of the outer navbox table are set to "auto;". If you wish to use navbox as a float, you need to manually set the margin-left and margin-right values, because the auto margins interfere with the float option. For example, add the following code to use the navbox as a float:
::<code>bodystyle = width: 22em; float: right; margin-left: 1em; margin-right: 0;</code>
=== Copying to other projects or wikis? ===
Using this template on other wikis requires [[HTML Tidy]] to be turned on. A version that does not require Tidy can be found at [[Wikipedia:WikiProject Transwiki/Template:Navbox]]. (That version generally shouldn't be used here on the English Wikipedia.) More detailed information on copying {{tlf|Navbox}} to other wikis can be found on the [[Template talk:Navbox|talk page]].
=== Known issues ===
# If the heading of the navbox spans more than one line, the second line will be displayed to the right of center. This can be avoided by hard-coding linebreaks with {{tag|br|single|params=clear="all"}}.
# In Internet Explorer 8 and 9, there is a bug when using <code>hlist</code>; navbox will fail to wrap the list to the next line if the list items start with an image, causing navbox to extend its width outside the screen. This can be fixed by adding <code>&nbsp;</code> in front of the images.
# Excessive use of the '''unsubstituted''' {{tlx|•}} template as a delimiter, can in extreme cases cause the wiki page rendering to fail — there is a limit to the number of templates that can be used on a page (example [[Ketamine]] where the inclusion of eleven Navboxes with hundreds of bullets caused the page load not to complete, only the substitution of the bullets in those navboxes cured the problem). Use of the <code>hlist</code> class avoids the delimiter transclusion issue altogether, as the delimiters are rendered via CSS.
== See also ==
* {{tl|Otherarticles}} – a small navbox based on an existing category
* {{tl|Navbar}} – Used for the navigation links in navbox.
* {{tl|Nobold}} – To display text at normal font-weight within a context where the default font-weight is bold, e.g. header cells in tables.
* {{tl|Sidebar}} – Vertically-aligned navigation templates.
* [[Template:Navbox/testcases]] – For additional examples of template code.
* [[Wikipedia:Line-break handling]] – The how-to guide about how to handle word wraps (line breaks) on Wikipedia, such as the wrapping of the link lists used in navboxes.
* {{tl|Nowrap begin}}, {{tl|·}} and {{tl|•}} are '''deprecated''' in favor of the <code>hlist</code> class for formatting lists. See [[Template:Flatlist#Technical details|Flatlist]] for a technical explanation of how <code>hlist</code> works.
{{Navigation templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Navigational boxes| ]]
[[Category:Templates generating microformats]]
[[Category:Wikipedia metatemplates]]
[[Category:Exclude in print]]
}}</includeonly>
2445dfc383a8dec3f54eb1a579ed604ad24d0054
Template:Hidden
10
97
180
2020-12-30T20:53:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{hidden begin|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expand|{{{expanded|}}}}}}|class={{{class|}}}|border={{{border|none}}}|style={{{style|{{{css|}}}}}}
|bg1={{{bg1|transparent}}}|ta1={{{ta1|center}}}|titlestyle={{#if:{{{multiline|{{{multi-line|}}}}}}|height:auto;}}{{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}}
|title={{#if:{{{multiline|{{{multi-line|}}}}}}|<div style="margin-right:4em;line-height:125%;height:auto;">{{{title|{{{header|{{{1}}}}}}}}}</div>|{{{title|{{{header|{{{1}}}}}}}}}}}
|bg2={{{bg2|transparent}}}|ta2={{{ta2|left}}}|contentstyle={{#ifeq:{{{fw2|normal}}}|normal||font-weight:{{{fw2|normal}}};}}{{{contentcss|{{{contentstyle|}}}}}} }}
{{{content|{{{contents|{{{text|{{{2}}}}}}}}}}}}{{hidden end}}{{#if:{{{bg1|}}}{{{bg2|}}}{{{ta1|}}}{{{ta2|}}}{{{fw1|}}}{{{fw2|}}}|[[Category:Hidden templates using styles|{{NAMESPACE}}{{PAGENAME}}]]}}<noinclude>
{{documentation}}
</noinclude>
8509779f24394ffe3cd4ea9233ebc0decda0127c
Template:Hidden/doc
10
98
182
2020-12-30T20:53:34Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
<includeonly>{{high-use| 77709 }}</includeonly>
{{Template:Collapse Templates}}
This template creates a [[Wikipedia:NavFrame|dynamic navigation box]] using style sheet declarations in [[MediaWiki:Common.css]] and Javascript code in [[MediaWiki:Common.js]]. In a saved, [[rendered]] page this template creates a clickable link that toggles between [show] and [hide]. It displays the first parameter (the heading) with a [show] link on the right. If [show] is clicked by the user, it displays the second parameter (the body) below the heading and the [show] link becomes [hide]. Clicking on [hide] then hides the body and the [hide] link becomes [show] again.
The template does '''not''' provide a parameter to designate whether the link starts at a show or hide state. If this template is nested in another, the show/hide links in the hidden content keep their state; there is no parameter for ''collapse all'' or ''reveal all''.
Do not use this template to hide content in articles. This violates the [[WP:Manual of Style#Scrolling lists and collapsible content|WP:Manual of Style § Scrolling lists and collapsible content]] and [[WP:Accessibility]] guidelines. This template is intended for use in pages in [[Wikipedia:Namespaces|namespaces]] other than the article namespace.
== Usage ==
===Full syntax===
<pre style="overflow:auto;">
{{Hidden
| expanded=true <!--(omit for initial hidden state)-->
| style =
| headerstyle =
| header =
| contentstyle =
| content =
|fw1= |fw2= |bg1= |bg2= |ta1= |ta2=
}}
</pre>
===Parameters===
Only two parameters are required for this template:
; header : text for header (title); alternative to using unnamed parameter <nowiki>{{{1}}}</nowiki>
; content : text for body (content); alternative to using unnamed parameter <nowiki>{{{2}}}</nowiki>
====Optional====
; style : [[w:Cascading Style Sheets|CSS]] styling for template overall.
; headerstyle : CSS styling for title (header).
; contentstyle : CSS styling for the hidden content.
; expanded : any nonblank value (e.g. {{para|expanded|on}}) will cause the template to be initially expanded by default.
; multiline : any nonblank value (e.g. {{para|multline|y}}) will reduce the line-height of the title and add some padding to avoid overlap with the show/hide button.
'''Note:''' This template will not respect the [[Wikipedia:User preferences|user preference]] "justify paragraphs".
== Examples ==
===Basic===
In this example only the two required parameters are specified.
{| class="wikitable"
| {{rh}} | Code
| <pre>{{hidden|Title text here|Body text line 1<br/>Body text line 2}}</pre>
|-
| {{rh}} | Result
| {{hidden|Title text here|Body text line 1<br/>Body text line 2}}
|}
===Header background===
{| class="wikitable"
| {{rh}} | Code
| <pre style="overflow:auto;">
{{hidden
|Title text here
|Body text line 1<br/>Body text line 2
|headerstyle=background:#ccccff
|style=text-align:center;
}}
</pre>
|-
| {{rh}} | Result
| {{hidden|Title text here|Body text line 1<br/>Body text line 2|headerstyle=background:#ccccff|style=text-align:center;}}
|}
===CSS===
{| class="wikitable"
| {{rh}} | Code
|
<pre>
{{hidden
| style = border:1px dashed red; width: 50%;
| headerstyle = background: #ccccff; font-size: 110%;
| contentstyle = text-align: center; color:green;
| header = Title text here
| content = Body text line 1<br />Body text line 2<br />Body text line 3
}}</pre>
|-
| {{rh}} | Result
|
{{hidden
| style = border:1px dashed red; width: 50%;
| headerstyle = background: #ccccff; font-size: 110%;
| contentstyle = text-align: center; color:green;
| header = Title text here
| content = Body text line 1<br />Body text line 2<br />Body text line 3
}}
|}
== Issues ==
=== Show/hide button overlap ===
<div style="background:pink;font-weight:bold">With ta1=right or a long header, the header may overlap the show/hide button:</div>
{{evd|hidden|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.|def}}
{{clr}}
;<div style="background:cyan;font-weight:bold">Possible workaround is to use {{para|multiline|y}}:</div>
"<nowiki>{{hidden|multiline=y|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.|def}}</nowiki>" gives "{{hidden|multiline=y|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.|def}}"
<div style="background:pink;font-weight:bold">Example with long header</div>
{{hidden|abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc |def}}
{{clr}}
;<div style="background:cyan;font-weight:bold">Above example with workaround:</div>
"<nowiki>{{hidden|multiline=y|abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc |def}}</nowiki>" gives "{{hidden|multiline=y|abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc |def}}"
=== Sections ===
Sections included inside a hidden block result in broken anchors in the table of contents at the top of the page.
{{hidden begin|title=example}}
==== You can't get here from the table of contents ====
{{hidden end}}
==Tracking category==
* {{clc|Hidden templates using styles}} – tracks usage of parameters bg1, bg2, ta1, ta2, fw1, fw2
==See also==
Supporting templates:
* {{tiw|Hidden begin}}
* {{tiw|Hidden end}}
Similar templates:
* {{tim|Hidden}}
* {{tiw|Collapsible list}}
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Collapse templates]]
[[Category:Wikipedia formatting and function templates]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
f3c922edab4613b07aac197f1dfc3ac5f9f80021
Template:Hidden begin
10
99
184
2020-12-30T20:53:34Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{{hatnote|Templates {{noredirect|Template:Begin hidden|Begin hidden}}, {{noredirect|Template:Start hidden|Start hidden}} and {{noredirect|Template:Start hidden section|Start hidden section}} redirect here.}}</noinclude><!--
--><includeonly><!--
-->{{#ifeq:{{{showhide|}}}{{{toggle|}}}|left
| <!------------------------------------------------------------------------
showhide = left, so place [show/hide] link on lefthand side:
-------------------------------------------------------------------------
--><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}} {{{class|}}}" style="position:relative;width:100%;border:{{{border|none}}};{{{style|}}}"><!--
--><div class="NavHead" style="position:absolute;width:3.2em<!--(to accommodate "[show]")-->;background:transparent;"></div><!--
--><div style="font-size:100%;height:1.6em;background:transparent;padding-left:2.8em<!--(should place text just after [show/hide])-->;
text-align:{{{ta1|left}}};font-weight:bold;{{{extra1|}}}{{{titlestyle|{{{headercss|}}}}}}"> <!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!--
--><div class="NavContent" style="padding-left:0.3em;text-align:{{{ta2|left}}};{{{extra2|}}}{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"><!--
-->| <!------------------------------------------------------------------------
showhide /= left, so place [show/hide] link on righthand side:
-------------------------------------------------------------------------
--><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}} {{{class|}}}" style="border:{{{border|none}}};{{{style|}}}"><!--
--><div class="NavHead" style="background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}}{{{titlestyle|{{{headercss|}}}}}}"><!--
deprecated:-->{{{header|}}}<!---->{{{title|}}} </div><!--
--><div class="NavContent" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{extra2|}}}{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"><!--
-->}}</includeonly><noinclude>{{Documentation}}</noinclude>
bc18fa7753ccd46ec2b42178049cb60ab851f3ba
Template:Hidden begin/doc
10
100
186
2020-12-30T20:53:34Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{hatnote|This documentation is shared by {{tl|Hidden begin}} and {{tl|Hidden end}}.}}
{{#ifeq: {{FULLPAGENAME}} | Template:Hidden begin
| {{high-risk| 125,500+ }}
| {{#ifeq: {{FULLPAGENAME}} | Template:Hidden end
| {{high-risk| 125,600+ }}
}}
}}
{{TOC limit|2}}
{{Template:Collapse Templates}}
==Syntax==
<pre style="overflow:auto;">
{{Hidden begin
| expanded = <!--"true", "on", yes", etc, otherwise omit-->
| showhide = <!--"left", otherwise omit-->
| class =
| style =
| border =
| title =
| titlestyle =
| bg1 =
| ta1 =
| contentstyle =
| bg2 =
| ta2 =
<!--Older, semi-deprecated parameters:-->
| header = | extra1 = | extra2 =
}}
<!----[content to be hidden placed here]---->
{{Hidden end}}
</pre>
===Parameters===
{| class="wikitable"
! Parameter || Description
|-
| ''showhide''<!--previously: <br />or ''toggle''--> || Set to "left" (without speechmarks) to switch the [show/hide] link's position from the righthand end of the titlebar (default) to the left.
|-
| ''expanded'' || Set to anything ("true", "yes", etc.) to switch the hidden section's initial state from collapsed (hidden) to expanded (visible).
|-
| ''class'' || [[WP:CLASS#Classes|Class attribute]] affecting entire area.
|-
| ''style'' || [[Cascading Style Sheets|CSS styling]] affecting entire area (titlebar and hidden/hideable content).
|-
| ''border'' || CSS styling for border around entire area. May be overridden if ''style'' includes anything that changes the border.
|-
| ''title'' || Text shown in titlebar.
|-
| style="vertical-align:top;" | ''titlestyle'' || CSS styles to apply to the titlebar (e.g. {{para|titlestyle|border:1px solid lightgrey;}} to produce a border around it; {{para|titlestyle|background:''color'';}} to set its background color to [[Web colors#X11 color names|''color'']] ; {{para|titlestyle|text-align:[center/right];}} to switch its text (''title'')'s alignment from left to center or right; etc.).
|-
| ''bg1'' || Background color for titlebar; defaults to transparent. May be overridden if ''titlestyle'' includes anything changes the background.
|-
| ''ta1'' || Text alignment for titlebar; defaults to left. May be overridden if ''titlestyle'' includes anything that changes the text alignment.
|-
| ''contentstyle'' || CSS styling to apply to the hidden/hideable content (e.g. background and text-align, per ''titlestyle'').
|-
| ''bg2'' || Background color for content; defaults to transparent. May be overridden if ''contentstyle'' includes anything changes the background.
|-
| ''ta2'' || Text alignment for content; defaults to left. May be overridden if ''contentstyle'' includes anything that changes the text alignment.
|}
==Examples==
===Example 1===
<pre style="overflow:auto;">
{{Hidden begin |title=Default example}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |title=Default example}}
* def
* ghi
{{Hidden end}}
===Example 2===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink;
| title = ''titlestyle'' is "background:pink;"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink;
| title = ''titlestyle'' is "background:pink;"
}}
* def
* ghi
{{Hidden end}}
===Example 3===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink; text-align:center;
| title = added "text-align:center;"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink; text-align:center;
| title = added "text-align:center;"
}}
* def
* ghi
{{Hidden end}}
===Example 4===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
| title = ''title'' on right with 3.0em padding
}}
* change window width and
* watch title alignment
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
| title = ''title'' on right with 3.0em padding
}}
* change window width and
* watch title alignment
{{Hidden end}}
===Example 5===
<pre style="overflow:auto;">
{{Hidden begin |showhide=left |expanded=true
| titlestyle = background:palegreen;
| title = ''showhide'' set to "left" and ''expanded'' set to "true"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |showhide=left |expanded=true
| titlestyle = background:palegreen;
| title = ''showhide'' set to "left" and ''expanded'' set to "true"
}}
* def
* ghi
{{Hidden end}}
===Example 6===
<pre style="overflow:auto;">
{{Hidden begin |showhide=left
| titlestyle = background:palegreen;
| title = <code style="background:transparent;">showhide=left</code>, hidden content 150% size and in bold (''contentstyle'')
| contentstyle = font-size:150%; font-weight:bold;
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |showhide=left
| titlestyle = background:palegreen;
| title = <code style="background:transparent;">showhide=left</code>, hidden content 150% size and in bold (''contentstyle'')
| contentstyle = font-size:150%; font-weight:bold;
}}
* def
* ghi
{{Hidden end}}
===Example 7===
<!-- This example updated to show that bg1/ta1 only affect titlebar, used ta1=right since it is non-default for titlebar and content. -->
<pre style="overflow:auto;">
{{Hidden begin
| header = [''header'' (deprecated)]
| titlestyle = font-style:italic; padding-right:3.0em;
| title = [''title'' set to this text]
| border = 1px solid grey
| bg1 = palegreen
| ta1 = right
| extra1 = font-size:120%; <!--semicolon required since titlestyle is used-->
| extra2 = font-size:150% <!--semicolon optional when contentstyle not used-->
}}
* make window narrower and
* title will wrap
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| header = [''header'' (deprecated)]
| titlestyle = font-style:italic; padding-right:3.0em;
| title = [''title'' set to this text]
| border = 1px solid grey
| bg1 = palegreen
| ta1 = right
| extra1 = font-size:120%;
| extra2 = font-size:150%
}}
* make window narrower and
* title will wrap
{{Hidden end}}
===Example 8===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle =
| title = title&nbsp;with&nbsp;non-breaking&nbsp;spaces&nbsp;
| border = 1px solid red
| bg1 = cyan
| bg2 = yellow
| ta1 = right
| ta2 = left
| extra1 = font-size:120%; padding-right:2.5em;
| extra2 = font-size:150%; padding-left:3.0em;
}}
* def ... these should have left padding
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle =
| title = title with non-breaking spaces
| border = 1px solid red
| bg1 = cyan
| bg2 = yellow
| ta1 = right
| ta2 = left
| extra1 = font-size:120%; padding-right:2.5em;
| extra2 = font-size:150%; padding-left:3.0em;
}}
* def ... these should have left padding
* ghi
{{Hidden end}}
==See also==
* {{tl|Hidden}}
<includeonly>{{basepage subpage
| <!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Collapse templates]]
}}</includeonly>
9210f6756608b313a2608e7931a95e30903ec16b
Template:Hidden end
10
101
188
2020-12-30T20:53:35Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{{hatnote|Templates {{noredirect|Template:End hidden|End hidden}} and {{noredirect|Template:End hidden section|End hidden section}} redirect here.}}</noinclude><!--
--></div></div><!--
--><noinclude>{{Documentation|Template:Hidden begin/doc}}</noinclude>
367444eeeb25b1236c71e89c7c7dba646163274f
Template:Hidden end/doc
10
102
190
2020-12-30T20:53:35Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{hatnote|This documentation is shared by {{tl|Hidden begin}} and {{tl|Hidden end}}.}}
{{#ifeq: {{FULLPAGENAME}} | Template:Hidden begin
| {{high-risk| 125,500+ }}
| {{#ifeq: {{FULLPAGENAME}} | Template:Hidden end
| {{high-risk| 125,600+ }}
}}
}}
{{TOC limit|2}}
{{Template:Collapse Templates}}
==Syntax==
<pre style="overflow:auto;">
{{Hidden begin
| expanded = <!--"true", "on", yes", etc, otherwise omit-->
| showhide = <!--"left", otherwise omit-->
| class =
| style =
| border =
| title =
| titlestyle =
| bg1 =
| ta1 =
| contentstyle =
| bg2 =
| ta2 =
<!--Older, semi-deprecated parameters:-->
| header = | extra1 = | extra2 =
}}
<!----[content to be hidden placed here]---->
{{Hidden end}}
</pre>
===Parameters===
{| class="wikitable"
! Parameter || Description
|-
| ''showhide''<!--previously: <br />or ''toggle''--> || Set to "left" (without speechmarks) to switch the [show/hide] link's position from the righthand end of the titlebar (default) to the left.
|-
| ''expanded'' || Set to anything ("true", "yes", etc.) to switch the hidden section's initial state from collapsed (hidden) to expanded (visible).
|-
| ''class'' || [[WP:CLASS#Classes|Class attribute]] affecting entire area.
|-
| ''style'' || [[Cascading Style Sheets|CSS styling]] affecting entire area (titlebar and hidden/hideable content).
|-
| ''border'' || CSS styling for border around entire area. May be overridden if ''style'' includes anything that changes the border.
|-
| ''title'' || Text shown in titlebar.
|-
| style="vertical-align:top;" | ''titlestyle'' || CSS styles to apply to the titlebar (e.g. {{para|titlestyle|border:1px solid lightgrey;}} to produce a border around it; {{para|titlestyle|background:''color'';}} to set its background color to [[Web colors#X11 color names|''color'']] ; {{para|titlestyle|text-align:[center/right];}} to switch its text (''title'')'s alignment from left to center or right; etc.).
|-
| ''bg1'' || Background color for titlebar; defaults to transparent. May be overridden if ''titlestyle'' includes anything changes the background.
|-
| ''ta1'' || Text alignment for titlebar; defaults to left. May be overridden if ''titlestyle'' includes anything that changes the text alignment.
|-
| ''contentstyle'' || CSS styling to apply to the hidden/hideable content (e.g. background and text-align, per ''titlestyle'').
|-
| ''bg2'' || Background color for content; defaults to transparent. May be overridden if ''contentstyle'' includes anything changes the background.
|-
| ''ta2'' || Text alignment for content; defaults to left. May be overridden if ''contentstyle'' includes anything that changes the text alignment.
|}
==Examples==
===Example 1===
<pre style="overflow:auto;">
{{Hidden begin |title=Default example}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |title=Default example}}
* def
* ghi
{{Hidden end}}
===Example 2===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink;
| title = ''titlestyle'' is "background:pink;"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink;
| title = ''titlestyle'' is "background:pink;"
}}
* def
* ghi
{{Hidden end}}
===Example 3===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink; text-align:center;
| title = added "text-align:center;"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink; text-align:center;
| title = added "text-align:center;"
}}
* def
* ghi
{{Hidden end}}
===Example 4===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
| title = ''title'' on right with 3.0em padding
}}
* change window width and
* watch title alignment
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
| title = ''title'' on right with 3.0em padding
}}
* change window width and
* watch title alignment
{{Hidden end}}
===Example 5===
<pre style="overflow:auto;">
{{Hidden begin |showhide=left |expanded=true
| titlestyle = background:palegreen;
| title = ''showhide'' set to "left" and ''expanded'' set to "true"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |showhide=left |expanded=true
| titlestyle = background:palegreen;
| title = ''showhide'' set to "left" and ''expanded'' set to "true"
}}
* def
* ghi
{{Hidden end}}
===Example 6===
<pre style="overflow:auto;">
{{Hidden begin |showhide=left
| titlestyle = background:palegreen;
| title = <code style="background:transparent;">showhide=left</code>, hidden content 150% size and in bold (''contentstyle'')
| contentstyle = font-size:150%; font-weight:bold;
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |showhide=left
| titlestyle = background:palegreen;
| title = <code style="background:transparent;">showhide=left</code>, hidden content 150% size and in bold (''contentstyle'')
| contentstyle = font-size:150%; font-weight:bold;
}}
* def
* ghi
{{Hidden end}}
===Example 7===
<!-- This example updated to show that bg1/ta1 only affect titlebar, used ta1=right since it is non-default for titlebar and content. -->
<pre style="overflow:auto;">
{{Hidden begin
| header = [''header'' (deprecated)]
| titlestyle = font-style:italic; padding-right:3.0em;
| title = [''title'' set to this text]
| border = 1px solid grey
| bg1 = palegreen
| ta1 = right
| extra1 = font-size:120%; <!--semicolon required since titlestyle is used-->
| extra2 = font-size:150% <!--semicolon optional when contentstyle not used-->
}}
* make window narrower and
* title will wrap
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| header = [''header'' (deprecated)]
| titlestyle = font-style:italic; padding-right:3.0em;
| title = [''title'' set to this text]
| border = 1px solid grey
| bg1 = palegreen
| ta1 = right
| extra1 = font-size:120%;
| extra2 = font-size:150%
}}
* make window narrower and
* title will wrap
{{Hidden end}}
===Example 8===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle =
| title = title&nbsp;with&nbsp;non-breaking&nbsp;spaces&nbsp;
| border = 1px solid red
| bg1 = cyan
| bg2 = yellow
| ta1 = right
| ta2 = left
| extra1 = font-size:120%; padding-right:2.5em;
| extra2 = font-size:150%; padding-left:3.0em;
}}
* def ... these should have left padding
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle =
| title = title with non-breaking spaces
| border = 1px solid red
| bg1 = cyan
| bg2 = yellow
| ta1 = right
| ta2 = left
| extra1 = font-size:120%; padding-right:2.5em;
| extra2 = font-size:150%; padding-left:3.0em;
}}
* def ... these should have left padding
* ghi
{{Hidden end}}
==See also==
* {{tl|Hidden}}
<includeonly>{{basepage subpage
| <!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Collapse templates]]
}}</includeonly>
9210f6756608b313a2608e7931a95e30903ec16b
Template:Begin article body
10
113
212
2020-12-30T20:53:35Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Article body/Begin]]
975f09a7cc69ec4ac9073d370478220e1e9a9d6a
Template:End article body
10
114
214
2020-12-30T20:53:35Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Article body/End]]
901123d2322e2bddbc8d7242aa1dd5d7a4c30f7a
MediaWiki:Common.css
8
48
82
2020-12-30T21:00:10Z
Jacques Ducloy
1
Created page with "/* CSS placed here will be applied to all skins */ /* Wicri */ .headerWicri { background:#F0F0F0 url("https://lorexplor.istex.fr/Wicri/cccc.png") no-repeat right; margin:..."
css
text/css
/* CSS placed here will be applied to all skins */
/* Wicri */
.headerWicri {
background:#F0F0F0 url("https://lorexplor.istex.fr/Wicri/cccc.png") no-repeat right;
margin:0;
font-size:120%;
font-weight:bold;
border:1px solid #a3b0bf;
text-align:left;
color:#000;
padding:.15em .4em;
}
/* Reset italic styling set by user agent */
cite, dfn {
font-style: inherit;
}
/* Straight quote marks for <q> */
q {
quotes: '"' '"' "'" "'";
}
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
overflow: hidden;
margin: 1em 0;
padding: 0 40px;
}
/* Prevent the 'double bold' bug in Firefox when using DirectWrite */
strong.selflink {
font-weight: 700;
}
/* Consistent size for <small>, <sub> and <sup> */
small {
font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup,
span.reference /* for Parsoid */ {
font-size: 80%;
}
/* Same spacing for indented and unidented paragraphs on talk pages */
.ns-talk .mw-body-content dd {margin-top:0.4em; margin-bottom:0.4em;}
/* Main page fixes */
#interwiki-completelist {
font-weight: bold;
}
body.page-Main_Page #ca-delete,
body.page-Main_Page #ca-move {
display: none !important;
}
body.page-Main_Page #mp-topbanner {
clear: both;
}
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .mw-special-Watchlist #watchlist-message,
.client-js .collapsible.collapsed > tbody > tr:not(:first-child) {
display: none;
}
/* Tone down 'Changed since last visit' colors */
span.updatedmarker {
background-color: transparent;
color: #006400;
}
/* Edit window toolbar */
#toolbar {
height: 22px;
margin-bottom: 6px;
}
/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
display: none;
}
/* Highlight linked elements (such as clicked references) in blue */
body.action-info .mw-body-content :target,
.citation:target {
background-color: #DEF; /* Fallback */
background-color: rgba(0, 127, 255, 0.133);
}
/* Styling for citations. Breaks long urls, etc., rather than overflowing box */
.citation {
word-wrap: break-word;
}
/* For linked citation numbers and document IDs, where the number need not be shown
on a screen or a handheld, but should be included in the printed version */
@media screen, handheld {
.citation .printonly {
display: none;
}
}
/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
font-size: 90%; /* Default font-size */
margin-bottom: 0.5em;
}
div.refbegin-100 {
font-size: 100%; /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.reflist */
margin-bottom: 0; /* Avoid double margin when nested in dev.reflist */
list-style-type: inherit; /* Enable custom list style types */
}
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
font-weight: normal;
font-style: normal;
}
/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
display: none;
}
/* Hanging indentation for Template:Refbegin */
.refbegin-hanging-indents > ul {
list-style-type: none;
margin-left: 0;
}
.refbegin-hanging-indents > ul > li,
.refbegin-hanging-indents > dl > dd {
margin-left: 0;
padding-left: 3.2em;
text-indent: -3.2em;
list-style: none;
}
/* Reset top margin for lists embedded in columns */
div.columns {
margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
margin-top: 0;
}
/* Avoid elements from breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd dd {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid-column;
}
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
.flowlist ul {
overflow-x: hidden;
margin-left: 0;
padding-left: 1.6em;
}
.flowlist ol {
overflow-x: hidden;
margin-left: 0;
padding-left: 3.2em;
}
.flowlist dl {
overflow-x: hidden;
}
/* Style for horizontal lists (separator following item).
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@revision 8 (2016-05-21)
@author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}
/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ol li,
.plainlist ul li {
margin-bottom: 0;
}
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
.navbox + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.mw-body-content .navbar ul {
line-height: inherit;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
}
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
}
.infobox td,
.infobox th {
vertical-align: top;
/* @noflip */
text-align: left;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
font-weight: normal;
/* @noflip */
text-align: left;
}
/* Lists in data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
/* @noflip */
text-align: left;
}
/* ...unless they also use the hlist class */
.toc.hlist ul,
#toc.hlist ul,
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
text-align: inherit;
}
/* Icons for medialist templates [[Template:Listen]],
[[Template:Multi-listen_start]], [[Template:Video]],
[[Template:Multi-video_start]] */
div.listenlist {
background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
background-size: 30px;
padding-left: 40px;
}
/* Fix for hieroglyphs specificality issue in infoboxes ([[Phabricator:43869]]) */
table.mw-hiero-table td {
vertical-align: middle;
}
/* Style rules for media list templates */
div.medialist {
min-height: 50px;
margin: 1em;
/* @noflip */
background-position: top left;
background-repeat: no-repeat;
}
div.medialist ul {
list-style-type: none;
list-style-image: none;
margin: 0;
}
div.medialist ul li {
padding-bottom: 0.5em;
}
div.medialist ul li li {
font-size: 91%;
padding-bottom: 0;
}
/* Change the external link icon to an Adobe icon for all PDF files
in browsers that support these CSS selectors, like Mozilla and Opera */
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
padding-right: 18px;
}
/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
div.columns-2 div.column {
/* @noflip */
float: left;
width: 50%;
min-width: 300px;
}
div.columns-3 div.column {
/* @noflip */
float: left;
width: 33.3%;
min-width: 200px;
}
div.columns-4 div.column {
/* @noflip */
float: left;
width: 25%;
min-width: 150px;
}
div.columns-5 div.column {
/* @noflip */
float: left;
width: 20%;
min-width: 120px;
}
/* Messagebox templates */
.messagebox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
.messagebox.merge {
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 0;
padding: 2px;
}
.messagebox.small {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
background: #F8EABA;
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
border: none;
/* @noflip */
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0;
width: 1px;
}
/* Article message box styles */
table.ambox {
margin: 0 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
/* @noflip */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
table.ambox-notice {
/* @noflip */
border-left: 10px solid #36c; /* Blue */
}
table.ambox-speedy {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.ambox-delete {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
}
table.ambox-content {
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
/* @noflip */
border-left: 10px solid #fc3; /* Yellow */
}
table.ambox-move {
/* @noflip */
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
/* @noflip */
border-left: 10px solid #a2a9b1; /* Gray-gold */
}
/* Image message box styles */
table.imbox {
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
display: block; /* Fix for webkit to force 100% width. */
}
.mbox-inside .imbox { /* For imboxes inside other templates. */
margin: 4px;
}
table.imbox-notice {
border: 3px solid #36c; /* Blue */
}
table.imbox-speedy {
border: 3px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.imbox-delete {
border: 3px solid #b32424; /* Red */
}
table.imbox-content {
border: 3px solid #f28500; /* Orange */
}
table.imbox-style {
border: 3px solid #fc3; /* Yellow */
}
table.imbox-move {
border: 3px solid #9932cc; /* Purple */
}
table.imbox-protection {
border: 3px solid #a2a9b1; /* Gray-gold */
}
table.imbox-license {
border: 3px solid #88a; /* Dark gray */
background: #f7f8ff; /* Light gray */
}
table.imbox-featured {
border: 3px solid #cba135; /* Brown-gold */
}
/* Category message box styles */
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background: #DFE8FF; /* Default "notice" blue */
}
table.cmbox-notice {
background: #D8E8FF; /* Blue */
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b32424; /* Red */
background: #FFDBDB; /* Pink */
}
table.cmbox-delete {
background: #FFDBDB; /* Red */
}
table.cmbox-content {
background: #FFE7CE; /* Orange */
}
table.cmbox-style {
background: #FFF9DB; /* Yellow */
}
table.cmbox-move {
background: #E4D8FF; /* Purple */
}
table.cmbox-protection {
background: #EFEFE1; /* Gray-gold */
}
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background: #f8f9fa;
}
table.ombox-notice {
border: 1px solid #a2a9b1; /* Gray */
}
table.ombox-speedy {
border: 2px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.ombox-delete {
border: 2px solid #b32424; /* Red */
}
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
table.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
table.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
/* Talk page message box styles */
table.tmbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090; /* Default "notice" gray-brown */
background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */
width: 100%; /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
line-height: 1.5em; /* also "nested", so reset styles that are */
font-size: 100%; /* set in "mbox-small" above. */
}
table.tmbox-speedy {
border: 2px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.tmbox-delete {
border: 2px solid #b32424; /* Red */
}
table.tmbox-content {
border: 2px solid #f28500; /* Orange */
}
table.tmbox-style {
border: 2px solid #fc3; /* Yellow */
}
table.tmbox-move {
border: 2px solid #9932cc; /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #c0c090; /* Gray-brown */
}
/* Disambig and set index box styles */
table.dmbox {
clear: both;
margin: 0.9em 1em;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
background: transparent;
}
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background: #f8f9fa; /* Default "system" gray */
}
table.fmbox-system {
background: #f8f9fa;
}
table.fmbox-warning {
border: 1px solid #bb7070; /* Dark pink */
background: #ffdbdb; /* Pink */
}
table.fmbox-editnotice {
background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning,
div.locked-warning {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background: #ffdbdb;
padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
clear: both;
margin: 0.2em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}
/* These mbox-small classes must be placed after all other
ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small { /* For the "small=yes" option. */
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
html body.mediawiki .mbox-small-left { /* For the "small=left" option. */
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
/* Style for compact ambox */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
display: none;
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
border: none;
border-collapse: collapse;
background: transparent;
margin: 0 0 0 1.6em !important;
padding: 0 !important;
width: auto;
display: block;
}
body.mediawiki .compact-ambox table.mbox-small-left {
font-size: 100%;
width: auto;
margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
padding: 0 !important;
margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
display: list-item;
line-height: 1.5em;
list-style-type: square;
list-style-image: url(/w/skins/MonoBook/bullet.gif);
}
.skin-vector .compact-ambox table .mbox-text-span {
list-style-type: disc;
list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9;
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
display: none;
}
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext {
border: none;
background: transparent;
padding: 0;
}
/* Hide (formatting) elements from screen, but not from screenreaders */
.visualhide {
position: absolute;
left: -10000px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}
/* Bold save button */
#wpSave {
font-weight: bold;
}
/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.hiddenStructure {
display: inline !important;
color: #f00;
background-color: #0f0;
}
/* suppress missing interwiki image links where #ifexist cannot
be used due to high number of requests see .hidden-redlink on
[[m:MediaWiki:Common.css]] */
.check-icon a.new {
display: none;
speak: none;
}
/* Removes underlines from certain links */
.nounderlines a,
.IPA a:link, .IPA a:visited {
text-decoration: none !important;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #a2a9b1;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
div.NavFrame div.NavHead {
line-height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
/* Hatnotes and disambiguation notices */
.hatnote {
font-style: italic;
}
.hatnote i {
font-style: normal;
}
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
margin-top: -0.5em;
}
/* Allow transcluded pages to display in lists rather than a table. */
.listify td { display: list-item; }
.listify tr { display: block; }
.listify table { display: block; }
/* Geographical coordinates defaults. See [[Template:Coord/link]]
for how these are used. The classes "geo", "longitude", and
"latitude" are used by the [[Geo microformat]]. */
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
/* Temporary(!) fix for horizontal TOC in Blink (Chrone/Opera) */
.hlist .tocnumber,
.hlist .toctext {
display: inline;
}
/* When <div class="nonumtoc"> is used on the table of contents,
the ToC will display without numbers */
.nonumtoc .tocnumber {
display: none;
}
.nonumtoc #toc ul,
.nonumtoc .toc ul {
line-height: 1.5em;
list-style: none none;
margin: .3em 0 0;
padding: 0;
}
.hlist.nonumtoc #toc ul ul,
.hlist.nonumtoc .toc ul ul {
/* @noflip */
margin: 0;
}
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/* Styling for Template:Quote */
blockquote.templatequote div.templatequotecite {
line-height: 1.5em;
/* @noflip */
text-align: left;
/* @noflip */
padding-left: 1.6em;
margin-top: 0;
}
/* User block messages */
div.user-block {
padding: 5px;
margin-bottom: 0.5em;
border: 1px solid #A9A9A9;
background-color: #FFEFD5;
}
/* Prevent line breaks in silly places:
1) Where desired
2) Links when we don't want them to
3) Bold "links" to the page itself
4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
white-space: nowrap;
}
.nowrap pre {
white-space: pre;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
/* For template documentation */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
padding: 1em;
}
/* Increase the height of the image upload box */
#wpUploadDescription {
height: 13em;
}
/* Minimum thumb width */
.thumbinner {
min-width: 100px;
}
/* The backgrounds for galleries. */
div#content .gallerybox div.thumb {
/* Light gray padding */
background-color: #f8f9fa;
}
/* Put a chequered background behind images, only visible if they have transparency.
'.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
background: #fff;
}
/* Prevent floating boxes from overlapping any category listings,
file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
clear: both;
}
body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
display: block; /* Override inline block mode */
margin-bottom: 1em;
/* @noflip */
clear: right; /* Clear any info boxes that stick out */
/* @noflip */
float: right; /* Prevents margin collapsing */
}
/* Selectively hide headers in WikiProject banners */
.wpb .wpb-header { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; } /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
.wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */
/* Styling for Abuse Filter tags */
.mw-tag-markers {
font-style:italic;
font-size:90%;
}
/* Hide stuff meant for accounts with special permissions. Made visible again in
[[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]],
[[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */
.sysop-show,
.accountcreator-show,
.templateeditor-show,
.extendedmover-show,
.autoconfirmed-show,
.user-show {
display: none;
}
/**
* Hide the redlink generated by {{Editnotice}},
* this overrides the ".sysop-show { display: none; }" above that applies
* to the same link as well. See [[phab:T45013]]
*
* Hide the images in editnotices to keep them readable in VE view.
* Long term, editnotices should become a core feature so that they can be designed responsive.
*/
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
}
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
list-style: none none;
}
ul.permissions-errors {
margin: 0;
}
/* No linewrap on the labels of the login/signup page */
body.page-Special_UserLogin .mw-label label,
body.page-Special_UserLogin_signup .mw-label label {
white-space: nowrap;
}
/* Pie chart: transparent borders */
.transborder {
border: solid transparent;
}
/* Generic class for Times-based serif, texhtml class for inline math */
.times-serif,
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
}
span.texhtml {
white-space: nowrap;
}
span.texhtml span.texhtml {
font-size: 100%;
}
span.mwe-math-mathml-inline {
font-size: 118%;
}
/* Force tabular and lining display for digits and texhtml */
.digits,
.texhtml {
-moz-font-feature-settings: "lnum", "tnum", "kern" 0;
-webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
font-feature-settings: "lnum", "tnum", "kern" 0;
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
/* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-left: 1.6em !important;
margin-top: 0.6em;
margin-bottom: 0.6em;
}
.mwe-math-mathml-display math {
display: inline;
}
/* Fix styling of transcluded prefindex tables */
table#mw-prefixindex-list-table,
table#mw-prefixindex-nav-table {
width: 98%;
}
/* For portals, added 2011-12-07 -bv
On wide screens, show these as two columns
On narrow and mobile screens, let them collapse into a single column */
.portal-column-left {
float: left;
width: 50%;
}
.portal-column-right {
float: right;
width: 49%;
}
.portal-column-left-wide {
float: left;
width: 60%;
}
.portal-column-right-narrow {
float: right;
width: 39%;
}
.portal-column-left-extra-wide {
float: left;
width: 70%;
}
.portal-column-right-extra-narrow {
float: right;
width: 29%;
}
@media only screen and (max-width: 800px) {
/* Decouple the columns on narrow screens */
.portal-column-left,
.portal-column-right,
.portal-column-left-wide,
.portal-column-right-narrow,
.portal-column-left-extra-wide,
.portal-column-right-extra-narrow {
float: inherit;
width: inherit;
}
}
/* Formerly for announcements, now used intermittently */
#bodyContent .letterhead {
background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
background-repeat:no-repeat;
padding: 2em;
background-color: #faf9f2;
}
/* Tree style lists */
.treeview ul {
padding: 0;
margin: 0;
}
.treeview li {
padding: 0;
margin: 0;
list-style-type: none;
list-style-image: none;
}
.treeview li li {
background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
/* @noflip */
padding-left: 20px;
text-indent: 0.3em;
}
.treeview li li.lastline {
background-position: 0 -5971px
}
.treeview li.emptyline > ul {
/* @noflip */
margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
background-position: 0 9px
}
/* hidden sortkey for tablesorter */
td .sortkey,
th .sortkey {
display: none;
speak: none;
}
/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element,
.inputbox-hidecheckboxes .mw-ui-checkbox {
display: none !important;
}
/* Work-around for [[Phabricator:25965]] (Kaltura advertisement) */
.k-player .k-attribution {
visibility: hidden;
}
/* Move 'play' button of video player to bottom left corner */
.PopUpMediaTransform a .play-btn-large {
margin: 0;
top: auto;
right: auto;
bottom: 0;
left: 0;
}
/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced {
display: none;
}
bcb03abec75b7bc2254f38fd21771376c29bd1df
MediaWiki:Common.js
8
49
84
2020-12-30T21:01:55Z
Jacques Ducloy
1
Created page with "/* Any JavaScript here will be loaded for all users on every page load. */ /** * Collapsible tables * * Allows tables to be collapsed, showing only the header. See [[Help:..."
javascript
text/javascript
/* Any JavaScript here will be loaded for all users on every page load. */
/**
* Collapsible tables
*
* Allows tables to be collapsed, showing only the header. See [[Help:Collapsing]].
*
* @version 2.0.3 (2014-03-14)
* @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-collapsibleTables.js
* @author [[User:R. Koot]]
* @author [[User:Krinkle]]
* @deprecated Since MediaWiki 1.20: Use class="mw-collapsible" instead which
* is supported in MediaWiki core.
*/
var autoCollapse = 2;
var collapseCaption = 'hide';
var expandCaption = 'show';
var tableIndex = 0;
function collapseTable( tableIndex ) {
var Button = document.getElementById( 'collapseButton' + tableIndex );
var Table = document.getElementById( 'collapsibleTable' + tableIndex );
if ( !Table || !Button ) {
return false;
}
var Rows = Table.rows;
var i;
var $row0 = $(Rows[0]);
if ( Button.firstChild.data === collapseCaption ) {
for ( i = 1; i < Rows.length; i++ ) {
Rows[i].style.display = 'none';
}
Button.firstChild.data = expandCaption;
} else {
for ( i = 1; i < Rows.length; i++ ) {
Rows[i].style.display = $row0.css( 'display' );
}
Button.firstChild.data = collapseCaption;
}
}
function createClickHandler( tableIndex ) {
return function ( e ) {
e.preventDefault();
collapseTable( tableIndex );
};
}
function createCollapseButtons( $content ) {
var NavigationBoxes = {};
var $Tables = $content.find( 'table' );
var i;
$Tables.each( function( i, table ) {
if ( $(table).hasClass( 'collapsible' ) ) {
/* only add button and increment count if there is a header row to work with */
var HeaderRow = table.getElementsByTagName( 'tr' )[0];
if ( !HeaderRow ) {
return;
}
var Header = table.getElementsByTagName( 'th' )[0];
if ( !Header ) {
return;
}
NavigationBoxes[ tableIndex ] = table;
table.setAttribute( 'id', 'collapsibleTable' + tableIndex );
var Button = document.createElement( 'span' );
var ButtonLink = document.createElement( 'a' );
var ButtonText = document.createTextNode( collapseCaption );
// Styles are declared in [[MediaWiki:Common.css]]
Button.className = 'collapseButton';
ButtonLink.style.color = Header.style.color;
ButtonLink.setAttribute( 'id', 'collapseButton' + tableIndex );
ButtonLink.setAttribute( 'href', '#' );
$( ButtonLink ).on( 'click', createClickHandler( tableIndex ) );
ButtonLink.appendChild( ButtonText );
Button.appendChild( document.createTextNode( '[' ) );
Button.appendChild( ButtonLink );
Button.appendChild( document.createTextNode( ']' ) );
Header.insertBefore( Button, Header.firstChild );
tableIndex++;
}
} );
for ( i = 0; i < tableIndex; i++ ) {
if ( $( NavigationBoxes[i] ).hasClass( 'collapsed' ) ||
( tableIndex >= autoCollapse && $( NavigationBoxes[i] ).hasClass( 'autocollapse' ) )
) {
collapseTable( i );
}
else if ( $( NavigationBoxes[i] ).hasClass ( 'innercollapse' ) ) {
var element = NavigationBoxes[i];
while ((element = element.parentNode)) {
if ( $( element ).hasClass( 'outercollapse' ) ) {
collapseTable ( i );
break;
}
}
}
}
}
mw.hook( 'wikipage.content' ).add( createCollapseButtons );
/**
* Add support to mw-collapsible for autocollapse, innercollapse and outercollapse
*
* Maintainers: TheDJ
*/
function mwCollapsibleSetup( $collapsibleContent ) {
var $element,
autoCollapseThreshold = 2;
$.each( $collapsibleContent, function (index, element) {
$element = $( element );
if ( $collapsibleContent.length > autoCollapseThreshold && $element.hasClass( 'autocollapse' ) ) {
$element.data( 'mw-collapsible' ).collapse();
} else if ( $element.hasClass( 'innercollapse' ) ) {
if ( $element.parents( '.outercollapse' ).length > 0 ) {
$element.data( 'mw-collapsible' ).collapse();
}
}
} );
}
mw.hook( 'wikipage.collapsibleContent' ).add( mwCollapsibleSetup );
/**
* Dynamic Navigation Bars (experimental)
*
* Description: See [[Wikipedia:NavFrame]].
* Maintainers: UNMAINTAINED
*/
/* set up the words in your language */
var NavigationBarHide = '[' + collapseCaption + ']';
var NavigationBarShow = '[' + expandCaption + ']';
var indexNavigationBar = 0;
/**
* Shows and hides content and picture (if available) of navigation bars
* Parameters:
* indexNavigationBar: the index of navigation bar to be toggled
**/
window.toggleNavigationBar = function ( indexNavigationBar, event ) {
var NavToggle = document.getElementById( 'NavToggle' + indexNavigationBar );
var NavFrame = document.getElementById( 'NavFrame' + indexNavigationBar );
var NavChild;
if ( !NavFrame || !NavToggle ) {
return false;
}
/* if shown now */
if ( NavToggle.firstChild.data === NavigationBarHide ) {
for ( NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling ) {
if ( $( NavChild ).hasClass( 'NavContent' ) || $( NavChild ).hasClass( 'NavPic' ) ) {
NavChild.style.display = 'none';
}
}
NavToggle.firstChild.data = NavigationBarShow;
/* if hidden now */
} else if ( NavToggle.firstChild.data === NavigationBarShow ) {
for ( NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling ) {
if ( $( NavChild ).hasClass( 'NavContent' ) || $( NavChild ).hasClass( 'NavPic' ) ) {
NavChild.style.display = 'block';
}
}
NavToggle.firstChild.data = NavigationBarHide;
}
event.preventDefault();
};
/* adds show/hide-button to navigation bars */
function createNavigationBarToggleButton( $content ) {
var NavChild;
/* iterate over all < div >-elements */
var $divs = $content.find( 'div' );
$divs.each( function ( i, NavFrame ) {
/* if found a navigation bar */
if ( $( NavFrame ).hasClass( 'NavFrame' ) ) {
indexNavigationBar++;
var NavToggle = document.createElement( 'a' );
NavToggle.className = 'NavToggle';
NavToggle.setAttribute( 'id', 'NavToggle' + indexNavigationBar );
NavToggle.setAttribute( 'href', '#' );
$( NavToggle ).on( 'click', $.proxy( window.toggleNavigationBar, window, indexNavigationBar ) );
var isCollapsed = $( NavFrame ).hasClass( 'collapsed' );
/**
* Check if any children are already hidden. This loop is here for backwards compatibility:
* the old way of making NavFrames start out collapsed was to manually add style="display:none"
* to all the NavPic/NavContent elements. Since this was bad for accessibility (no way to make
* the content visible without JavaScript support), the new recommended way is to add the class
* "collapsed" to the NavFrame itself, just like with collapsible tables.
*/
for ( NavChild = NavFrame.firstChild; NavChild != null && !isCollapsed; NavChild = NavChild.nextSibling ) {
if ( $( NavChild ).hasClass( 'NavPic' ) || $( NavChild ).hasClass( 'NavContent' ) ) {
if ( NavChild.style.display === 'none' ) {
isCollapsed = true;
}
}
}
if ( isCollapsed ) {
for ( NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling ) {
if ( $( NavChild ).hasClass( 'NavPic' ) || $( NavChild ).hasClass( 'NavContent' ) ) {
NavChild.style.display = 'none';
}
}
}
var NavToggleText = document.createTextNode( isCollapsed ? NavigationBarShow : NavigationBarHide );
NavToggle.appendChild( NavToggleText );
/* Find the NavHead and attach the toggle link (Must be this complicated because Moz's firstChild handling is borked) */
for( var j = 0; j < NavFrame.childNodes.length; j++ ) {
if ( $( NavFrame.childNodes[j] ).hasClass( 'NavHead' ) ) {
NavToggle.style.color = NavFrame.childNodes[j].style.color;
NavFrame.childNodes[j].appendChild( NavToggle );
}
}
NavFrame.setAttribute( 'id', 'NavFrame' + indexNavigationBar );
}
} );
}
mw.hook( 'wikipage.content' ).add( createNavigationBarToggleButton );
/**
* Uploadwizard_newusers
* Switches in a message for non-autoconfirmed users at [[Wikipedia:Upload]]
*
* Maintainers: [[User:Krimpet]]
*/
function uploadwizard_newusers() {
if ( mw.config.get( 'wgNamespaceNumber' ) === 4 && mw.config.get( 'wgTitle' ) === 'Upload' && mw.config.get( 'wgAction' ) === 'view' ) {
var oldDiv = document.getElementById( 'autoconfirmedusers' ),
newDiv = document.getElementById( 'newusers' );
if ( oldDiv && newDiv ) {
var userGroups = mw.config.get( 'wgUserGroups' );
if ( userGroups ) {
for ( var i = 0; i < userGroups.length; i++ ) {
if ( userGroups[i] === 'autoconfirmed' ) {
oldDiv.style.display = 'block';
newDiv.style.display = 'none';
return;
}
}
}
oldDiv.style.display = 'none';
newDiv.style.display = 'block';
return;
}
}
}
4ba12b1881475de83e5cf0b739b1ac4525800e67
MediaWiki:Alphindex
8
19
24
2020-12-30T21:04:26Z
Jacques Ducloy
1
Created page with "Alphabetical Index"
wikitext
text/x-wiki
Alphabetical Index
72548f2cd920aff405b7f6d49b73959255281d7a
MediaWiki:Alphindex-url
8
20
26
2020-12-30T21:05:05Z
Jacques Ducloy
1
Created page with "Special:Allpages"
wikitext
text/x-wiki
Special:Allpages
9c4ca57f1c0c45ab625ad8985112b73c94303484
MediaWiki:Sidebar
8
21
28
2020-12-30T21:05:55Z
Jacques Ducloy
1
Created page with "* navigation ** mainpage|mainpage-description ** portal-url|portal ** currentevents-url|currentevents ** recentchanges-url|recentchanges ** alphindex-url|alphindex ** Topics i..."
wikitext
text/x-wiki
* navigation
** mainpage|mainpage-description
** portal-url|portal
** currentevents-url|currentevents
** recentchanges-url|recentchanges
** alphindex-url|alphindex
** Topics index|Topics index
** randompage-url|randompage
** helppage|help
* SEARCH
* TOOLBOX
* LANGUAGES
a22f7d50030d38722b41c74b7698e467f66876a9
Template:Tag
10
119
224
2020-12-30T21:10:05Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
Opening tag
-->{{#switch:{{{2|pair}}}
|c|close =
|e|empty|s|single|v|void
|o|open
|p|pair = <{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}}
}}<!--
Content between tags
-->{{#switch:{{{2|pair}}}
|c|close = {{{content|}}}
|e|empty|s|single|v|void =  />
|o|open = >{{{content|}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{content|...}}}
}}<!--
Closing tag
-->{{#switch:{{{2|pair}}}
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}}
}}<!--
--></code><noinclude>
{{Documentation}}
</noinclude>
eae208bc1612c834de697fa3ee9b343966cf8602
Template:Underline
10
120
226
2020-12-30T21:10:05Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span style="text-decoration: underline;">{{{1}}}</span><noinclude>
{{Documentation}}
<!--
PLEASE ADD CATEGORIES TO THE /doc SUBPAGE;
INTERWIKIS GO TO WIKIDATA, THANK YOU!
-->
[[fr:Modèle:Souligner]]
</noinclude>
a97ab4c2dd6eaefcef8043a349a7885ec580c351
Template:Article body/Begin
10
115
216
2020-12-30T21:10:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><center>
<div style="width:{{{width|35em}}};text-align:justify;font-family: Times New Roman, Times, Liberation Serif, FreeSerif;font-size: 130%;line-height:170%;"></includeonly><noinclude>
The template '''Begin article body''' indique la début du corps d'un article réédité.
Il sert à formater et justifier le texte d'un article retenu.
Il doit impérativement être utilisé avec le modèle [[Template:End article body|End article body]].
[[fr:Modèle:Corps article/Début]]
</noinclude>
0a0483819fccd189e4709b1563cdaafff252199c
Template:Article body/End
10
116
218
2020-12-30T21:10:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
</div></center>
30811140b2fce90b3fd67f0eaf27210ce2d5ec92
Template:Article body/Bibl
10
117
220
2020-12-30T21:10:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><p style="margin-left:2em;text-indent:-1em;" {{#if:{{{id|}}}|id="article body bibl {{{id}}}"}}>
{{#if:{{{id|}}}|<nowiki>[</nowiki>{{#if:{{{link|}}}|[[Has cited article::{{{link}}}|{{{id édité|{{{id}}}}}}]] |
{{{id édité|{{{id}}}}}}}}<nowiki>]</nowiki> <!--
-->[[#article body link bibl {{{id}}}|↑]]}}<!--
-->{{#if:{{{id 2|}}}|<span id="article body bibl {{{id 2}}}">[[#corps article lien bibl {{{id 2}}}|↑]]</span>}}<!--
-->{{#if:{{{id 3|}}}|<span id="article body bibl {{{id 3}}}">[[#corps article lien bibl {{{id 3}}}|↑]]</span>}}
{{#if:{{{auteur 9|}}}|[[Has cited author::{{{author}}}]], [[A pour auteur cité::{{{auteur 2}}}]], [[A pour auteur cité::{{{auteur 3}}}]], [[A pour auteur cité::{{{auteur 4}}}]], [[A pour auteur cité::{{{auteur 5}}}]], [[A pour auteur cité::{{{auteur 6}}}]], [[A pour auteur cité::{{{auteur 7}}}]], [[A pour auteur cité::{{{auteur 8}}}]] et [[A pour auteur cité::{{{auteur 9}}}]], |
{{#if:{{{auteur 8|}}}|[[A pour auteur cité::{{{auteur}}}]], [[A pour auteur cité::{{{auteur 2}}}]], [[A pour auteur cité::{{{auteur 3}}}]], [[A pour auteur cité::{{{auteur 4}}}]], [[A pour auteur cité::{{{auteur 5}}}]], [[A pour auteur cité::{{{auteur 6}}}]], [[A pour auteur cité::{{{auteur 7}}}]] et [[A pour auteur cité::{{{auteur 8}}}]], |
{{#if:{{{auteur 7|}}}|[[A pour auteur cité::{{{auteur}}}]], [[A pour auteur cité::{{{auteur 2}}}]], [[A pour auteur cité::{{{auteur 3}}}]], [[A pour auteur cité::{{{auteur 4}}}]], [[A pour auteur cité::{{{auteur 5}}}]], [[A pour auteur cité::{{{auteur 6}}}]] et [[A pour auteur cité::{{{auteur 7}}}]], |
{{#if:{{{auteur 6|}}}|[[A pour auteur cité::{{{author}}}]], [[A pour auteur cité::{{{auteur 2}}}]], [[A pour auteur cité::{{{auteur 3}}}]], [[A pour auteur cité::{{{auteur 4}}}]], [[A pour auteur cité::{{{auteur 5}}}]] et [[A pour auteur cité::{{{author 6}}}]], |
{{#if:{{{author 5|}}}|[[Has cited author::{{{author}}}]], [[Has cited author::{{{author 2}}}]], [[Has cited author::{{{author 3}}}]], [[Has cited author::{{{author 4}}}]] and [[Has cited author::{{{author 5}}}]], |
{{#if:{{{author 4|}}}|[[Has cited author::{{{author}}}]], [[Has cited author::{{{author 2}}}]], [[Has cited author::{{{author 3}}}]] and [[Has cited author::{{{author 4}}}]], |
{{#if:{{{author 3|}}}|[[Has cited author::{{{author}}}]], [[Has cited author::{{{auteur 2}}}]] and [[Has cited author::{{{author 3}}}]], |
{{#if:{{{author 2|}}}|[[Has cited author::{{{author}}}]] and [[Has cited author::{{{author 2}}}]], |
{{#if:{{{author|}}}|[[Has cited author::{{{author}}}]], |}}}}}}}}}}}}}}}}}} {{{text}}}<!--
-->
{{#if:{{{url|}}}|<br>En ligne : {{{url}}} <!--
-->{{#if:{{{date url|}}}| ''(consulté le {{{date url}}})''}} }}</p></includeonly><noinclude>
[[fr:Modèle:Corps article/Bibl]]
</noinclude>
e19ca7154d8e0aa684bfce6dc3e77b52f69f0f54
Template:Article body/Link bibl
10
118
222
2020-12-30T21:10:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><span id="article body link bibl {{{1}}}">[[#article body bibl {{{1}}}|{{{2|{{{1}}}}}}]]</span></includeonly><noinclude>
This model inserts in the text a link towards a bibliographic item (managed by template [[Template:Article body/Bibl|Article body/Bibl]].
[[fr:Modèle:Corps article/Lien bibl]]
</noinclude>
5bdd88b6e443a2681a0e27404f45e08ca656df77
Template:Underline/doc
10
121
228
2020-12-30T21:10:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{See|MOS:BADEMPHASIS|MOS:QUOTE}}
{{Template shortcut|Under|Unline|Undline}}
{{used in system}}
This template formats a span of text using {{tag|span|params=style="text-decoration: underline;"}}. This adds underlining without the semantics of {{tag|u}}.
{{markup
|<nowiki>{{underline|Lorem ipsum dolor sit amet, consectetur}}</nowiki>
|{{underline|Lorem ipsum dolor sit amet, consectetur}}
}}
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Text-specific formatting and function templates|{{PAGENAME}}]]
[[Category:Wikipedia XHTML tag-replacing templates]]
[[Category:Typing-aid templates|{{PAGENAME}}]]
}}</includeonly>
279b9fcb3b8a0b464a05b938091f8bf5e6135a57
Template:Wicri global map
10
123
232
2020-12-30T21:10:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template shows a global map of the Wicri network
<pre>
{{Wicri global map
|map size = 550 implicit
|size 1 = 58 implicit
|size 2 = 50 implicit
|size 3 = 46 implicit
|size 4 = 44 implicit
|size 5 = 40 implicit
|private = link to private wiki
}}
</pre>
See also: [[Template:Wicri carte globale]]
[[fr:Modèle:Wicri carte globale]]
</noinclude><div style="position:relative;width:{{{map size|550}}}px;">
[[File:WicriRéseauGabarit2.png|{{{map size|550}}}px]]
<div style="position: absolute; top: 1%; left: 50%;">
<div style="position: absolute; left: -{{#expr: {{{size 1|54}}} / 2}}px;">
[[{{Logo Wicri Root en}}|{{{size 1|54}}}px|link=wicri-root.en:Main Page|Going to Wicri/Root]]
</div>
</div>
<div style="position: absolute; top: 18%; left: 50%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri en}}|{{{size 5|40}}}px|link=wicri.en:Main Page|Going to Wicri/Wicri]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 32%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|46}}} / 2}}px;">
[[{{Logo Wicri Africa en}}|{{{size 3|46}}}px|link=wicri-africa.en:Main Page|Going to Wicri/Africa]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 40.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|46}}} / 2}}px;">
[[{{Logo Wicri Americas en}}|{{{size 3|46}}}px|link=wicri-americas.en:Main Page|Going to Wicri/Americas (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 60%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|46}}} / 2}}px;">
[[{{Logo Wicri Asia en}}|{{{size 3|46}}}px|link=wicri-asia.en:Main Page|Going to Wicri/Asia & Oceania (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 68.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|46}}} / 2}}px;">
[[{{Logo Wicri Europe en}}|{{{size 3|46}}}px|link=wicri-europe.en:Main Page|Going to Wicri/Europe]]
</div>
</div>
{{Wicri global map, pool|size 4={{{size 4|44}}}}}
<div style="position: absolute; top: 6%; left:23.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Man en}}|{{{size 4|44}}}px|link=wicri-man.en:Main Page|Going to Wicri/Manual]]
</div>
</div>
{{Wicri global map, base|size 4={{{size 4|44}}}}}
<div style="position: absolute; top: 9%; left: 85%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Metadata en}}|{{{size 4|44}}}px|link=wicri-meta.en:Main Page|Going to Wicri/Metadata]]
</div>
</div>
<div style="position: absolute; top: 11%; left: 93%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Tools en}}|{{{size 4|44}}}px|link=wicri-tools.en:Main Page|Going to Wicri/Tools]]
</div>
</div>
{{#if:{{{private|}}} |
<div style="position: absolute; top: 10%; left: 7%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[File:Panneau travaux.png|{{{size 5|40}}}px|link={{{privé}}}|Going to private wiki]]
</div>
</div>
}}
<div style="position: absolute; top: 33%; left: 53.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Linguistics en}}|{{{size 4|40}}}px|link=wicri-linguistics.en:Main Page|Going to Wicri/Linguistics (en)]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 60%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Health en}}|{{{size 5|40}}}px|link=wicri-health.en:Main Page|Going to Wicri/Health (en)]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 67%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Agronomy en}}|{{{size 4|40}}}px|link=wicri-agronomy.en:Main Page|Going to Wicri/Agronomy]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 74%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Ticri en}}|{{{size 4|40}}}px|link=ticri.en:Main Page|Going to Wicri/Ticri]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 81.2%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Engineering en}}|{{{size 4|40}}}px|link=wicri-engin.en:Main Page|Going to Wicri/Engineering]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 88.2%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Archaeology en}}|{{{size 4|40}}}px|link=wicri-archaeology.en:Main Page|Going to Wicri/Archaeology]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 95.5%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Computer science en}}|{{{size 4|40}}}px|link=wicri-computer-science.en:Main Page|Going to Wicri/Computer science]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 46.5%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Psychology en}}|{{{size 4|40}}}px|link=wicri-psycho.en:Main Page|Going to Wicri/Psychology]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 39.5%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Music en}}|{{{size 4|40}}}px|link=wicri-music.en:Main Page|Going to Wicri/Music]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 32%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Earth en}}|{{{size 4|40}}}px|link=wicri-earth.en:Main Page|Going to Wicri/Earth]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 24.6%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Urban soils en}}|{{{size 4|40}}}px|link=wicri-urban-soils.en:Main Page|Going to Wicri/Urban Soils]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 17.6%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Wood en}}|{{{size 4|40}}}px|link=wicri-wood.en:Main Page|Going to Wicri/Wood and forests]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 11.2%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Water en}}|{{{size 4|40}}}px|link=wicri-water.en:Main Page|Going to Wicri/Water]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 4.4%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Biomass en}}|{{{size 4|40}}}px|link=wicri-biomass.en:Main Page|Going to Wicri/Biomass]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 50%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri France en}}|{{{size 4|44}}}px|link=wicri-france.en:Main Page|Going to Wicri/France]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 42%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Luxembourg en}}|{{{size 4|44}}}px|link=wicri-lux.en:Main Page|Going to Wicri/Luxembourg]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 58.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Canada en}}|{{{size 4|44}}}px|link=wicri-canada.en:Main Page|Going to Wicri/Canada (en)]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 66.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Morocco en}}|{{{size 4|44}}}px|link=wicri-morocco.en:Main Page|Going to Wicri/France]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 74%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Brazil en}}|{{{size 4|44}}}px|link=wicri-brazil.en:Main Page|Going to Wicri/Brazil (en)]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 81.25%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Greater Region en}}|{{{size 5|40}}}px|link=wicri-gr.en:Main Page|Going to Wicri/Greater Region]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 88.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Alsace en}}|{{{size 5|40}}}px|link=wicri-alsace.en:Main Page|Going to Wicri/Alsace]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 95.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Lorraine en}}|{{{size 5|40}}}px|link=wicri-lor.en:Main Page|Going to Wicri/Lorraine]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 34%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Belgium en}}|{{{size 4|44}}}px|link=wicri-belgium.en:Main Page|Going to Wicri/Belgium]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 26.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Germany en}}|{{{size 4|44}}}px|link=wicri-germany.en:Main Page|Going to Wicri/Germany]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 19%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Wallonia en}}|{{{size 5|40}}}px|link=wicri-wallonie.en:Main Page|Going to Wicri/Wallonia]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 12%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Saarland en}}|{{{size 5|40}}}px|link=wicri-saarland.en:Main Page|Going to Wicri/Saarland]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 5%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Rhineland-Palatinate en}}|{{{size 5|40}}}px|link=wicri-rhin-pal.en:Main Page|Going to Wicri/Rhineland-Palatinate]]
</div>
</div>
</div>
21015c1e4fcabc445551bfb4d64af8edcb014554
Template:Wicri network navbox
10
125
236
2020-12-30T21:10:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
|bodyclass =
|name = Wicri network navbox
|title = Wicri network
|state =collapsed
|titleclass =
|image =
|above =
|group1 = Kernel
|list1 = [[wicri.en:Main Page|Wicri/Wicri]], [[wicri-pool.inpl:Main Page|Media]], [[wicri-base.en:Main Page|Base]], [[wicri-man.en:Main Page|Man]], [[wicri-meta.en:Main Page|Metadata]], [[wicri-tools.en:Main Page|Tools]], [[incub.en:Main Page|Incubator]]
|group2 = Geographic
|list2 = [[wicri-europe.en:Main Page|Europe]], '''[[wicri-belgium.en:Main Page|Belgium]]''' ([[wicri-wallonie.en:Main Page|Wallonia]]),'''[[wicri-france.en:Main Page|France]]''' ( [[wicri-als.en:Main Page|Alsace]], [[wicri-lor.en:Main Page|Lorraine]]), '''[[wicri-germany.en:Main Page|Germany]]''' ([[wicri-rhin-pal.en:Main Page|Rhineland-Palatinate]], [[wicri-saarland.en:Main Page|Saarland]]), '''[[wicri-lux.en:Main Page|Luxembourg]]''', '''[[wicri-gr.en:Main Page|Greater Region]]'''<br/>[[wicri-africa.en:Main Page|Africa]], '''[[wicri-morocco.en:Main Page|Morocco]]'''
|group3 = ICT
|list3 = [[ticri.en:Main Page|Ticri]], [[artist.en:Main Page|Artist]], [[wicri-computer-science.en:Main Page|Computer Science]]
|group4 =Environment
|list4 = [[wicri-agronomy.en:Main Page|Agronomy]], [[wicri-biomass.en:Main Page|Biomass]], [[wicri-earth.en:Main Page|Earth]], [[wicri-urban-soils.en:Main Page|Urban Soils]], [[wicri-water.en:Main Page|Water]], [[wicri-wood.en:Main Page|Wood]]
|group5 = Humanities
|list5 = [[wicri-archaeology.en:Main Page|Archaeology]], [[wicri-health.en:Main Page|Health]], [[wicri-music.en:Main Page|Music]], [[wicri-psycho.en:Main Page|Psychology]]
}}<noinclude>
[[fr:Modèle:Boîte navigation Wicri]]
</noinclude>
77079ec972c5be59673b8ed66ee8de7ee881d8a7
Template:Wicri global map, base
10
126
238
2020-12-30T21:10:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
Ce modèle est utilisé pour afficher le logo correspondant au wiki Base.
[[{{Logo Wicri Base 1.28 en}}]]
[[fr:Modèle:Wicri carte globale, base]]
</noinclude><includeonly><div style="position: absolute; top: 9%; left: 15%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Base 1.28 en}}|{{{size 4|44}}}px|link=wicri-base128.en:Main Page|Going to general wiki Wicri/Base 1.28 (fr)]]
</div>
</div>
</includeonly>
f1f3edaea6f20deab676aeb20ff2de4b921a6162
Template:Wicri global map, pool
10
127
240
2020-12-30T21:10:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[{{Logo Wicri Pool LorExplor}}]]
[[fr:Modèle:Wicri carte globale, pool]]
</noinclude><includeonly><div style="position: absolute; top: 6%; left: 77%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Pool LorExplor}}|{{{size 4|44}}}px|link=wicri-pool-lorexplor:Main Page|Going to pool on site LorExplor site]]
</div>
</div>
</includeonly>
d3c76f14ca0bcb0d9e9314da96bc42aaaec3d263
Template:Logo Wicri en
10
128
242
2020-12-30T21:10:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
Image:LogoWicriWicriEnMars2010.png
785654538b2dd62809949a560224d48ec5027f3a
Template:Logo Wicri Root en
10
130
246
2020-12-30T21:10:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriSourceEn.png
9e7ea765b8e0a4350c07210f83597d667ebf7129
Template:Logo Wicri Pool inpl
10
131
248
2020-12-30T21:10:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
Image:Logo Wicri Média.png
5171cd4b62142149793f767a632c3db60ec3a1e2
Template:Logo Wicri Tools en
10
132
250
2020-12-30T21:10:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriOutilsAvril2010En.png
0e99093c0723d6df77fa72fb2c68115f4acf4dba
Template:Logo Wicri Base en
10
134
254
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBaseAvril2010En.png
e09d6d151ee187a741f01d0083c50f75b270fd9c
Template:Logo Wicri Metadata en
10
135
256
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriMetaEn.png
49578a2a367ccd46951800855d990ef52d5111b1
Template:Logo Wicri Base 1.28 en
10
136
258
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBase128en.png
1bce02cd9631ca26569019e9efdd592ae85e71e0
Template:Logo Wicri Incubator en
10
139
264
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriIncubAvril2010En.png
99210fa7e09dcfe5a7c7ad51e80ef1c135e79c95
Template:Logo Wicri Pool LorExplor
10
140
266
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriPoolLorExplor.png<noinclude>
[[File:LogoWicriPoolLorExplor.png|100px]]
[[fr:Modèle:Logo Wicri Pool LorExplor]]
</noinclude>
cb8b40b74f9530879e25eba1194b407366d5dba1
Template:Logo Wicri Agronomy en
10
143
272
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAgroEnV1.png
775bb9d72e9be565317ab2f9004fe7d779507cd6
Template:Logo Wicri Biomass en
10
144
274
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBiomasseJuillet2011En.png
6f545edde0aff964142f845517c10b663ea21e9d
Template:Logo Wicri Earth en
10
145
276
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriTerreJuillet2011En.png
18e2f7bd3a614179e0e063563f5048ff229dba96
Template:Logo Wicri Engineering en
10
146
278
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriIngenierieEn.png
7828ddca68642725ba0910b2f8977a790d09e631
Template:Logo Wicri Ticri en
10
148
282
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriTicriJuillet2011En.png
be8bf7f94a7f082388fb9fde1d88707d1209d31b
Template:Logo Wicri Water en
10
149
284
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriEauJuillet2011En.png
3ec16e3ace32f57e1ddc594761d660eec71a1997
Template:Logo Wicri Wood en
10
150
286
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBoisJuillet2011En.png
3676d16ac873e4904ad183b73141a7eb75728b4e
Template:Logo Wicri Artist en
10
151
288
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriArtistJuillet2011En.png
46791e80728671d03443e0802ca9937f0136290a
Template:Logo Wicri Urban soils en
10
152
290
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriSolsUrbainsJuillet2011En.png
f569c8f87b5f57412ff2875cf2c882093b647d40
Template:Logo Wicri Computer science en
10
153
292
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriInformatiqueJuillet2011En.png
76dacfc8e4b7217914d512d6bffc18fd6fe91e24
Template:Logo Wicri Archaeology en
10
154
294
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriArcheoJuillet2011En.png
d4e78a285b9021d83d2bce2e1edc376f511141af
Template:Logo Wicri Linguistics en
10
155
296
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriLinguisticsMai2012En.png
85a77cbdbce310fdc7b16227de62a012c42303c3
Template:Logo Wicri Health en
10
156
298
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriSante20140904En.png<noinclude>
[[File:LogoWicriSante20140904En.png]]
</noinclude>
4e41f7227936345a71317cdfdcbfafca0376dfea
Template:Logo Wicri Music en
10
157
300
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriMusicEn.png<noinclude>
[[File:LogoWicriMusicEn.png]]
</noinclude>
5ac1cf01e1691d93ecf679e5c6232dc0fe003e3b
Template:Logo Wicri Psychology en
10
158
302
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriPsyEn133.png<noinclude>
[[File:LogoWicriPsyEn133.png]]
</noinclude>
56bb07b64553f633eb11ac088c71c8de60c25dc3
Template:Logo Wicri Europe en
10
159
304
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriEuropeOctobre2011En.png
a73a11f0d368a774881187862a0d4213fb10baa4
Template:Logo Wicri Belgium en
10
160
306
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBelgiqueJuillet2011En.png
f50d89d094d8bce4d150df657da5ac9b15dd64ec
Template:Logo Wicri France en
10
161
308
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriFranceJuillet2011En.png
04e7139abdda738c8a2ad42ec6b47fed43bc9949
Template:Logo Wicri Germany en
10
164
314
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAllemagneJuillet2011En.png
dbaa72419a6b94bfd051baeb87f9ffb7013dc925
Template:Logo Wicri Luxembourg en
10
165
316
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriLuxembourgJuillet2011En.png
f5881442ea7581d253c85ac2c54367a7d624f2da
Template:Logo Wicri Alsace en
10
166
318
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAlsaceJuillet2011En.png
959edef8b605d87a7b59e681ff097c8dbfda34a5
Template:Logo Wicri Lorraine en
10
167
320
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriLorraineJuillet2011En.png
97972f5a315aa73179e31117bd0130869741e2f5
Template:Logo Wicri Rhineland-Palatinate en
10
168
322
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriRhinPalJuillet2011En.png
d1d0e1320469c6a3a404178057225afa691b5c87
Template:Logo Wicri Saarland en
10
169
324
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriSarreJuillet2011En.png
bf8d9c37f95706207262be0c145733f2e868577c
Template:Logo Wicri Wallonia en
10
170
326
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriWalJuillet2011En.png
25365b59f38623770eefbd9c8750bf4e9c4f25ec
Template:Logo Wicri Greater Region en
10
171
328
2020-12-30T21:10:30Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriGrandeRegionJuillet2011En.png
dc14404dac0247249c0680a756347549c9c51b25
Template:Logo Wicri Americas en
10
172
330
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAmeriqueJanvier2012En.png
3941bdab56b55d4860a49df3e49b356957543a05
Template:Logo Wicri Brazil en
10
173
332
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBresilJanvier2012En.png
984bc83a2b4e165741a5dee9d072b794890dfbe1
Template:Logo Wicri Canada en
10
174
334
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriCanadaEn.png
5004878eed67efac0bbb1e0acea25deb6b20c9d3
Template:Logo Wicri Asia en
10
175
336
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAsieJanvier2012En.png
4dbc9697645541630c019857c6ca05dcc1150368
Template:Logo Wicri Africa en
10
176
338
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAfriqueOctobre2011En.png
a9686d4611030620bad347c52f0d8b06b4f5d4db
Template:Logo Wicri Morocco en
10
177
340
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriMarocOctobre2011En.png
d65369fb2e3ce8e65d3d560226a0b072f08f9091
Template:Begin 2 columns
10
179
344
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{|width="100%" cellspacing="0" cellpadding="0" style="margin-top:0.6em"
|-
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="49%"|</includeonly><noinclude>
This template is used for starting a two columuns area.
It must be used with:
* [[:Template:Jump 2 columns]]
* [[:Template:End 2 columns]]
See also: [[Template:Begin 3 columns]]
[[fr:Modèle:Début 2 colonnes]]
[[de:Vorlage:Beginn 2 Spalten]]
</noinclude>
86d978cc332cc786a48249b0ba5d446d966cfd9b
Template:Skip 2 columns
10
180
346
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>|style="font-size:0.6em;line-height:0.6em"|
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="49%"|</includeonly><noinclude>
This template is deprecated, see [[Template:Jump 2 columns]].
[[fr:Modèle:Saut 2 colonnes]]
</noinclude>
fb161011b93d4fd390709503f346ba0f6ded1042
Template:Jump 2 columns
10
181
348
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>|style="font-size:0.6em;line-height:0.6em"|
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="49%"|</includeonly><noinclude>
[[fr:Modèle:Saut 2 colonnes]]
</noinclude>
2667b984e841f1d6df59ba4d2aad6573772fe33e
Template:End 2 columns
10
182
350
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
|}
09a0215d88f8525232ec8e5480f5f77095ced7f4
Template:Begin 3 columns
10
183
352
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{|width="100%" cellspacing="0" cellpadding="0" style="margin-top:0.6em"
|-
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="33%"|<noinclude>
This template is used for starting a three columuns area.
It must be used with:
* [[:Template:Jump 3 columns]]
* [[:Template:End 3 columns]]
See also: [[Template:Begin 2 columns]]
[[fr:Modèle:Début 3 colonnes]]
[[de:Vorlage:Beginn 2 Spalten]]
</noinclude>
a0a8b9246343fb4cdbfd9330ae5a36f2e59beb6b
Template:Jump 3 columns
10
184
354
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>
|style="font-size:0.6em;line-height:0.6em"|
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="33%"|</includeonly><noinclude>
[[fr:Modèle:Saut 3 colonnes]]
</noinclude>
07b688cbce23b8391c07f40071b08d21c34bc43b
Template:End 3 columns
10
185
356
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
|}
09a0215d88f8525232ec8e5480f5f77095ced7f4
Template:Wicri network 2009 imagemap 500px
10
186
358
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:RéseauWicriSept2009.png|500px|right
rect 475 40 675 190 [[:wicri.en:Main Page|Wicri - English (Wikis for communities in reseach and innovation)]]
rect 300 90 400 200 [[:wicri.pool:Main Page|WicriMédia (multimedia resources)]]
rect 760 90 950 200 [[:incub.en:Main Page|Wicri Incubator: English version]]
rect 40 250 180 400 [[:wicri-lor.en:Main Page|Regional wiki: Wicri Lorraine]]
rect 200 250 340 400 [[:wicri-als.en:Main Page|Regional wiki: Wicri Alsace]]
rect 400 250 560 400 [[:ticri.en:Main Page|Thematic wiki Ticri (technologies dealing with information and communication for communuties implied in Resaerch & information]]
rect 590 250 720 400 [[:wicri-t-bois.en:Main Page|Thematic wiki: Wood and forests]]
rect 760 250 880 400 [[:wicri-t-biomasse.en:Main Page|Thematic wiki: Biomass]]
rect 920 250 1050 400 [[:wicri-t-eau.en:Main Page|Thematic wiki: Water]]
rect 1080 250 1200 400 [[:wicri-t-sols-urbains.en:Main Page|Thematic wiki: Urban Soils]]
desc bottom-right
</imagemap><noinclude>
This template is an archive.
</noinclude>
b17e99348b24d4aa0bcc1024c7cbfd7be2ae99ea
Template:Wicri network imagemap 500px
10
187
360
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriWicriNetworkAvril2010En.png|500px|right
rect 60 160 190 270 [[:wicri-base.en:Main Page|Wiki Base (outils pour la maintenance du réseau Wicri)]]
rect 210 110 340 220 [[:wicri-outils.en:Main Page| Wicri/Outils (outils logiciels pour le réseau Wicri et les Ticri)]]
rect 360 70 500 180 [[:wicri-meta.en:Main Page|Wicri/Métadonnées]]
rect 525 40 700 180 [[:wicri.en:Main Page|Wicri/Wicri Main Page of Wicri Network (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Main Page|Wicri (pool) - ressources multimédia]]
rect 920 110 1020 220 [[:wicri-man.en:Main Page|Wicri/Manuels]]
rect 30 320 130 450 [[:wicri-als.en:Main Page|Regional Wiki: Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.en:Main Page|Regional Wiki: Wicri Lorraine]]
rect 300 320 400 450 [[:incub.en:Main Page|Wicri Incubator: English version]]
rect 425 320 525 450 [[:earth.en:Main Page|Thematic wiki Earth]]
rect 550 320 670 450 [[:ticri.en:Main Page|Wiki thématique Ticri (technologies de l'information communication pour les communautés de la recherche et de l'information]]
rect 700 320 800 450 [[:wicri-t-bois.en:Main Page|Thematic wiki: Wood and forests]]
rect 835 320 940 450 [[:wicri-t-biomasse.en:Main Page|Thematic wiki: Biomass]]
rect 970 320 1070 450 [[:wicri-t-eau.en:Main Page|Thematic wiki: Water]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.en:Main Page|Thematic wiki: Urban soils]]
desc none
</imagemap><noinclude>
This template is derived from [[wicri.pool.inpl:Wicri network]]. It must be manually modify if needed.
See also: [[Template:Wicri network imagemap 300px]]
[[fr:Modèle:Wicri imagemap réseau 500px]]
</noinclude>
eb02bc262e3b1965cd1f0ccf5103963466b11bb4
Template:Wicri network imagemap 400px
10
188
362
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriWicriNetworkAvril2010En.png|400px|right
rect 60 160 190 270 [[:wicri-base.en:Main Page|Wiki Base (outils pour la maintenance du réseau Wicri)]]
rect 210 110 340 220 [[:wicri-outils.en:Main Page| Wicri/Outils (outils logiciels pour le réseau Wicri et les Ticri)]]
rect 360 70 500 180 [[:wicri-meta.en:Main Page|Wicri/Métadonnées]]
rect 525 40 700 180 [[:wicri.en:Main Page|Wicri/Wicri Main Page of Wicri Network (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Main Page|Wicri (pool) - ressources multimédia]]
rect 920 110 1020 220 [[:wicri-man.en:Main Page|Wicri/Manuels]]
rect 30 320 130 450 [[:wicri-als.en:Main Page|Regional Wiki: Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.en:Main Page|Regional Wiki: Wicri Lorraine]]
rect 300 320 400 450 [[:incub.en:Main Page|Wicri Incubator: English version]]
rect 425 320 525 450 [[:earth.en:Main Page|Thematic wiki Earth]]
rect 550 320 670 450 [[:ticri.en:Main Page|Wiki thématique Ticri (technologies de l'information communication pour les communautés de la recherche et de l'information]]
rect 700 320 800 450 [[:wicri-t-bois.en:Main Page|Thematic wiki: Wood and forests]]
rect 835 320 940 450 [[:wicri-t-biomasse.en:Main Page|Thematic wiki: Biomass]]
rect 970 320 1070 450 [[:wicri-t-eau.en:Main Page|Thematic wiki: Water]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.en:Main Page|Thematic wiki: Urban soils]]
desc none
</imagemap><noinclude>
This template is a copy of [[Template:Wicri network imagemap 500px]], with only one modification (size).
[[fr:Modèle:Wicri imagemap réseau 400px]]
</noinclude>
60303c0e0ec49ca405f28fc4c76a2d249aad75b6
Template:Wicri network imagemap 300px
10
189
364
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriWicriNetworkAvril2010En.png|300px|right
rect 60 160 190 270 [[:wicri-base.en:Main Page|Wiki Base (tools for managing Wicri network)]]
rect 210 110 340 220 [[:wicri-outils.en:Main Page| Wicri/Tools (software tools for e-Science)]]
rect 360 70 500 180 [[:wicri-meta.en:Main Page|Wicri/Metadata]]
rect 525 40 700 180 [[:wicri.en:Main Page|Wicri/Wicri Main Page of Wicri Network (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Main Page|Wicri (pool) - multimedia resources]]
rect 920 110 1020 220 [[:wicri-man.en:Main Page|Wicri/Manuals]]
rect 30 320 130 450 [[:wicri-als.en:Main Page|Regional Wiki: Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.en:Main Page|Regional Wiki: Wicri Lorraine]]
rect 300 320 400 450 [[:incub.en:Main Page|Wicri Incubator: English version]]
rect 425 320 525 450 [[:earth.en:Main Page|Thematic wiki Earth]]
rect 550 320 670 450 [[:ticri.en:Main Page|Thematic wiki Ticri (information & communication technology for research and information communities]]
rect 700 320 800 450 [[:wicri-t-bois.en:Main Page|Thematic wiki: Wood and forests]]
rect 835 320 940 450 [[:wicri-t-biomasse.en:Main Page|Thematic wiki: Biomass]]
rect 970 320 1070 450 [[:wicri-t-eau.en:Main Page|Thematic wiki: Water]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.en:Main Page|Thematic wiki: Urban soils]]
desc none
</imagemap><noinclude>
This template is a copy of [[Template:Wicri network imagemap 500px]], with only one modification (size).
[[fr:Modèle:Wicri imagemap réseau 300px]]
</noinclude>
613115f4d1f4e6ad3e48b35681b33635f0bce2ff
Template:Logo Wicri en, right small
10
190
366
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:LogoWicriWicriEnMars2010.png|70px|right
default [[wicri.en:Main Page|to go to Wicri (en)]]
desc none
</imagemap>
ff24bdaf9acb0e5587e6e18effc64476121118f8
Template:Logo Wicri Root en, right small
10
191
368
2020-12-30T21:10:31Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[{{Logo Wicri Root en}}|70px|right|link=wicri-root.en:Main Page]]
ecfb413dd5d79db111c7ef8fdbf12d9606767a61
Template:Wicri network - large
10
192
370
2020-12-30T21:10:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{clr}}
{|align=right
|-
|{{Wicri global map
|map size=600
}}
|}
;Wicri network, the kernel:
* Wicri family: [[wicri.en:Main Page|[en]]], [[wicri.fr:Accueil|[fr]]], [[wicri.priv:Accueil|[private]]].
* WicriMedia: [[:pool:Main Page|[en]]], [[:pool:Accueil|[fr]]].
* Incubator: [[incub.en:Main Page|[en]]], [[incub.fr:Accueil|[fr]]], [[incub.priv:Accueil|[private]]].
* Wicri Base (tools) : [[wicri-base.de:Hauptseite|[de]]], [[wicri-base.en:Main Page|[en]]], [[wicri-base.fr:Accueil|[fr]]].
;Regional networks:
*Wicri/Europe: [[wicri-europe.en:Main Page|[en]]], [[wicri-europe.fr:Accueil|[fr]]],
**Wicri/Belgium: [[wicri-belgium.en:Main Page|[en]]], [[wicri-belgique.fr:Accueil|[fr]]],
*** Wicri/Wallonia: [[wicri-wallonie.fr:Main Page|[en]]], [[wicri-wallonie.fr:Accueil|[fr]]],
**Wicri/France: [[wicri-france.en:Main Page|[en]]], [[wicri-france.fr:Accueil|[fr]]],
*** Wicri-Alsace: [[wicri-als.en:Main Page|[en]]], [[wicri-als.fr:Accueil|[fr]]], [[wicri-als.priv:Accueil|[private]]].
***Wicri/Lorraine: [[wicri-lor.en:Main Page|[en]]], [[wicri-lor.fr:Accueil|[fr]]], [[wicri-lor.priv:Accueil|[private]]].
****CPER<ref>CPER stands for '''Contrat de Projet État-Région''', a french device aiming at financing research in regions</ref>: PRST [[imt-s.fr:Accueil|IMT-S [fr]]], [[mepp.fr:Accueil|MEPP [fr]]], [[misn.fr:Accueil|MISN [fr]]], [[prst-msh.fr:Accueil|MSH [fr]]], [[sge.fr:Accueil|SGE [fr]]].
****[[dcpr.en:Main Page|DCPR [en]]], [[dcpr.fr:Accueil|DCPR [fr]]], [[drrt-lor.fr:Accueil|DRRT [fr]]], [[fabelor.fr:Accueil|Fabelor [fr]]], [[gisfi.fr:Accueil|Gisfi [fr]]], [[promotech.fr:Accueil|Promotech [fr]]],
**Wicri/Germany: [[wicri-germany.en:Main Page|[en]]], [[wicri-allemagne.fr:Accueil|[fr]]],
***Wicri/Rhineland Palatinate [[wicri-rhin-pal.en:Main Page|[en]]], [[wicri-rhen-pal.fr:Accueil|[fr]]]
***Wicri/Saarland: [[wicri-saarland.en:Main Page|[en]]], [[wicri-sarre.fr:Accueil|[fr]]],
**Wicri/Luxembourg: [[wicri-lux.en:Main Page|[en]]], [[wicri-lux.fr:Accueil|[fr]]],
**Wicri/Wicri/Greater Region: [[wicri-gr.de:Hauptseite|[de]]], [[wicri-gr.en:Main Page|[en]]], [[wicri-gr.fr:Accueil|[fr]]],
*Wicri/Africa: [[wicri-africa.en:Main Page|[en]]], [[wicri-afrique.fr:Accueil|[fr]]],
** Wicri/Morocco: [[wicri-morocco.en:Main Page|[en]]], [[wicri-maroc.fr:Accueil|[fr]]],
;Thematic networks:
* TICRI:''R&D about TICRI'':
**TICRI family: [[ticri.en:Main Page|[en]]], [[ticri.fr:Accueil|[fr]]].
**[[artist.en:Main Page|Artist [en]]], [[artist.fr:Accueil|Artist [fr]]], [[medici.fr:Accueil|Médici [fr]]], [[ticri-outils:Accueil|Ticri-outils [fr]]].
* Natural environment:
**[[wicri-t-biomasse.en:Main Page|Biomass]],
** Wood and Forests [[wicri-wood.en:Main Page|[en]]], [[wicri-bois.fr:Accueil|[fr]]], [[wicri-wood.pr.en:Main Page|[priv.en]]], [[wicri-bois.priv:Accueil|[priv.fr]]],
**[[wicri-t-eau.en:Main Page|Water]],
**Urban soils [[wicri-t-sols-urbains.en:Main Page|[en]]], [[wicri-sols-urbains.fr:Accueil|[fr]]]
**[[earth.en:Main Page|Earth]].
==Notes==
<references/>
2a68f20125582df4dbcc8971699e0d529f245c58
Template:Wicri network imagemap 500px - fr
10
195
376
2020-12-30T21:10:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriReseauFrAvril2010.png|500px|right
rect 60 160 190 270 [[:wicri-base.fr:Accueil|Wiki Base (outils pour la maintenance du réseau Wicri)]]
rect 210 110 340 220 [[:wicri-outils.fr:Accueil| Wicri/Outils (outils logiciels pour le réseau Wicri et les Ticri)]]
rect 360 70 500 180 [[:wicri-meta.fr:Accueil|Wicri/Métadonnées]]
rect 525 40 700 180 [[:wicri.fr:Accueil|Wicri/Wicri tête du réseau Wicri (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Accueil|Wicri (pool) - ressources multimédia]]
rect 920 110 1020 220 [[:wicri-man.fr:Accueil|Wicri/Manuels]]
rect 30 320 130 450 [[:wicri-als.fr:Accueil|Wiki régional : Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.fr:Accueil|Wiki régional : Wicri Lorraine]]
rect 300 320 400 450 [[:incub.fr:Accueil|Incubateur Wicri : version française ]]
rect 425 320 525 450 [[:wicri-lor.fr:Projet Wicri SGE|Quel sera le nouveau wiki ? cette question sera discutée au sein du projet Wicri SGE]]
rect 550 320 670 450 [[:ticri.fr:Accueil|Wiki thématique Ticri (technologies de l'information communication pour les communautés de la recherche et de l'information]]
rect 700 320 800 450 [[:wicri-t-bois.fr:Accueil|Wiki thématique : Bois et forêts]]
rect 835 320 940 450 [[:wicri-t-biomasse.fr:Accueil|Wiki thématique : Biomasse]]
rect 970 320 1070 450 [[:wicri-t-eau.fr:Accueil|Wiki thématique : Eau]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.fr:Accueil|Wiki thématique : Sols urbains]]
desc none
</imagemap><noinclude>
[[fr:Modèle:Wicri imagemap réseau 500px]]
</noinclude>
85386840eee1a9b17d6076c2d24a51a036a392c1
Template:Wicri network imagemap 300px - fr
10
196
378
2020-12-30T21:10:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriReseauFrAvril2010.png|300px|right
rect 60 160 190 270 [[:wicri-base.fr:Accueil|Wiki Base (outils pour la maintenance du réseau Wicri)]]
rect 210 110 340 220 [[:wicri-outils.fr:Accueil| Wicri/Outils (outils logiciels pour le réseau Wicri et les Ticri)]]
rect 360 70 500 180 [[:wicri-meta.fr:Accueil|Wicri/Métadonnées]]
rect 525 40 700 180 [[:wicri.fr:Accueil|Wicri/Wicri tête du réseau Wicri (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Accueil|Wicri (pool) - ressources multimédia]]
rect 920 110 1020 220 [[:wicri-man.fr:Accueil|Wicri/Manuels]]
rect 30 320 130 450 [[:wicri-als.fr:Accueil|Wiki régional : Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.fr:Accueil|Wiki régional : Wicri Lorraine]]
rect 300 320 400 450 [[:incub.fr:Accueil|Incubateur Wicri : version française ]]
rect 425 320 525 450 [[:wicri-lor.fr:Projet Wicri SGE|Quel sera le nouveau wiki ? cette question sera discutée au sein du projet Wicri SGE]]
rect 550 320 670 450 [[:ticri.fr:Accueil|Wiki thématique Ticri (technologies de l'information communication pour les communautés de la recherche et de l'information]]
rect 700 320 800 450 [[:wicri-t-bois.fr:Accueil|Wiki thématique : Bois et forêts]]
rect 835 320 940 450 [[:wicri-t-biomasse.fr:Accueil|Wiki thématique : Biomasse]]
rect 970 320 1070 450 [[:wicri-t-eau.fr:Accueil|Wiki thématique : Eau]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.fr:Accueil|Wiki thématique : Sols urbains]]
desc none
</imagemap><noinclude>
[[fr:Modèle:Wicri imagemap réseau 300px]]
</noinclude>
2030557ab3c80af1e21dd02cd6b5bf61ffc37c99
Template:Logo Wicri fr, right small
10
197
380
2020-12-30T21:10:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:LogoWicriWicriFrMars2010.png|70px|right
default [[wicri.fr:Accueil|pour aller sur Wicri (fr)]]
desc none
</imagemap>
5c70b0d945d005e25ed42bdc3d9706856289e758
Template:Wicri réseau bande
10
199
384
2020-12-30T21:10:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{|align=right
|-
|{{Wicri carte globale
|taille carte=600
}}
|}
;Le cœur du réseau Wicri:
* La famille Wicri/Wicri : [[wicri.fr:Accueil|[fr]]], [[wicri.en:Main Page|[en]]], [[wicri.priv:Accueil|[privé]]].
* Les répertoires d'images (Wicri/Media) : [[:wicri.pool.inpl:Accueil|[Inpl]]], [[:wicri.pool.loria:Accueil|[Loria]]].
* Wicri/Manuel : [[wicri-man.fr:Accueil|[fr]]], [[wicri-man.en:Main Page|[en]]].
* Wicri/Métadonnées : [[wicri-meta.fr:Accueil|[fr]]], [[wicri-meta.en:Main Page|[en]]].
* Wicri/Incubateur : [[incub.fr:Accueil|[fr]]], [[incub.en:Main Page|[en]]], [[incub.priv:Accueil|[privé]]].
* Wicri/Outils : [[wicri-outils.fr:Accueil|[fr]]], [[wicri-outils.en:Main Page|[en]]].
* Wicri/Base (référentiel de modèles) : [[wicri-base.fr:Accueil|[fr]]], [[wicri-base.en:Main Page|[en]]].
;Réseaux thématiques:
* Informatique et Ticri: [[wicri-informatique.fr:Accueil|Wicri/Informatique]], [[ticri.fr:Accueil|Wicri/Ticri]], .
* Environement : [[wicri-agronomie.fr:Accueil|Wicri/Agronomie]] ([[mots-agronomie.fr:Accueil|Les mots de l'agronomie]]), [[wicri-t-biomasse.fr:Accueil|Wicri/Biomasse]], [[wicri-t-bois.fr:Wicri/Accueil|Wicri/Bois et forêts]], [[wicri-t-eau.fr:Accueil|Wicri/Eau]], [[wicri-t-sols-urbains.fr:Accueil|Wicri/Sols Urbains]], [[wicri-terre.fr:Accueil|Wicri/Terre]].
* Sciences humaines et sociales : [[wicri-archeologie.fr:Accueil|Wicri/Archéologie]], [[ticri.fr:Accueil|Wicri/Ticri]] ([[artist.fr:Accueil|Wicri/Artist]], [[medici.fr:Accueil|Médici]])
;Réseaux régionaux :
* Wicri/France : [[wicri-france.fr:Accueil|[fr]]], [[wicri-france.en:Accueil|[en]]], [[wicri-france.priv:Accueil|[privé]]],
** Wicri/Alsace : [[wicri-als.fr:Accueil|[fr]]], [[wicri-als.en:Main Page|[en]]], [[wicri-als.priv:Accueil|[privé]]]
**Wicri/Lorraine : [[wicri-lor.fr:Accueil|[fr]]], [[wicri-lor.en:Main Page|[en]]], [[wicri-lor.priv:Accueil|[privé]]].
***Le CPER : les PRST [[imt-s.fr:Accueil|IMT-S]], [[mepp.fr:Accueil|MEPP]], [[misn.fr:Accueil|MISN]], [[prst-msh.fr:Accueil|MSH]], [[sge.fr:Accueil|SGE]].
***[[dcpr.fr:Accueil|DCPR]], [[drrt-lor.fr:Accueil|DRRT]], [[direccte.fr:Accueil|DIRECCTE]], [[fabelor.fr:Accueil|Fabelor]], [[gisfi.fr:Accueil|Gisfi]], [[promotech.fr:Accueil|Promotech]], [[udl-bul-col.fr:Accueil|Collection Bul]].
* Wicri/Europe : [[wicri-europe.fr:Accueil|[fr]]], [[wicri-europe.en:Accueil|[en]]], [[wicri-europe.priv:Accueil|[privé]]]. ; Wicri/Grande Région : [[wicri-gr.fr:Accueil|[fr]]], [[wicri-gr.en:Main Page|[en]]], [[wicri-gr.de:Hauptseite|[de]]], [[wicri-gr.priv:Accueil|[privé]]].
**Wicri/Allemagne : [[wicri-allemagne.fr:Accueil|[fr]]], [[wicri-germany.en:Main Page|[en]]], ([[wicri-rhen-pal.fr:Accueil|Wicri/Rhénanie-Palatinat]], [[wicri-sarre.fr:Accueil|Wicri/Sarre]])
**Wicri/Belgique : [[wicri-belgique.fr:Accueil|[fr]]], [[wicri-belgique.en:Main Page|[en]]], ([[wicri-wallonie.fr:Accueil|Wicri/Wallonie]])
**Wicri/Luxembourg : [[wicri-lux.fr:Accueil|[fr]]], [[wicri-lux.en:Accueil|[en]]]
[[fr:Modèle:Wicri réseau bande]]
ac121d97b577735ea26122a6fda041213b0ed960
Template:Wicri box - fr
10
200
386
2020-12-30T21:10:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Begin box|yellow|back=#E8E5FF}}
{|width=100%
|{{Logo Wicri fr, right small}}
{{{text}}}
|}{{End box}}
<noinclude>
[[fr:Modèle:Cadre Wicri]]
</noinclude>
af4318fd2880babf958665c631c76a117d11490e
Template:Wicri box - multi
10
201
388
2020-12-30T21:10:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Begin box|yellow|back=#E8E5FF}}
{|width=100%
|width=100%|{{Logo Wicri fr, right small}}
{{{text}}}
|{{Logo Wicri en, right small}}
|}{{End box}}
<noinclude>
[[fr:Modèle:Cadre Wicri]]
</noinclude>
f4c3b7b2a42514da849ad97385ada64dc2561aa7
Template:Wicri warning link
10
202
390
2020-12-30T21:10:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:WicriLienInterne.png|60px|logo internal link]]
|This page is in initialization step in order to assume links consistency in this wiki. <br/>You could use the '''[[Special:WhatLinksHere/{{PAGENAME}}|"What links here"]]''' facility of the toobox.
|}</div> [[Category:page being created]]
<noinclude>
This template is to be used without parameter while creating a new page in order to avoid people entering a dead way<br/>
:<code><nowiki>{{Wicri warning link}}</nowiki></code>
[[fr:Modèle:Wicri avertissement création lien]]
[[de:Vorlage:Wicri Achtung Link]]
</noinclude>
b4bc86103fbfc1a12b22191cc0b5095fef6e0f77
Template:Wicri multilingual link
10
203
392
2020-12-30T21:10:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:France flag 300 2.PNG|30px|right|60px|link=:fr:{{{fr}}}]]
|This page is a very initial step. <br/>You could use the '''[[Special:WhatLinksHere/{{PAGENAME}}|What links here]]''' facility of the toobox or go to the French one via the [[:fr:{{{fr}}}|FR link]].
|}</div> [[Category:page in creating step]]
<noinclude>
This template must be used to link a page to its corresponding one.<br/>
:<code><nowiki>{{Wicri multilingual link}}</nowiki></code>
[[fr:Modèle:Wicri lien multilingue]]
</noinclude>
3ff5e99bdefbac146942de5db2b894684bb8360d
Template:Wicri working area
10
204
394
2020-12-30T21:10:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:Panneau travaux.png|60px|logo working area]]
|{{{text}}}
|}</div><noinclude>
Syntax:
<pre>
{{Wicri working area
|text = Lorem ipsum...
}}
</pre>
[[Category:Template for Wicri banner]]
[[fr:Modèle Wicri travaux]]
[[de:Vorlage:Wicri Baustelle]]
</noinclude>
8c803203b4b4f4210289e08c78810d5c4161a497
Template:Wicri demo
10
205
396
2020-12-30T21:10:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
Le modèle '''Wicri démonstration''' est un bandeau destiné à identifier une page, dont l'intérêt n'est pas essentielle dans le wiki mais qui a été introduite à des fins de démonstration.
==Sample==
{{Wicri demo
|title = ''This is a specific title''
|text = Lorem ipsum...
}}
{{Begin 2 columns}}
==Parameters==
Ce modèle est appelé avec 2 paramètres.
Syntaxe :
<source lang="html">
{{Wicri demo
|title = ''This is a specific title''
|text = Lorem ipsum...
}}
</source>
Le paramètre titre est facultatif (valeur implicite ''Démonstration Wicri'').
Le paramètre texte est obligatoire.
{{Jump 2 columns}}
==The image==
[[File:Pitagorasteorema.svg|350px|center]]
L'icône retenue pour ce bandeau est le Théorème de Pythagore.
{{End 2 columns}}
[[Category:Template for Wicri banner]]
</noinclude><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:Pitagorasteorema.svg|80px|link=Template:Wicri demo]]
|
:'''{{{title|Wicri demo}}}'''
{{{text}}}
|}</div><noinclude>
[[fr:Modèle:Wicri démonstration]]
</noinclude>
a630f6895595e18b40d521e24b43bb30d0d4de0a
Template:Wicri tutorial
10
206
398
2020-12-30T21:10:34Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
The template '''Wicri tutorial''' is a banner designed to identify a page created or updated in an educational context.
==Sample==
{{Wicri tutorial
|title = ''Title of this text''
|text = Lorem ipsum...
}}
{{Begin 2 columns}}
==Parameters==
This model is called with 2 parameters.
Syntax:
<source lang="html">
{{Wicri tutorial
|title = ''Title of this text''
|text = Lorem ipsum...
}}
</source>
The title parameter is optional (default value ''Page dedicated to educational work'').
The text parameter is required.
{{Jump 2 columns}}
==The painting==
[[Image:Anker Die Dorfschule von 1848 1896.jpg|350px|center]]
The painting chosen for this banner is a painting by [[wicri-europe.fr:Albert Anker|Albert Anker]] dated 1896 and representing a class in Switzerland.
{{End 2 columns}}
[[fr:Modèle:Wicri tp]]
</noinclude><includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:Anker Die Dorfschule von 1848 1896.jpg|link=Template:Wicri tutorial|140px|This painting by Albert Anker illustrates an educational activity on one page]]
|'''{{{title|Page dedicated to educational work}}}'''
:{{{text}}}
|}
</div></includeonly>
14a9f4cd256b11924031f1582b512a9afbc076c8
Template:Wicri partners
10
207
400
2020-12-30T21:10:35Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{|align="center" width="96%" style="padding:1em; border:2px solid #aaa; -moz-border-radius:0.8em; -webkit-border-radius:0.5em; background-color:#FFFFFF" valign="top"|
|-
|colspan="6"|<center><big>'''Main partners of Wicri network'''</big></center>
|-
|align="center" width="16%"|[[Image:LogoDRRTLorraine.jpg|120px]]
|align="center" width="16%"|[[Image:Logo-cnrs_165*50.jpg|120px]]
|align="center" width="16%"|[[Image:LogoNITnew.jpg|120px]]
|align="center" width="16%"|[[Image:Logo UL.png|120px]]
|align="center" width="16%"|[[Image:LogoCRLorraine.jpg|120px]]
|align="center" width="16%"|[[Image:LogoFEDER.jpg|120px]]
|-
|align="center" width="16%"|DRRT Lorraine
|align="center" width="16%"|CNRS
|align="center" width="16%"|NIT
|align="center" width="16%"|Université de Lorraine
|align="center" width="16%"|Conseil régional de Lorraine
|align="center" width="16%"|FEDER
|}
b57423c7615020b8c3d26df180c7885277021ae4
Template:Wicri see French page
10
208
402
2020-12-30T21:10:35Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
{{Wicri see French page}}
==See also==
* corresponding [[:fr:Modèle:Wicri voir page en anglais|''modèle'' in French]].
</noinclude><includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:France flag 300 2.PNG|80px|link=Template:Wicri see French page|70px|French flag]]
|'''{{{title|See corresponding French page}}}'''
:{{{text|The content of the page in French is richer than this one.<br/>[[:fr:{{{fr|{{PAGENAME}}}}}|To access]].
}}}
|}
</div><includeonly>
98cdc72839c8037ffe00bfa0a31c23cdc94193e7
Template:Wicri museum
10
209
404
2020-12-30T21:10:35Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>The '''''Wicri museum''''' template is a banner designed to identify a page (or section) containing information that is no longer relevant but has been kept for "preserving the history of the Wicri network.
==Sample==
{{Wicri museum
|title = ''That is a title''
|text = Lorem ipsum...
}}
{{Begin 2 columns}}
==Parameters==
This template uses 2 parameters.
Syntaxe :
<source lang="html">
{{Wicri museum
|title = ''That is a title''
|text = Lorem ipsum...
}}
</source>
'''title''' is optional (implicit ''Wicri museum'').
'''text''' is mandatory.
{{Jump 2 columns}}
==The icon==
[[File:Museum template.svg.png|350px|center]]
The icon comes from [[Wikimedia Commons]].
{{End 2 columns}}
[[fr:Modèle:Wicri musée]]
[[Category:Wicri message box templates]]
</noinclude><includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:Museum template.svg.png|80px|link=Modèle:Wicri musée|70px|Cette icône symbolyse un musée]]
|'''{{{title|Wicr museumi}}}'''
:{{{text}}}
|}
</div><includeonly>
cfc6336f8700aa90b1ef8f81ecea9f325c095227
Category:Template for Wicri banner
14
210
406
2020-12-30T21:10:36Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Catégorie:Modèle de bandeau Wicri]]
e1db716bd26dc402a56911bd7f8a9b01640e492a
Category:Message box templates
14
211
408
2020-12-30T21:10:36Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Catégorie:Modèle de bandeau]]
72a70f116ec7765a4d6f24036cef5fad373ed1b1
Category:Wicri message box templates
14
212
410
2020-12-30T21:10:36Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Message box templates]]
[[fr:Catégorie:Modèle de bandeau Wicri]]
d05fd0aa80afa184006576bc35498f123e4dc502
Template:H2 Wicri
10
213
412
2020-12-30T21:10:36Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<h2 class="headerWicri">{{{1}}}</h2>
<noinclude>
[[fr:Modèle:H2 Wicri]]
</noinclude>
0ccec51656adf0deb3199b040f6876f09048b335
Template:Wicri link
10
214
414
2020-12-30T21:10:36Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#switch:{{{wiki}}}<!--
-->|Africa=[[wicri-africa.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Africa]]<!--
-->|Agronomy=[[wicri-agronomy.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Agronomy]]<!--
-->|Alsace=[[wicri-als.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Alsace]]<!--
-->|Americas=[[wicri-americas.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Americas]]<!--
-->|Asia=[[wicri-asia.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Asia]]<!--
-->|Base=[[wicri-base.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Base]]<!--
-->|Computer science=[[wicri-computer-science.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Computer science]]<!--
-->|Earth=[[wicri-earth.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Earth]]<!--
-->|Europe=[[wicri-europe.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Europe]]<!--
-->|Forest=[[wicri-forest.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Forest]]<!--
-->|France=[[wicri-france.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/France]]<!--
-->|Germany=[[wicri-germany.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Germany]]<!--
-->|GR=[[wicri-gr.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Greater Region]]<!--
-->|Health=[[wicri-health.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Health]]<!--
-->|Lorraine=[[wicri-lor.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Lorraine]]<!--
-->|Luxembourg=[[wicri-lux.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Luxembourg]]<!--
-->|Man=[[wicri-man.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Man]]<!--
-->|Metadata=[[wicri-meta.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Metadata]]<!--
-->|Music=[[wicri-music.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Music]]<!--
-->|Outils=[[wicri-outils.fr:{{{page|{{FULLPAGENAME}}}}}|Wicri/Outils (fr)]]<!--
-->|Psychology=[[wicri-psycho.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Psychology]]<!--
-->|Ticri=[[ticri.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Ticri]]<!--
-->|Tools=[[wicri-tools.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Tools]]<!--
-->|Water=[[wicri-water.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Water]]<!--
-->|Wicri=[[wicri.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Wicri]]
}}<noinclude>
This template generates a link into Wicri network.
;Syntax:
::<code><nowiki>{{</nowiki>'''Wicri link'''</code>
:::<code>|wiki=''name of target wiki ''</code> - mandatory
:::<code>|page=''name of target page ''</code> - implicit value <nowiki>{{FULLPAGENAME}}</nowiki>
:::<code>}}</code>
;List of available codes for target wikis:
{{Wicri link/List}}
==See also==
* [[:Template:Wicri link fr]]
[[de:Vorlage:Wicri Link]]
[[fr:Modèle:Wicri lien]]
[[pt:Predefinição:Wicri ligação]]
</noinclude>
ceda1c09939bc75ee7ab21671a261a669cc6cb5c
Template:Wicri link fr
10
215
416
2020-12-30T21:10:36Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#switch:{{{wiki}}}<!--
-->|France=[[wicri-france.fr:{{{page|{{FULLPAGENAME}}}}}|Wicri/France]] (fr)<!--
-->}}<noinclude>
This template must be used for a link to a French wiki of Wicri network.
==See also==
* [[*Template:Wicri link]]
</noinclude>
160be97984f2d5da630bca43452ffd8d2c53383a
Template:Wicri link/List
10
216
418
2020-12-30T21:10:36Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{| class="wikitable"
!wiki code
!interwiki code link
!Full name
|-
|Africa
|wicri-africa.en
|{{Wicri link|wiki=Africa}}
|-
|Agronomy
|wicri-agronomy.en
|{{Wicri link|wiki=Agronomy}}
|-
|Alsace
|wicri-als.en
|{{Wicri link|wiki=Alsace}}
|-
|Americas
|wicri-americas.en
|{{Wicri link|wiki=Americas}}
|-
|Asia
|wicri-asia.en
|{{Wicri link|wiki=Asia}}
|-
|Base
|wicri-base.en
|{{Wicri link|wiki=Base}}
|-
|Computer science
|wicri-computer-science.en
|{{Wicri link|wiki=Computer science}}
|-
|Earth
|wicri-earth.en
|{{Wicri link|wiki=Earth}}
|-
|Europe
|wicri-europe.en
|{{Wicri link|wiki=Europe}}
|-
|Forest
|wicri-forest.en
|{{Wicri link|wiki=Forest}}
|-
|France
|wicri-france.en
|{{Wicri link|wiki=France}}
|-
|Germany
|wicri-germany.en
|{{Wicri link|wiki=Germany}}
|-
|GR
|wicri-gr.en
|{{Wicri link|wiki=GR}}
|-
|Health
|wicri-health.en
|{{Wicri link|wiki=Health}}
|-
|Lorraine
|wicri-lor.en
|{{Wicri link|wiki=Lorraine}}
|-
|Luxembourg
|wicri-lux.en
|{{Wicri link|wiki=Luxembourg}}
|-
|Man
|wicri-man.en
|{{Wicri link|wiki=Man}}
|-
|Metadata
|wicri-meta.en
|{{Wicri link|wiki=Metadata}}
|-
|Music
|wicri-music.en
|{{Wicri link|wiki=Music}}
|-
|Outils
|wicri-outils.fr
|{{Wicri link|wiki=Outils|page=Accueil}}
|-
|Psychology
|wicri-psycho.en
|{{Wicri link|wiki=Psychology}}
|-
|Ticri
|ticri.en
|{{Wicri link|wiki=Ticri}}
|-
|Tools
|wicri-tools.en
|{{Wicri link|wiki=Tools}}
|-
|Water
|wicri-water.en
|{{Wicri link|wiki=Water}}
|-
|Wicri
|wicri.en
|{{Wicri link|wiki=Wicri}}
|}
<noinclude>
[[fr:Modèle:Wicri lien/Liste]]
</noinclude>
84c8701e2b41860d01fcc45f64d9f61143cb3717
Template:Wicri link/Link
10
217
420
2020-12-30T21:10:36Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#switch:{{{wiki}}}<!--
-->|Africa=wicri-africa.en<!--
-->|Agronomy=wicri-agronomy.en<!--
-->|Alsace=wicri-als.en<!--
-->|Americas=wicri-americas.en<!--
-->|Asia=wicri-asia.en<!--
-->|Base=wicri-base.en<!--
-->|Computer science=wicri-computer-science.en<!--
-->|Earth=wicri-earth.en<!--
-->|Europe=wicri-europe.en<!--
-->|Forest=wicri-forest.en<!--
-->|France=wicri-france.en<!--
-->|Germany=wicri-germany.en<!--
-->|GR=wicri-gr.en<!--
-->|Health=wicri-health.en<!--
-->|Lorraine=wicri-lor.en<!--
-->|Luxembourg=wicri-lux.en<!--
-->|Man=wicri-man.en<!--
-->|Metadata=wicri-meta.en<!--
-->|Music=wicri-music.en<!--
-->|Psychology=wicri-psycho.en<!--
-->|Ticri=ticri.en<!--
-->|Tools=wicri-tools.en<!--
-->|Water=wicri-water.en<!--
-->|Wicri=wicri.en
}}
e3db604b5372ea38ca4dad7c9c41df5e4b4ed669
Template:Wicri link with icon
10
218
422
2020-12-30T21:10:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>[[{{Wicri link/Link|wiki={{{wiki}}}}}:{{{page}}}|{{{texte|{{{page}}}}}}]] ([[{{Logo Wicri fr}}|12px|link={{Wicri link/Link|wiki={{{wiki}}}}}:{{{page}}}]])</includeonly><noinclude>
This template is used for creatig an interwiki link with an icon.
Sample:
<source lang="html">
* {{Wicri link with icon|wiki=Computer science|page=EDF 2014 Athens}}
</source>
* {{Wicri link with icon|wiki=Computer science|page=EDF 2014 Athens}}
==See also==
* [[Template:Wicri link]]
* [[Template:Wicri link/Link]]
[[Category:Interwiki link]]
[[fr:Modèle:Wicri lien avec icône]]
</noinclude>
1ed91c502bc3d64fec02eb8fef5fc60eeb38a586
Template:Wicri see
10
219
424
2020-12-30T21:10:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template produces :
;In the Wicri network<nowiki>:</nowiki>:
[[fr:Modèle:Wicri voir]]
</noinclude><includeonly>;In the Wicri network<nowiki>:</nowiki>:{{#if:{{{via|}}}<!--
-->|See « {{PAGENAME}} » in the wiki {{Wicri link|wiki={{{via}}}}},<!--
--> with its [[help:Reference page{{!}}reference page]] in <!--
-->{{Wicri link|wiki={{{reference}}}}}.<!--
-->|{{#if:{{{dec|}}}|This is the [[help:Reference page{{!}}reference page]] of « {{PAGENAME}} ». [[Category:Reference page for {{{dec}}}]]|The [[help:Reference page{{!}}reference page]] for « {{PAGENAME}} » is in the wiki {{Wicri link|wiki={{{reference}}}}}.}}<!--
-->}}<includeonly>
ae8672ddbc0587fc215d1c70dd0f451d7e01db67
Template:Wicri moved page
10
220
426
2020-12-30T21:10:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:Nuvola apps forward arrow.png|60px|logo lien externe]]
|This page has been moved into {{Wicri link|wiki={{{wiki}}}|page={{{page}}}}}
|}</div>
<noinclude>
This template must be used for marking a page that has been moced into another wiki.<br/>
:<code><nowiki>{{Wicri moved page}}</nowiki></code>
:<code><nowiki> |page =</nowiki></code> ''page name in target wiki''
:<code><nowiki> |wiki =</nowiki></code> ''target wiki code (see below)''
:<code><nowiki>}}</nowiki></code>
;Available codes:
{{Wicri link/List}}
[[fr:Modèle:Wicri page transférée]]
</noinclude>
5e49ba7035bede93775cdf9456f35ff7e58c54cb
Template:Wicri link to Wikipedia
10
221
428
2020-12-30T21:10:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:Logo lien vers Wikipédia.png|100px|logo lien externe]]
|This page has just been created. Its content is limited to an external link to Wikipedia. <br/>For more information, please, consult the tab '''[[Special:Special:WhatLinksHere//{{PAGENAME}}|What links here]]''' (side bar).
|}
</div>
==See also==
{{#if:{{{ref|}}}|
{{Wicri voir|référence={{{ref}}}}}}}
;Liens externes:
* Wikipedia : [[wikipedia:{{PAGENAME}}|{{PAGENAME}}]]
[[Category : page in creation step]]
<noinclude>
Ce bandeau doit être utilisé pour signaler une création de page pour laquelle le lien externe vers Wikipédia est le seul élément significatif.
Syntaxe :
<pre>
{{Wicri avertissement lien externe}}
</pre>
==Voir aussi==
* [[Modèle:Wicri avertissement lien externe]],
* [[Modèle:Lien Wikipédia]]
[[Catégorie:Modèle de bandeau Wicri]]
[[fr:Modèle:Wicri avertissement lien Wikipédia]]
</noinclude>
a481fa2508d845d524fdedef4f7cd1f4bea55489
Template:To French box
10
222
430
2020-12-30T21:10:37Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Begin box|yellow|back=#E8E5FF}}
[[Image:France flag 300 2.PNG|50px|right|link={{{link|fr:{{PAGENAME}}}}]]
{{{text}}}
{{End box}}
<noinclude>
</noinclude>
8a659b7d02225946999ec831cdc97fd0ffd87411
Template:Logo Wicri Wicri en
10
129
244
2020-12-30T22:18:51Z
Jacques Ducloy
1
Created page with "File:LogoWicriWicri2021En.png<noinclude> [[File:LogoWicriWicri2021En.png|100px]] </noinclude>"
wikitext
text/x-wiki
File:LogoWicriWicri2021En.png<noinclude>
[[File:LogoWicriWicri2021En.png|100px]]
</noinclude>
77b47b8b4c8042e07a33e908ff90acb85d09521c
Template:Logo Wicri Wicri en, right small
10
198
382
2020-12-30T22:33:24Z
Jacques Ducloy
1
wikitext
text/x-wiki
[[Image:LogoWicriWicri2021En.png|70px|right|link=wicri-wicri.en:Main Page]]
aa70af20764f35a9d6340abe71736a31e81b4a12
Template:Wicri box
10
193
372
2020-12-30T22:34:14Z
Jacques Ducloy
1
wikitext
text/x-wiki
{{Begin box|yellow|back=#E8E5FF}}
{|width=100%
|style="background-color: white;"|{{Logo Wicri Wicri en, right small}}
{{{text}}}
|}{{End box}}
<noinclude>
[[fr:Modèle:Cadre Wicri]]
</noinclude>
cec70eb61af2251c39703233bab21952f2ab7dff
Template:Logo Wicri Home Demo.Istex
10
138
262
2020-12-31T07:33:05Z
Jacques Ducloy
1
Created page with "File:LogoDemoIstexHome2020.png<noinclude> [[File:LogoDemoIstexHome2020.png|100px]] </noinclude>"
wikitext
text/x-wiki
File:LogoDemoIstexHome2020.png<noinclude>
[[File:LogoDemoIstexHome2020.png|100px]]
</noinclude>
53134c8f65f37b5e39333b6c22309f62a5085d10
Main Page
0
1
23
3
2021-01-01T20:48:45Z
Jacques Ducloy
1
wikitext
text/x-wiki
<strong>MediaWiki has been installed.</strong>
[[fr:Accueil]]
330fee373f7e858c6406cba4b3b19706015bb738
Template:Logo Wicri Pool Demo.Istex
10
141
268
2021-01-02T14:09:26Z
Jacques Ducloy
1
wikitext
text/x-wiki
File:LogoWicriPoolDemoIstex2020.png<noinclude>
[[File:LogoWicriPoolDemoIstex2020.png|100px]]
</noinclude>
2a283d238cea8dd3cab1d190043d9af7e51f0612
Topics index
0
24
34
2021-01-02T15:14:23Z
Jacques Ducloy
1
Created page with "==Geographical access== * [[Africa]] * [[Americas]] * [[Asia]] * [[Europe]] > [[France]] * [[Oceania]] ==Topics acces with [[EuroVoc]]== {| |- |{{EuroVoc domains - list 1.2}}..."
wikitext
text/x-wiki
==Geographical access==
* [[Africa]]
* [[Americas]]
* [[Asia]]
* [[Europe]] > [[France]]
* [[Oceania]]
==Topics acces with [[EuroVoc]]==
{|
|-
|{{EuroVoc domains - list 1.2}}
|{{Copyright EuroVoc}}
|}
==Categories==
See: [[:Category:Contents]]
* [[archives]]
[[fr:Index thématique]]
160f70a78e081a28d1b58f2058cb1d4303e6f3d1
MediaWiki:Edittools
8
22
30
2021-01-02T15:16:26Z
Jacques Ducloy
1
Created page with "<!-- Text here will be shown below edit and upload forms. --> <!-- Le texte ci-dessous sera visible en-dessous de la fenêtre d'édition. Attention : pour insérer un lien com..."
wikitext
text/x-wiki
<!-- Text here will be shown below edit and upload forms. -->
<!-- Le texte ci-dessous sera visible en-dessous de la fenêtre d'édition.
Attention : pour insérer un lien comportant un espace (ex : « + ») les espaces doivent être des "vrais" insécables (pas des   ou ). On peut aussi utiliser le <nowiki> </nowiki> -->
<div class="plainlinks" style="margin-top:1px;border-width:1px;border-style:solid;border-color:#aaaaaa;padding:5px;">
Special characters:
<charinsert> æ Æ </charinsert>
<charinsert> à À â Â ä Ä </charinsert> ·
<charinsert> ç Ç </charinsert> ·
<charinsert> € é É è È ê Ê ë Ë </charinsert> ·
<charinsert> î Î ï Ï </charinsert> ·
<charinsert> œ Œ </charinsert>
<charinsert> ô Ô ö Ö </charinsert> ·
<charinsert> ù Ù û Û ü Ü </charinsert> ·
<charinsert> ÿ Ÿ </charinsert> ·
<charinsert> <nowiki>« </nowiki>+<nowiki> »</nowiki> <nowiki>{{</nowiki>+<nowiki>}}</nowiki> <nowiki>{{</nowiki>+<nowiki>|}}</nowiki> [[+]] [[+|]] [+] “+”</charinsert> ·
<charinsert> — – • ’ | … ~ # @ </charinsert>
<charinsert> ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁰ ½ </charinsert>
Wiki syntax:
<charinsert> <nowiki>[[Catégorie:</nowiki>+<nowiki>]]</nowiki></charinsert>
<charinsert><nowiki>[[Image:</nowiki>+<nowiki>]]</nowiki></charinsert>
<charinsert><nowiki>#REDIRECT[[</nowiki>+<nowiki>]]</nowiki></charinsert>
<charinsert><nowiki><ref></nowiki>+<nowiki></ref></nowiki></charinsert>
<charinsert><references/></charinsert>
<charinsert><nowiki>{{PAGENAME}}</nowiki></charinsert>
</div>
c00f7b92a56d4ea1a3cfb043d6f3bb6660dedcd7
MediaWiki:Helppage
8
23
32
2021-01-02T15:18:36Z
Jacques Ducloy
1
Created page with "Help:Main Page"
wikitext
text/x-wiki
Help:Main Page
2a24a7688116ef9b3979d91295a3be7d85054160
Semantic Web
0
25
36
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
The '''Semantic Web''' provides a common framework that allows data to be shared and reused across application, enterprise, and community boundaries. It is a collaborative effort led by W3C with participation from a large number of researchers and industrial partners. It is based on the Resource Description Framework (RDF)<ref>[http://www.w3.org/2001/sw/ W3C Semantic Web Activity]</ref>.
==Wicri and Semantic Web==
Wicri is using Semantic Web technologies.
Specifically, a set of models are directly inherited from the work of [[Semantic Web (wiki) |SemanticWeb.org]], the wiki of related Worging Groups.
==See also==
===Notes===
<references/>
[[fr:Semantic Web]]
e8222f06f04a57cb39bc766694d0f9a4f33b76b8
EuroVoc
0
26
38
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
'''EuroVoc''' is a multilingual, multidisciplinary thesaurus covering the activities of the [[European Union|EU]]
==See also==
===On this wiki===
See:
* Category [[:Category:EuroVoc|EuroVoc]]
===Interwiki links===
See Eurovoc on wikis:
* [[wicri-europe.en:EuroVoc|Wicri/Europe]].
[[fr:Eurovoc]]
8f79afdb3c4138ec65c2d6943a6351e4fa7d7c39
Category:Contents
14
27
40
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This category is the root of catagories system in Wicri.
This way of doing is very close to Wikipedia's one.
[[fr:Catégorie:Accueil]]
eafac5c1fda5b08091130cf82684c21973e600ba
Category:Articles
14
28
42
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Contents]]
[[fr:Catégorie:type d'article]]
e0fe0f2ea5aaddc529126332b83aa49319b82eac
Category:Template imported from Wikipedia
14
29
44
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This category must be used for indexing a template imported from Wikipedia.
[[Category:Import Wikipedia]]
[[Category:Imported template]]
[[fr:Catégorie:Modèle importé de Wikipédia]]
a233ec678d0659def2f973b11832a9a82e913b80
Category:Import Wikipedia
14
30
46
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Wikipedia]]
4d8fec0707c0eb49cdbd83ba2e2f50bb2d636f27
Category:Imported template
14
31
48
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Catégorie:Modèle importé]]
2195f6ba615978e1d0c841c61b2c74cc20a9dc71
Category:File imported from Wikipedia
14
32
50
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Import Wikipedia]]
185ea503f70d79a7f9a3ca4d63dcdbc97cc369ee
Template:Geographical access
10
33
52
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Main Page]] > [[Topics index|Topics]] > [[Geographic access|Geographic]]
6113d8f2be2196ba1c13444c99f1dba3cffa98fa
Category:Continent
14
34
54
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Geography]]
[[fr:Catégorie:Continent]]
c83f4c807012586928d0d5e63e0ae2a9f9665840
Asia
0
35
56
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Asia]]</small><hr/>
==Countries of Asia==
{{Countries of Asia}}
==See also==
===Pages & articles===
* Categories: [[:Category:Asia|Asia]]
===Interwiki links===
See Asia on:
* [[wicri.en:Asia|Wicri/Wicri]]
[[fr:Asie]]
9a64115509b3f754987b8ce8133eeea25ae75d1c
Category:Asia
14
36
58
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
==Interwiki links==
See Category Asia on: [[wicri.en:Category:Asia|Wicri/Wicri]]
[[Category:Continent]]
[[fr:Catégorie:Asie]]
0d1c280c24918f3d3d70c138ef3cddfbdaf7a4ba
Africa
0
37
60
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Africa]]</small><hr/>
==Countries of Africa==
{{Countries of Africa}}
==See also==
===Pages & articles===
* Categories: [[:Category:Africa|Africa]]
===Interwiki links===
See Africa on:
* [[wicri.en:Africa|Wicri/Wicri]]
[[fr:Afrique]]
1f1672a466a5e7728d5067638851a46c4327aa47
Category:Africa
14
38
62
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Continent]]
[[fr:Catégorie:Afrique]]
0ccf15b1219b836ef7ad734bc6f53377ec3c58ca
Americas
0
39
64
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Americas]]</small><hr/>
==Countries of the Americas==
{{Countries of the Americas}}
==See also==
===Pages & articles===
* Categories: [[:Category:Americas|Americas]]
===Interwiki links===
See Americas on:
* [[wicri.en:Americas|Wicri/Wicri]]
[[fr:Amérique]]
2cac227a50d7a46606e165f1447b96bce527cc08
Category:Americas
14
40
66
2021-01-02T17:02:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Continent]]
[[fr:Catégorie:Amérique]]
07ae8c0eedb2e518f297fcf3d56924d39ee9e901
Oceania
0
41
68
2021-01-02T17:02:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Oceania]]</small><hr/>
==Countries and territories of Oceania==
{{Countries and territories of Oceania}}
==See also==
===Pages & articles===
* Categories: [[:Category:Oceania|Oceania]]
===Interwiki links===
See Oceania on:
* [[wicri.en:Oceania|Wicri/Wicri]]
[[fr:Océanie]]
f56345e8989b20e800d9fff26f21843bc94f422c
Category:Oceania
14
42
70
2021-01-02T17:02:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Continent]]
[[fr:Catégorie:Océanie]]
9376b3578c5390d74fbbd700f53d5cb90c70b00b
Europe
0
43
72
2021-01-02T17:02:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Europe]]</small><hr/>
==Countries of Europe==
{{Countries of Europe}}
==See also==
===Pages & articles===
* Categories: [[:Category:Europe|Europe]]
===Interwiki links===
See Europe on:
* [[wicri.en:Europe|Wicri/Wicri]]
[[fr:Europe]]
b4185d443a78b21a470af61079860d606efaeeeb
Category:Europe
14
44
74
2021-01-02T17:02:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Continent]]
[[fr:Catégorie:Europe]]
9b2e7290cce0bed9ba79d46f34049f547e2b48ae
France
0
45
76
2021-01-02T17:02:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Europe]] > [[France]]</small><hr/>
==Regions of France==
{{Regions of France}}
==See also==
===Pages & articles===
* Categories: [[:Category:France|France]]
===Interwiki links===
France on : [[wicri.fr:France|Wicri/Wicri]]
[[fr:France]]
b2876ba9a04039d9eb7e7d4e47d27c42a262c89a
Category:France
14
46
78
2021-01-02T17:02:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Europe]]
[[fr:Catégorie:France]]
c8ed0c2f611c9e237ecd865128e1c42332aff8b1
Eurovoc
0
47
80
2021-01-02T17:02:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[EuroVoc]]
d2e59208055016d9b7f3730d1535452ab277fffd
Template:Catmore
10
223
432
2021-01-02T17:07:42Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Cat more]]
a60e44ad84056bec0059d60d343a84a4c49fe21b
Template:Catmore/doc
10
224
434
2021-01-02T17:07:42Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Cat more/doc]]
ac3a469cfd9f040f4650e9976357aaa2c8b63d39
Template:Cat more
10
225
436
2021-01-02T17:07:43Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Hatnote|extraclasses=relarticle mainarticle|For more information, see '''[[{{{1<includeonly>|{{PAGENAME}}</includeonly>}}}{{#if:{{{l1|}}}|{{!}}{{{l1}}}}}]]'''{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }} '''[[{{{2}}}{{#if:{{{l2|}}}|{{!}}{{{l2}}}}}]]'''{{#if:{{{3|}}}|{{#if:{{{4|}}}|, | and }} '''[[{{{3}}}{{#if:{{{l3|}}}|{{!}}{{{l3}}}}}]]'''{{#if:{{{4|}}}|{{#if:{{{5|}}}|, | and }} '''[[{{{4}}}{{#if:{{{l4|}}}|{{!}}{{{l4}}}}}]]'''{{#if:{{{5|}}}| and '''[[{{{5}}}{{#if:{{{l5|}}}|{{!}}{{{l5}}}}}]]'''}}}}}}}}.{{#if:{{{6|}}}|<br />— '''Error: [[Template:Cat more|Too many links specified (maximum is 5)]]'''}}}}<noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}
</noinclude>
2b62f8add673a638908b441038b792760cd2b27f
Template:Cat more/doc
10
226
438
2021-01-02T17:07:43Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
==Usage==
<code><nowiki>{{cat more|WP:WikiProject}}</nowiki></code> produces: {{cat more|WP:WikiProject}}
<code><nowiki>{{cat more|WP:WikiProject|l1=WikiProject}}</nowiki></code> produces: {{cat more|WP:WikiProject|l1=WikiProject}}
==Multiple link targets==
* <code><nowiki>{{cat more|1 BC}}</nowiki></code> produces: {{cat more|1 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC}}
* <code><nowiki>{{cat more|1 BC|2 BC}}</nowiki></code> produces: {{cat more|1 BC|2 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC}}
* <code><nowiki>{{cat more|1 BC|2 BC|3 BC}}</nowiki></code> produces: {{cat more|1 BC|2 BC|3 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC}}
* <code><nowiki>{{cat more|1 BC|2 BC|3 BC|4 BC}}</nowiki></code> produces: {{cat more|1 BC|2 BC|3 BC|4 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC|Talk:4 BC|l4=4 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC|Talk:4 BC|l4=4 BC}}
* <code><nowiki>{{cat more|1 BC|2 BC|3 BC|4 BC|5 BC}}</nowiki></code> produces: {{cat more|1 BC|2 BC|3 BC|4 BC|5 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC|Talk:4 BC|l4=4 BC|Talk:5 BC|l5=5 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC|Talk:4 BC|l4=4 BC|Talk:5 BC|l5=5 BC}}
== TemplateData ==
{{TemplateDataHeader}}
<templatedata>
{
"description": "This templates adds a 'For more information, see ...' statement with a maximum of 5 linked Wiki pages. Each link can be labelled with a user-defined new text. If no label is defined, the link will display with its original page name.",
"params": {
"1": {
"label": "first link",
"type": "string",
"required": true,
"description": "First link to a Wiki page, formatted as 'internal' Wiki-link, f.e. 'WP:WikiProject' or 'articlename'"
},
"l1": {
"label": "label first link",
"type": "string",
"description": "Format: l1=labeltext. A user-defined label for the first Wiki-link, f.e. 'WP:WikiProject' as first parameter and 'l1=Project' would display 'Project' but link to 'WP:WikiProject'"
},
"2": {
"label": "second link",
"type": "string",
"description": "Second link to another Wiki page, same formatting as the first link. Note: 3 more links 3,4,5 and (optional) labels l3,l4,l5 can be added manually"
},
"l2": {
"label": "label second link",
"type": "string",
"description": "Format: l2=labeltext. A user-defined label for the second Wiki-link. Note: 3 more links 3,4,5 and (optional) labels l3,l4,l5 can be added manually"
}
}
}
</templatedata>
==See also==
* {{tl|Cat main}} "The main article for this category is..."
* {{tl|Category explanation|colourless green ideas}} "This category is for ..."
* {{tl|Category main section}}
* [[WP:HAT]] all hatnotes, documentation
<includeonly>
<!--PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
[[Category:Hatnote templates for category pages]]
</includeonly>
dd178f33a5941b586b00fdcacbb8755140c20eea
Template:Hatnote
10
227
440
2021-01-02T17:07:43Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
4a1d1028d07c9056022807a96051e1c82cf2a1c7
Module:Hatnote
828
228
442
2021-01-02T17:07:44Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Module:Hatnote --
-- --
-- This module produces hatnote links and links to related articles. It --
-- implements the {{hatnote}} and {{format link}} meta-templates and includes --
-- helper functions for other Lua hatnote modules. --
--------------------------------------------------------------------------------
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local mArguments -- lazily initialise [[Module:Arguments]]
local yesno -- lazily initialise [[Module:Yesno]]
local p = {}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getArgs(frame)
-- Fetches the arguments from the parent frame. Whitespace is trimmed and
-- blanks are removed.
mArguments = require('Module:Arguments')
return mArguments.getArgs(frame, {parentOnly = true})
end
local function removeInitialColon(s)
-- Removes the initial colon from a string, if present.
return s:match('^:?(.*)')
end
function p.findNamespaceId(link, removeColon)
-- Finds the namespace id (namespace number) of a link or a pagename. This
-- function will not work if the link is enclosed in double brackets. Colons
-- are trimmed from the start of the link by default. To skip colon
-- trimming, set the removeColon parameter to false.
checkType('findNamespaceId', 1, link, 'string')
checkType('findNamespaceId', 2, removeColon, 'boolean', true)
if removeColon ~= false then
link = removeInitialColon(link)
end
local namespace = link:match('^(.-):')
if namespace then
local nsTable = mw.site.namespaces[namespace]
if nsTable then
return nsTable.id
end
end
return 0
end
function p.formatPages(...)
-- Formats a list of pages using formatLink and returns it as an array. Nil
-- values are not allowed.
local pages = {...}
local ret = {}
for i, page in ipairs(pages) do
ret[i] = p._formatLink(page)
end
return ret
end
function p.formatPageTables(...)
-- Takes a list of page/display tables and returns it as a list of
-- formatted links. Nil values are not allowed.
local pages = {...}
local links = {}
for i, t in ipairs(pages) do
checkType('formatPageTables', i, t, 'table')
local link = t[1]
local display = t[2]
links[i] = p._formatLink(link, display)
end
return links
end
function p.makeWikitextError(msg, helpLink, addTrackingCategory, title)
-- Formats an error message to be returned to wikitext. If
-- addTrackingCategory is not false after being returned from
-- [[Module:Yesno]], and if we are not on a talk page, a tracking category
-- is added.
checkType('makeWikitextError', 1, msg, 'string')
checkType('makeWikitextError', 2, helpLink, 'string', true)
yesno = require('Module:Yesno')
title = title or mw.title.getCurrentTitle()
-- Make the help link text.
local helpText
if helpLink then
helpText = ' ([[' .. helpLink .. '|help]])'
else
helpText = ''
end
-- Make the category text.
local category
if not title.isTalkPage and yesno(addTrackingCategory) ~= false then
category = 'Hatnote templates with errors'
category = string.format(
'[[%s:%s]]',
mw.site.namespaces[14].name,
category
)
else
category = ''
end
return string.format(
'<strong class="error">Error: %s%s.</strong>%s',
msg,
helpText,
category
)
end
function p.disambiguate(page, disambiguator)
-- Formats a page title with a disambiguation parenthetical,
-- i.e. "Example" → "Example (disambiguation)".
checkType('disambiguate', 1, page, 'string')
checkType('disambiguate', 2, disambiguator, 'string', true)
disambiguator = disambiguator or 'disambiguation'
return string.format('%s (%s)', page, disambiguator)
end
--------------------------------------------------------------------------------
-- Format link
--
-- Makes a wikilink from the given link and display values. Links are escaped
-- with colons if necessary, and links to sections are detected and displayed
-- with " § " as a separator rather than the standard MediaWiki "#". Used in
-- the {{format hatnote link}} template.
--------------------------------------------------------------------------------
function p.formatLink(frame)
local args = getArgs(frame)
local link = args[1]
local display = args[2]
if not link then
return p.makeWikitextError(
'no link specified',
'Template:Format hatnote link#Errors',
args.category
)
end
return p._formatLink(link, display)
end
function p._formatLink(link, display)
checkType('_formatLink', 1, link, 'string')
checkType('_formatLink', 2, display, 'string', true)
-- Remove the initial colon for links where it was specified manually.
link = removeInitialColon(link)
-- Find whether a faux display value has been added with the {{!}} magic
-- word.
if not display then
local prePipe, postPipe = link:match('^(.-)|(.*)$')
link = prePipe or link
display = postPipe
end
-- Find the display value.
if not display then
local page, section = link:match('^(.-)#(.*)$')
if page then
display = page .. ' § ' .. section
end
end
-- Assemble the link.
if display then
return string.format(
'[[:%s|%s]]',
string.gsub(link, '|(.*)$', ''), --display overwrites manual piping
display
)
else
return string.format('[[:%s]]', link)
end
end
--------------------------------------------------------------------------------
-- Hatnote
--
-- Produces standard hatnote text. Implements the {{hatnote}} template.
--------------------------------------------------------------------------------
function p.hatnote(frame)
local args = getArgs(frame)
local s = args[1]
local options = {}
if not s then
return p.makeWikitextError(
'no text specified',
'Template:Hatnote#Errors',
args.category
)
end
options.extraclasses = args.extraclasses
options.selfref = args.selfref
return p._hatnote(s, options)
end
function p._hatnote(s, options)
checkType('_hatnote', 1, s, 'string')
checkType('_hatnote', 2, options, 'table', true)
options = options or {}
local classes = {'hatnote', 'navigation-not-searchable'}
local extraclasses = options.extraclasses
local selfref = options.selfref
if type(extraclasses) == 'string' then
classes[#classes + 1] = extraclasses
end
if selfref then
classes[#classes + 1] = 'selfref'
end
return string.format(
'<div role="note" class="%s">%s</div>',
table.concat(classes, ' '),
s
)
end
return p
68269290db95dca1fb485b69372e2b5a90ed79ad
Template:Category navbox
10
229
444
2021-01-02T17:07:45Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
|name = Category box
|title = {{{title}}}
|list1= {{{text}}}
|list1style=text-align:left;
|titlestyle = background:#FFeeFF;
|state=collapsed
}}
<noinclude>
[[fr:Modèle:Boîte déroulante catégorie]]
</noinclude>
dd77934891b229531c2e1780316940922e0617e7
Template:Disambiguation
10
230
446
2021-01-02T17:07:45Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Dmbox
| type = disambig
| text = This [[Help:Disambiguation|disambiguation]] page lists {{{type|{{#if:{{{ignore_parentheses|}}}||{{Title disambig text|{{trim|{{Str rep|{{{page-title|{{FULLPAGENAME}}}}}|(disambiguation)|}}}}}}}}}}} <includeonly>{{template other|templates|</includeonly>articles<includeonly>}}</includeonly> associated with the title '''{{#if:{{{ignore_parentheses|}}}|{{{page-title|{{FULLPAGENAME}}}}}|{{title without disambig|{{{page-title|{{FULLPAGENAME}}}}}}}}}'''. <br /> <small>If an [{{fullurl:Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.</small>
| nocat = {{{nocat|}}} <!--So "nocat=true" works-->
}}{{main other
| demospace = {{{demospace|}}}
| [[Category:Disambiguation pages]]{{disambiguation/cat|{{{1|}}}}}{{disambiguation/cat|{{{2|}}}}}{{disambiguation/cat|{{{3|}}}}}{{disambiguation/cat|{{{4|}}}}}{{disambiguation/cat|{{{5|}}}}}{{disambiguation/cat|{{{6|}}}}}{{disambiguation/cat|{{{7|}}}}}{{disambiguation/cat|{{{8|}}}}}{{disambiguation/cat|{{{9|}}}}}{{disambiguation/cat|{{{10|}}}}}{{#if:{{Title disambig text|{{trim|{{Str rep|{{FULLPAGENAME}}|(disambiguation)|}}}}}}|[[Category:Disambiguation pages with (qualified) titles]]|}}
| <!-- Don't categorise when not in main (article) space. However, note that {{Dmbox}} categorises pages into Category:All disambiguation pages and Category:All article disambiguation pages-->
}}<includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{TALKPAGENAME}}}}|yes|[[Category:Unsynchronized disambiguation talk pages]]}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! -->
</noinclude>
131d48a411c884b21b0b159cb5dce2c157328b66
Template:Disambiguation/doc
10
231
448
2021-01-02T17:07:45Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
{{High-risk| 173000+ }}
{{Dabnav}}
{{shortcut|Template:Dab|Template:Disambig}}
This is the {{tl|Disambiguation}} template.
'''<big>Important: Please do not [[Wikipedia:Substitution|subst:]] this template.</big>'''
This is a general-purpose template, to be placed at the bottom of any article that exists to help readers find other articles with the same or similar names. This concept is called ''[[Wikipedia:Disambiguation|disambiguation]]'' and is used with many common words, such as ''[[Cross (disambiguation)|cross]]'', ''[[Life (disambiguation)|life]]'' and ''[[work]]''. This template automatically adds articles to the [[:Category:Disambiguation pages]].
== Page title fixes ==
This template will automatically detect incomplete disambiguation present in page titles. If the title includes anything other than (disambiguation) in parentheses, it is assumed to be the article type. For example, this template on the page [[1st Division (France)]] would produce the text "This disambiguation page lists France articles associated with the title '''1st Division'''". If the page titles contains parentheses that are not used for disambiguation (such as [[Everything You Always Wanted to Know About Sex* (*But Were Afraid to Ask)]]), set {{para|ignore_parentheses|yes}}. If you wish to manually specify the article type, use the {{para|type}} parameter.
==Variant templates==
===Disambiguation===
{{Category see also|Disambiguation message boxes}}
For disambiguation pages requiring cleanup, use {{tl|Disambiguation cleanup}}.
More specific and alternative templates exist for disambiguation pages whose entries are limited exclusively to items of a particular type:
* {{tl|Airport disambiguation}} for airports – [[:Category:Airport disambiguation]]
* {{tl|Biology disambiguation}} – [[:Category:Biology disambiguation pages]]
* {{tl|Call sign disambiguation}} – [[:Category:Broadcast call sign disambiguation pages]]
* {{tl|Caselaw disambiguation}} – [[:Category:Case law disambiguation pages]]
* {{tl|Chinese title disambiguation}} – [[:Category:Disambiguation pages with Chinese character titles]]
* {{tl|Genus disambiguation}} – [[:Category:Genus disambiguation pages]]
* {{tl|Geodis}} for place names – [[:Category:Place name disambiguation pages]]
* {{tl|Hndis}} for people's names – [[:Category:Human name disambiguation pages]]
** {{tl|Hndis-cleanup}}
* {{tl|Hospital disambiguation}} for hospitals or medical centers – [[:Category:Hospital disambiguation pages]]
* {{tl|Letter disambiguation}} – adds a Latin letter navbox, does not auto-categorize
* {{tl|Letter-NumberCombDisambig}} – [[:Category:Letter-number combination disambiguation pages]]
* {{tl|Mathematical disambiguation}} for mathematics titles – [[:Category:Mathematics disambiguation pages]]
* {{tl|Mil-unit-dis}} – [[:Category:Military units and formations disambiguation pages]]
* {{tl|Numberdis}} for numbers – [[:Category:Lists of ambiguous numbers]]
* {{tl|Phonetics disambiguation}} – [[:Category:Linguistics disambiguation pages]]
* {{tl|Road disambiguation}} for roads – [[:Category:Road disambiguation pages]]
* {{tl|School disambiguation}} for educational institutions – [[:Category:Educational institution disambiguation pages]]
* {{tl|Species Latin name disambiguation}} – [[:Category:Latin name disambiguation pages]]
* {{tl|Wikipedia disambiguation}} for ambiguous titles and shortcuts in the Wikipedia namespace – [[:Category:Wikipedia disambiguation pages]]
'''Note:''' A set index article (SIA) is ''not'' a disambiguation page; it is a list article about a set of items ''of a specific type'' that ''also'' share the same (or similar) name. [[Wikipedia:Set index articles]] includes templates for SIAs.
== Parameters ==
Sometimes there isn't a specific disambiguation template (see list above) that fits for a page, or the page has items in more than one of the above classes. Then use {{tl|Disambiguation}} but with one or more parameters telling which categories to use. Up to ten parameters can be fed, and in any order, for example:
:{{tlc|Disambiguation|school|hospital}}
Only add a parameter from this list if the disambiguation page has several items of that type:
* {{tlx|Disambiguation|human name}}: for [[:Category:Human name disambiguation pages]] (note that you must instead add the category separately if it needs a different [[WP:SORTKEY|sort key]])
* {{tlx|Disambiguation|bird}}: for [[:Category:Bird common name disambiguation pages]]
* {{tlx|Disambiguation|church}}: for [[:Category:Church building disambiguation pages]]
* {{tlx|Disambiguation|county}}: for [[:Category:County name disambiguation pages]]
** {{tlx|Disambiguation|uscounty}}: for [[:Category:United States county disambiguation pages]]
* {{tlx|Disambiguation|fish}}: for [[:Category:Fish common name disambiguation pages]]
* {{tlx|Disambiguation|genus}}: for [[:Category:Genus disambiguation pages]]
* {{tlx|Disambiguation|geo}}: for [[:Category:Place name disambiguation pages]]
* {{tlx|Disambiguation|hospital}}: for [[:Category:Hospital disambiguation pages]]
* {{tlx|Disambiguation|latin}}: for [[:Category:Latin name disambiguation pages]]
* {{tlx|Disambiguation|letter number}}: for [[:Category:Letter-number combination disambiguation pages]]
* {{tlx|Disambiguation|math}}: for [[:Category:Mathematical disambiguation]]
* {{tlx|Disambiguation|number}}: for [[:Category:Lists of ambiguous numbers]]
* {{tlx|Disambiguation|plant}}: for [[:Category:Plant common name disambiguation pages]]
* {{tlx|Disambiguation|political}}: for [[:Category:Political party disambiguation pages]]
* {{tlx|Disambiguation|road}}: for [[:Category:Road disambiguation pages]]
* {{tlx|Disambiguation|school}}: for [[:Category:Educational institution disambiguation pages]]
* {{tlx|Disambiguation|ship}}: for [[:Category:Ship disambiguation pages]]
* {{tlx|Disambiguation|township}}: for [[:Category:Township name disambiguation pages]]
These can be added if there are one or more elements in the list (per their category descriptions):
* {{tlx|Disambiguation|airport}}: for [[:Category:Airport disambiguation]]
* {{tlx|Disambiguation|callsign}}: for [[:Category:Broadcast call sign disambiguation pages]]
These can be added even if there's only one element in the list, since these types are not actually ambiguous:
* {{tlx|Disambiguation|given name}}: [[:Category:Disambiguation pages with given-name-holder lists]]
* {{tlx|Disambiguation|surname}}: for [[:Category:Disambiguation pages with surname-holder lists]]
This parameter reflects the title, not the contents:
* {{tlx|Disambiguation|chinese}}: for [[:Category:Disambiguation pages with Chinese character titles]]
And this parameter reflects a maintenance need, not the contents:
* {{tlx|Disambiguation|split}}: for [[:Category:Disambiguation pages in need of being split]]
Note that {{tl|Disambiguation}} might not have parameters for all subcategories of [[:Category:Disambiguation pages]], then you have to manually add the category to the disambig page.
=== Nocat ===
If categorization is not needed on pages that are not in [[WP:MAINSPACE|mainspace]], then the "nocat" parameter may be set equal to "true" or "yes" as follows:
* {{tlx|Disambiguation|nocat{{=}}true}}
* {{tlx|Disambiguation|nocat{{=}}yes}}
== Redirects ==
The following redirect to this template:
* {{tl|Disambig}}
* {{tl|Dab}}
* {{tl|DAB}}
* {{tl|Disamb}}
== Technical details ==
Internally, this template uses {{tl|Dmbox}}. That template categorises pages into [[:Category:All disambiguation pages]] and [[:Category:All article disambiguation pages]].
This template also uses {{tl|Disambiguation/cat}} to handle the categorisation parameters, such as "hospital" and "school".
== Template use ==
Place template at the foot of the disambiguation page after all of the disambiguation content but before any categories (see below) or interlanguage links, as per the [[WP:DCAT]] guideline.
==TemplateData==
{{TemplateDataHeader}}
<templatedata>
{
"description": "Place at the bottom of Disambiguation pages.",
"params": {
"1": {
"label": "1",
"description": "Used to put the page in a category. Can be one of 'split' (dab pages in need of being split); 'clean up','clean-up','cleanup' (dabs in need of cleanup); 'airports','airport' (airport dabs); 'call sign','call signs','broadcast call sign','broadcast call signs','callsign' (broadcast call sign dabs); 'chinese char','chinese-char','chinesechar','chinese character','chinese' (chinese character dabs); 'churches','church building','church buildings','church' (church building dabs), 'fish' (fish dabs); 'geodis','geography','geographical','place name','place names','place','places','geo' (Place names); 'county'; 'uscounty' (United States county dabs); 'township' (Township name dabs); 'name','names','human name','human names','hn','hndis' (Human name dabs); 'surnames','surname' (surname dabs); 'given names','given name' (given-name dabs), 'hospital name','hospital names','hospitals','hospital' (hospital dabs); 'latin name','latin names','latin' (Latin name dabs); 'letter-number','letter number' (Letter-number combination dabs); 'mathdab','maths','mathematics','mathematical','math' (mathematical dabs); 'numberdis','numbers','ambiguous number','ambiguous numbers','number' (Lists of ambiguous numbers), 'plants','plant' (Plant common name dabs); 'roaddis','roads','road' (road dabs), 'schooldis','schools','educational institution','educational institutions','college','colleges','university','universities','school' (Educational institution dabs); 'political','party' (political party dabs), 'genus' (Genus dabs)",
"type": "string",
"required": false
},
"2": {
"label": "2",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"3": {
"label": "3",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"4": {
"label": "4",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"5": {
"label": "5",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"6": {
"label": "6",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"7": {
"label": "7",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"8": {
"label": "8",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"9": {
"label": "9",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"10": {
"label": "10",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"page-title": {
"label": "page-title",
"description": "Page title to use, only useful for special cases when default does not work.",
"type": "string",
"default": "(FULLPAGENAME)",
"required": false
},
"nocat": {
"label": "nocat",
"description": "Set to 'yes' to prevent categorisation.",
"type": "string",
"required": false
},
"demospace": {
"label": "demospace",
"description": "Used for testing.",
"type": "string",
"required": false
},
"ignore_parentheses": {
"label": "ignore_parentheses",
"description": "Set to 'yes' to prevent parentheses in the article title from being parsed as incomplete disambiguation.",
"type": "string",
"required": false
},
"type": {
"label": "type",
"description": "Manually specify the article type in the descriptive text ('This disambiguation page lists {{{type}}} articles...')",
"type": "string",
"required": false
}
}
}
</templatedata>
== See also ==
* [[Wikipedia:Hatnote]]
* {{tl|Disambiguation needed}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article, see [[Wikipedia:OTHERUSES]] for more.
* {{tl|WikiProject Disambiguation}} – for disambig talkpages
* {{tl|Other uses}} – for linking to disambiguation pages in articles
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Disambiguation message boxes| ]]
}}</includeonly>
f5bfe974a84174ef9739ec12aa014bff05f95cb2
Template:Dmbox
10
232
450
2021-01-02T17:07:46Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<table id="
{{#switch:{{{type|}}}
| setindex = setindexbox
| disambig <!-- disambig = default -->
| #default = disambigbox
}}" class="metadata plainlinks dmbox
{{#switch:{{{type|}}}
| setindex = dmbox-setindex
| disambig <!-- disambig = default -->
| #default = dmbox-disambig
}} {{{class|}}}" style="{{{style|}}}" role="presentation">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <td class="mbox-image" style="padding: 2px 0 2px 0.4em;"> {{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| setindex = DAB list gray.svg
| disambig <!-- disambig = default -->
| #default = Disambig gray.svg
}}|30px|alt=Disambiguation icon]]
}}</td>
}}
<td class="mbox-text" style="padding: 0.25em 0.4em; font-style: italic; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright" style="padding: 2px 0.4em 2px 0;"> {{{imageright}}} </td>
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| disambig
| setindex = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<!--
Magic word for disambiguation pages:
-->{{#ifeq:{{{type|}}}|disambig|__DISAMBIG__|}}<!--
Categorization:
-->{{#switch:{{{type|}}}
| setindex =
{{category handler
| main = [[Category:All set index articles]]
| nocat = {{{nocat|}}} <!--So "nocat=true" works-->
| page = {{{page|}}} <!--For testing-->
}}
| disambig <!-- disambig = default -->
| #default =
{{category handler
| main = [[Category:All article disambiguation pages]][[Category:All disambiguation pages]]
| template = <!-- Don't categorize on template pages. -->
| other = [[Category:All disambiguation pages]]
| nocat = {{{nocat|}}} <!--So "nocat=true" works-->
| page = {{{page|}}} <!--For testing-->
}}
}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! -->
</noinclude>
e600c15920659c8a898b50e6c47f2ad44a6a7919
Template:Main other
10
233
452
2021-01-02T17:07:46Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:0}}
| main
| other
}}
}}
| main = {{{1|}}}
| other
| #default = {{{2|}}}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
c8e5526da7586aff37928206e183ceef44ed7829
Template:Category handler
10
234
454
2021-01-02T17:07:46Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Category handler|main}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage, and interwikis to Wikidata. -->
</noinclude>
d14e9f545cf1833acbe174ae70b615c39b18cf63
Module:Hatnote list
828
235
456
2021-01-02T17:07:47Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Module:Hatnote list --
-- --
-- This module produces and formats lists for use in hatnotes. In particular, --
-- it implements the for-see list, i.e. lists of "For X, see Y" statements, --
-- as used in {{about}}, {{redirect}}, and their variants. Also introduced --
-- are andList & orList helpers for formatting lists with those conjunctions. --
--------------------------------------------------------------------------------
local mArguments --initialize lazily
local mHatnote = require('Module:Hatnote')
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local p = {}
--------------------------------------------------------------------------------
-- List stringification helper functions
--
-- These functions are used for stringifying lists, usually page lists inside
-- the "Y" portion of "For X, see Y" for-see items.
--------------------------------------------------------------------------------
--default options table used across the list stringification functions
local stringifyListDefaultOptions = {
conjunction = "and",
separator = ",",
altSeparator = ";",
space = " ",
formatted = false
}
-- Stringifies a list generically; probably shouldn't be used directly
function stringifyList(list, options)
-- Type-checks, defaults, and a shortcut
checkType("stringifyList", 1, list, "table")
if #list == 0 then return nil end
checkType("stringifyList", 2, options, "table", true)
options = options or {}
for k, v in pairs(stringifyListDefaultOptions) do
if options[k] == nil then options[k] = v end
end
local s = options.space
-- Format the list if requested
if options.formatted then list = mHatnote.formatPages(unpack(list)) end
-- Set the separator; if any item contains it, use the alternate separator
local separator = options.separator
--searches display text only
function searchDisp(t, f)
return string.find(string.sub(t, (string.find(t, '|') or 0) + 1), f)
end
for k, v in pairs(list) do
if searchDisp(v, separator) then
separator = options.altSeparator
break
end
end
-- Set the conjunction, apply Oxford comma, and force a comma if #1 has "§"
local conjunction = s .. options.conjunction .. s
if #list == 2 and searchDisp(list[1], "§") or #list > 2 then
conjunction = separator .. conjunction
end
-- Return the formatted string
return mw.text.listToText(list, separator .. s, conjunction)
end
--DRY function
function conjList (conj, list, fmt)
return stringifyList(list, {conjunction = conj, formatted = fmt})
end
-- Stringifies lists with "and" or "or"
function p.andList (...) return conjList("and", ...) end
function p.orList (...) return conjList("or", ...) end
--------------------------------------------------------------------------------
-- For see
--
-- Makes a "For X, see [[Y]]." list from raw parameters. Intended for the
-- {{about}} and {{redirect}} templates and their variants.
--------------------------------------------------------------------------------
--default options table used across the forSee family of functions
local forSeeDefaultOptions = {
andKeyword = 'and',
title = mw.title.getCurrentTitle().text,
otherText = 'other uses',
forSeeForm = 'For %s, see %s.'
}
--Collapses duplicate punctuation
function punctuationCollapse (text)
local replacements = {
["%.%.$"] = ".",
["%?%.$"] = "?",
["%!%.$"] = "!",
["%.%]%]%.$"] = ".]]",
["%?%]%]%.$"] = "?]]",
["%!%]%]%.$"] = "!]]"
}
for k, v in pairs(replacements) do text = string.gsub(text, k, v) end
return text
end
-- Structures arguments into a table for stringification, & options
function p.forSeeArgsToTable (args, from, options)
-- Type-checks and defaults
checkType("forSeeArgsToTable", 1, args, 'table')
checkType("forSeeArgsToTable", 2, from, 'number', true)
from = from or 1
checkType("forSeeArgsToTable", 3, options, 'table', true)
options = options or {}
for k, v in pairs(forSeeDefaultOptions) do
if options[k] == nil then options[k] = v end
end
-- maxArg's gotten manually because getArgs() and table.maxn aren't friends
local maxArg = 0
for k, v in pairs(args) do
if type(k) == 'number' and k > maxArg then maxArg = k end
end
-- Structure the data out from the parameter list:
-- * forTable is the wrapper table, with forRow rows
-- * Rows are tables of a "use" string & a "pages" table of pagename strings
-- * Blanks are left empty for defaulting elsewhere, but can terminate list
local forTable = {}
local i = from
local terminated = false
-- Loop to generate rows
repeat
-- New empty row
local forRow = {}
-- On blank use, assume list's ended & break at end of this loop
forRow.use = args[i]
if not args[i] then terminated = true end
-- New empty list of pages
forRow.pages = {}
-- Insert first pages item if present
table.insert(forRow.pages, args[i + 1])
-- If the param after next is "and", do inner loop to collect params
-- until the "and"'s stop. Blanks are ignored: "1|and||and|3" → {1, 3}
while args[i + 2] == options.andKeyword do
if args[i + 3] then
table.insert(forRow.pages, args[i + 3])
end
-- Increment to next "and"
i = i + 2
end
-- Increment to next use
i = i + 2
-- Append the row
table.insert(forTable, forRow)
until terminated or i > maxArg
return forTable
end
-- Stringifies a table as formatted by forSeeArgsToTable
function p.forSeeTableToString (forSeeTable, options)
-- Type-checks and defaults
checkType("forSeeTableToString", 1, forSeeTable, "table")
checkType("forSeeTableToString", 2, options, "table", true)
options = options or {}
for k, v in pairs(forSeeDefaultOptions) do
if options[k] == nil then options[k] = v end
end
-- Stringify each for-see item into a list
local strList = {}
for k, v in pairs(forSeeTable) do
local useStr = v.use or options.otherText
local pagesStr = p.andList(v.pages, true) or
mHatnote._formatLink(mHatnote.disambiguate(options.title))
local forSeeStr = string.format(options.forSeeForm, useStr, pagesStr)
forSeeStr = punctuationCollapse(forSeeStr)
table.insert(strList, forSeeStr)
end
-- Return the concatenated list
return table.concat(strList, ' ')
end
-- Produces a "For X, see [[Y]]" string from arguments. Expects index gaps
-- but not blank/whitespace values. Ignores named args and args < "from".
function p._forSee (args, from, options)
local forSeeTable = p.forSeeArgsToTable(args, from, options)
return p.forSeeTableToString(forSeeTable, options)
end
-- As _forSee, but uses the frame.
function p.forSee (frame, from, options)
mArguments = require('Module:Arguments')
return p._forSee(mArguments.getArgs(frame), from, options)
end
return p
550f2da2fef65e979e19376f0ce163167bf20f9d
Module:TableTools
828
236
458
2021-01-02T17:07:48Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--[[
------------------------------------------------------------------------------------
-- TableTools --
-- --
-- This module includes a number of functions for dealing with Lua tables. --
-- It is a meta-module, meant to be called from other Lua modules, and should --
-- not be called directly from #invoke. --
------------------------------------------------------------------------------------
--]]
local libraryUtil = require('libraryUtil')
local p = {}
-- Define often-used variables and functions.
local floor = math.floor
local infinity = math.huge
local checkType = libraryUtil.checkType
--[[
------------------------------------------------------------------------------------
-- isPositiveInteger
--
-- This function returns true if the given value is a positive integer, and false
-- if not. Although it doesn't operate on tables, it is included here as it is
-- useful for determining whether a given table key is in the array part or the
-- hash part of a table.
------------------------------------------------------------------------------------
--]]
function p.isPositiveInteger(v)
if type(v) == 'number' and v >= 1 and floor(v) == v and v < infinity then
return true
else
return false
end
end
--[[
------------------------------------------------------------------------------------
-- isNan
--
-- This function returns true if the given number is a NaN value, and false
-- if not. Although it doesn't operate on tables, it is included here as it is
-- useful for determining whether a value can be a valid table key. Lua will
-- generate an error if a NaN is used as a table key.
------------------------------------------------------------------------------------
--]]
function p.isNan(v)
if type(v) == 'number' and tostring(v) == '-nan' then
return true
else
return false
end
end
--[[
------------------------------------------------------------------------------------
-- shallowClone
--
-- This returns a clone of a table. The value returned is a new table, but all
-- subtables and functions are shared. Metamethods are respected, but the returned
-- table will have no metatable of its own.
------------------------------------------------------------------------------------
--]]
function p.shallowClone(t)
local ret = {}
for k, v in pairs(t) do
ret[k] = v
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- removeDuplicates
--
-- This removes duplicate values from an array. Non-positive-integer keys are
-- ignored. The earliest value is kept, and all subsequent duplicate values are
-- removed, but otherwise the array order is unchanged.
------------------------------------------------------------------------------------
--]]
function p.removeDuplicates(t)
checkType('removeDuplicates', 1, t, 'table')
local isNan = p.isNan
local ret, exists = {}, {}
for i, v in ipairs(t) do
if isNan(v) then
-- NaNs can't be table keys, and they are also unique, so we don't need to check existence.
ret[#ret + 1] = v
else
if not exists[v] then
ret[#ret + 1] = v
exists[v] = true
end
end
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- numKeys
--
-- This takes a table and returns an array containing the numbers of any numerical
-- keys that have non-nil values, sorted in numerical order.
------------------------------------------------------------------------------------
--]]
function p.numKeys(t)
checkType('numKeys', 1, t, 'table')
local isPositiveInteger = p.isPositiveInteger
local nums = {}
for k, v in pairs(t) do
if isPositiveInteger(k) then
nums[#nums + 1] = k
end
end
table.sort(nums)
return nums
end
--[[
------------------------------------------------------------------------------------
-- affixNums
--
-- This takes a table and returns an array containing the numbers of keys with the
-- specified prefix and suffix. For example, for the table
-- {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix "a", affixNums will
-- return {1, 3, 6}.
------------------------------------------------------------------------------------
--]]
function p.affixNums(t, prefix, suffix)
checkType('affixNums', 1, t, 'table')
checkType('affixNums', 2, prefix, 'string', true)
checkType('affixNums', 3, suffix, 'string', true)
local function cleanPattern(s)
-- Cleans a pattern so that the magic characters ()%.[]*+-?^$ are interpreted literally.
s = s:gsub('([%(%)%%%.%[%]%*%+%-%?%^%$])', '%%%1')
return s
end
prefix = prefix or ''
suffix = suffix or ''
prefix = cleanPattern(prefix)
suffix = cleanPattern(suffix)
local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$'
local nums = {}
for k, v in pairs(t) do
if type(k) == 'string' then
local num = mw.ustring.match(k, pattern)
if num then
nums[#nums + 1] = tonumber(num)
end
end
end
table.sort(nums)
return nums
end
--[[
------------------------------------------------------------------------------------
-- numData
--
-- Given a table with keys like ("foo1", "bar1", "foo2", "baz2"), returns a table
-- of subtables in the format
-- { [1] = {foo = 'text', bar = 'text'}, [2] = {foo = 'text', baz = 'text'} }
-- Keys that don't end with an integer are stored in a subtable named "other".
-- The compress option compresses the table so that it can be iterated over with
-- ipairs.
------------------------------------------------------------------------------------
--]]
function p.numData(t, compress)
checkType('numData', 1, t, 'table')
checkType('numData', 2, compress, 'boolean', true)
local ret = {}
for k, v in pairs(t) do
local prefix, num = mw.ustring.match(tostring(k), '^([^0-9]*)([1-9][0-9]*)$')
if num then
num = tonumber(num)
local subtable = ret[num] or {}
if prefix == '' then
-- Positional parameters match the blank string; put them at the start of the subtable instead.
prefix = 1
end
subtable[prefix] = v
ret[num] = subtable
else
local subtable = ret.other or {}
subtable[k] = v
ret.other = subtable
end
end
if compress then
local other = ret.other
ret = p.compressSparseArray(ret)
ret.other = other
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- compressSparseArray
--
-- This takes an array with one or more nil values, and removes the nil values
-- while preserving the order, so that the array can be safely traversed with
-- ipairs.
------------------------------------------------------------------------------------
--]]
function p.compressSparseArray(t)
checkType('compressSparseArray', 1, t, 'table')
local ret = {}
local nums = p.numKeys(t)
for _, num in ipairs(nums) do
ret[#ret + 1] = t[num]
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- sparseIpairs
--
-- This is an iterator for sparse arrays. It can be used like ipairs, but can
-- handle nil values.
------------------------------------------------------------------------------------
--]]
function p.sparseIpairs(t)
checkType('sparseIpairs', 1, t, 'table')
local nums = p.numKeys(t)
local i = 0
local lim = #nums
return function ()
i = i + 1
if i <= lim then
local key = nums[i]
return key, t[key]
else
return nil, nil
end
end
end
--[[
------------------------------------------------------------------------------------
-- size
--
-- This returns the size of a key/value pair table. It will also work on arrays,
-- but for arrays it is more efficient to use the # operator.
------------------------------------------------------------------------------------
--]]
function p.size(t)
checkType('size', 1, t, 'table')
local i = 0
for k in pairs(t) do
i = i + 1
end
return i
end
return p
ab9df0eb210b08945b9eed86435858f6e931a79a
Template:Other uses
10
237
460
2021-01-02T17:07:49Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:other uses|otheruses}}<noinclude>
{{documentation}}
</noinclude>
a0ed4d8a49aa2019fdd4932da37ee432b9936ffc
Module:Other uses
828
238
462
2021-01-02T17:07:49Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
local mHatnote = require('Module:Hatnote')
local mHatlist = require('Module:Hatnote list')
local mArguments --initialize lazily
local mTableTools --initialize lazily
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local p = {}
-- Produces standard {{other uses}} implementation
function p.otheruses(frame)
mArguments = require('Module:Arguments')
mTableTools = require('Module:TableTools')
local args = mTableTools.compressSparseArray(mArguments.getArgs(frame))
local title = mw.title.getCurrentTitle().prefixedText
return p._otheruses(args, {title=title})
end
--Implements "other [x]" templates with otherText supplied at invocation
function p.otherX(frame)
mArguments = require('Module:Arguments')
mTableTools = require('Module:TableTools')
local x = frame.args[1]
local args = mTableTools.compressSparseArray(
mArguments.getArgs(frame, {parentOnly = true})
)
local options = {
title = mw.title.getCurrentTitle().prefixedText,
otherText = x
}
return p._otheruses(args, options)
end
-- Main generator
function p._otheruses(args, options)
--Type-checks and defaults
checkType('_otheruses', 1, args, 'table', true)
args = args or {}
checkType('_otheruses', 2, options, 'table')
if not (options.defaultPage or options.title) then
error('No default title data provided in "_otheruses" options table', 2)
end
local emptyArgs = true
for k, v in pairs(args) do
if type(k) == 'number' then emptyArgs = false break end
end
if emptyArgs then
args = {
options.defaultPage or
mHatnote.disambiguate(options.title, options.disambiguator)
}
end
--Generate and return hatnote
local text = mHatlist.forSeeTableToString({{
use = options.otherText and "other " .. options.otherText or nil,
pages = args
}})
return mHatnote._hatnote(text)
end
return p
2497cafae11ffa785bced56bc9f3853cf3bce7b1
Template:Other uses/doc
10
239
464
2021-01-02T17:07:50Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{documentation subpage}}
{{High-use| 45000+ }}
{{lua|Module:Other uses}}
{{for|navboxes|Template:Navigation templates}}
This template creates a note directing the reader to the [[WP:DISAMBIGUATION|disambiguation page]] related to the page it is included in. The page to which is directed, can be a page whose name is the name of the current page with "(disambiguation)" appended to it. Or you can direct the user to a disambiguation page with a different title, by supplying it as an argument to the template.
==Usage==
'''{{Tlx|Other uses}} results in'''
{{other uses}}
'''{{Tlx|Other uses|Target (disambiguation)}} results in'''
{{other uses|Target (disambiguation)}}
==When to use this template==
This template can be used on pages with an [[WP:D|ambiguous title]], to direct readers that intended to read a similarly named article, to a [[WP:D|disambiguation page]].
Please link to a page that includes the word "(disambiguation)" in the title (if one exists), as illustrated in the example above and suggested [[WP:INTDABLINK|here]].
==When not to use this template==
Do not use this template on an article with an unambiguous title; for example, a reader who searches specifically for "Paris, Virginia" is not likely to have been looking for an article about a city in France (or anywhere else), so it would ''not'' be appropriate to add {{tlx|other uses|Paris}} to the top of the [[Paris, Virginia]] article. Also, do not use this template to link to an article that is not a disambiguation page; instead, one of the other [[WP:HATNOTE|hatnote templates]] listed below may be more appropriate for that purpose.
{{Hatnote templates}}
== TemplateData ==
{{TemplateData header}}
<templatedata>
{
"description": "This template creates a note directing the reader to the disambiguation page related to the page it is included in.",
"params": {
"1": {
"label": "Target page",
"description": "Use this parameter to direct the user to a disambiguation page with a different title.",
"type": "wiki-page-name"
}
}
}
</templatedata>
<includeonly>{{sandbox other||
[[Category:Hatnote templates]]
[[Category:Disambiguation and redirection templates]]
}}</includeonly>
d2ba9bece02e6724347c751f48698893062cdd33
Template:Navbox with columns
10
240
466
2021-01-02T17:07:50Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
Please do not edit without discussion first as this is a "VERY complex" template.
-->{{Navbox
|name = {{{name|}}}
|navbar = {{{navbar|}}}
|state = {{{state|}}}
|border = {{{border|{{{1|}}}}}}
|title = {{{title|}}}
|above = {{{above|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|bodyclass = {{{bodyclass|}}}
|titleclass = {{{titleclass|}}}
|aboveclass = {{{aboveclass|}}}
|belowclass = {{{belowclass|}}}
|groupclass = {{{groupclass|}}}
|listclass = {{{listclass|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|basestyle = {{{basestyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|oddstyle = {{{oddstyle|}}}
|evenstyle = {{{evenstyle|}}}
|{{#if:{{{evenodd|}}}|evenodd|void}} = {{{evenodd|}}}
|list1padding = 0px;
|list1 = <!--
--><table class="navbox-columns-table" style="border-spacing: 0px; text-align:left;<!--
-->{{#if:{{{col1header|}}}{{{fullwidth|}}}|width:100%;<!--
-->|width:auto; margin-left:auto; margin-right:auto;}}{{{coltablestyle|}}}"><!--
--- Header row ---
-->{{#if:{{{col1header|}}}|<tr><!--
--><td class="navbox-abovebelow" <!--
-->colspan={{{col1headercolspan|1}}} style="<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col1headerstyle|}}}">{{{col1header}}}</td><!--
-->{{#if:{{{col2header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col2headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col2headerstyle|}}}">{{{col2header}}}</td>}}<!--
-->{{#if:{{{col3header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col3headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col3headerstyle|}}}">{{{col3header}}}</td>}}<!--
-->{{#if:{{{col4header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col4headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col4headerstyle|}}}">{{{col4header}}}</td>}}<!--
-->{{#if:{{{col5header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col5headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col5headerstyle|}}}">{{{col5header}}}</td>}}<!--
-->{{#if:{{{col6header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col6headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col6headerstyle|}}}">{{{col6header}}}</td>}}<!--
-->{{#if:{{{col7header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col7headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col7headerstyle|}}}">{{{col7header}}}</td>}}<!--
-->{{#if:{{{col8header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col8headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col8headerstyle|}}}">{{{col8header}}}</td>}}<!--
-->{{#if:{{{col9header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col9headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col9headerstyle|}}}">{{{col9header}}}</td>}}<!--
-->{{#if:{{{col10header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col10headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col10headerstyle|}}}">{{{col10header}}}</td>}}<!--
-->{{#if:{{{col11header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col11headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col11headerstyle|}}}">{{{col11header}}}</td>}}<!--
-->{{#if:{{{col12header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col12headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col12headerstyle|}}}">{{{col12header}}}</td>}}<!--
-->{{#if:{{{col13header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col13headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col13headerstyle|}}}">{{{col13header}}}</td>}}<!--
-->{{#if:{{{col14header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col14headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col14headerstyle|}}}">{{{col14header}}}</td>}}<!--
-->{{#if:{{{col15header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col15headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col15headerstyle|}}}">{{{col15header}}}</td>}}<!--
-->{{#if:{{{col16header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col16headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col16headerstyle|}}}">{{{col16header}}}</td>}}<!--
-->{{#if:{{{col17header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col17headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col17headerstyle|}}}">{{{col17header}}}</td>}}<!--
-->{{#if:{{{col18header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col18headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col18headerstyle|}}}">{{{col18header}}}</td>}}<!--
-->{{#if:{{{col19header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col19headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col19headerstyle|}}}">{{{col19header}}}</td>}}<!--
-->{{#if:{{{col20header|}}}|<td class="navbox-abovebelow" <!--
-->style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col20headerstyle|}}}">{{{col20header}}}</td>}}<!--
--></tr>}}<!--
--- Main columns---
-->{{#if:{{{col1|}}}|<!--
--><tr style="vertical-align:top;"><!--
-->{{#if:{{{col1header|}}}{{{col1footer|}}}{{{fullwidth|}}}|<!--
-->|{{#switch:{{{padding|}}}|off|0|0em|0px|0%|0;|0em;|0px;|0%;=<!--
-->|#default=<td style="width:{{{padding|5em}}};"> </td>}}}}<!--
--><td class="navbox-list" style="padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col1style|}}};width:{{{col1width|{{{colwidth|10em}}}}}};"><div>
{{{col1}}}
</div></td>}}<!--
-->{{#if:{{{col2|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col2style|}}};width:{{{col2width|{{{colwidth|10em}}}}}};"><div>
{{{col2}}}
</div></td>}}<!--
-->{{#if:{{{col3|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col3style|}}};width:{{{col3width|{{{colwidth|10em}}}}}};"><div>
{{{col3}}}
</div></td>}}<!--
-->{{#if:{{{col4|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col4style|}}};width:{{{col4width|{{{colwidth|10em}}}}}};"><div>
{{{col4}}}
</div></td>}}<!--
-->{{#if:{{{col5|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col5style|}}};width:{{{col5width|{{{colwidth|10em}}}}}};"><div>
{{{col5}}}
</div></td>}}<!--
-->{{#if:{{{col6|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col6style|}}};width:{{{col6width|{{{colwidth|10em}}}}}};"><div>
{{{col6}}}
</div></td>}}<!--
-->{{#if:{{{col7|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col7style|}}};width:{{{col7width|{{{colwidth|10em}}}}}};"><div>
{{{col7}}}
</div></td>}}<!--
-->{{#if:{{{col8|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col8style|}}};width:{{{col8width|{{{colwidth|10em}}}}}};"><div>
{{{col8}}}
</div></td>}}<!--
-->{{#if:{{{col9|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col9style|}}};width:{{{col9width|{{{colwidth|10em}}}}}};"><div>
{{{col9}}}
</div></td>}}<!--
-->{{#if:{{{col10|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col10style|}}};width:{{{col10width|{{{colwidth|10em}}}}}};"><div>
{{{col10}}}
</div></td>}}<!--
-->{{#if:{{{col11|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col11style|}}};width:{{{col11width|{{{colwidth|10em}}}}}};"><div>
{{{col11}}}
</div></td>}}<!--
-->{{#if:{{{col12|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col12style|}}};width:{{{col12width|{{{colwidth|10em}}}}}};"><div>
{{{col12}}}
</div></td>}}<!--
-->{{#if:{{{col13|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col13style|}}};width:{{{col13width|{{{colwidth|10em}}}}}};"><div>
{{{col13}}}
</div></td>}}<!--
-->{{#if:{{{col14|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col14style|}}};width:{{{col14width|{{{colwidth|10em}}}}}};"><div>
{{{col14}}}
</div></td>}}<!--
-->{{#if:{{{col15|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col15style|}}};width:{{{col15width|{{{colwidth|10em}}}}}};"><div>
{{{col15}}}
</div></td>}}<!--
-->{{#if:{{{col16|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col16style|}}};width:{{{col16width|{{{colwidth|10em}}}}}};"><div>
{{{col16}}}
</div></td>}}<!--
-->{{#if:{{{col17|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col17style|}}};width:{{{col17width|{{{colwidth|10em}}}}}};"><div>
{{{col17}}}
</div></td>}}<!--
-->{{#if:{{{col18|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col18style|}}};width:{{{col18width|{{{colwidth|10em}}}}}};"><div>
{{{col18}}}
</div></td>}}<!--
-->{{#if:{{{col19|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col19style|}}};width:{{{col19width|{{{colwidth|10em}}}}}};"><div>
{{{col19}}}
</div></td>}}<!--
-->{{#if:{{{col20|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col20style|}}};width:{{{col20width|{{{colwidth|10em}}}}}};"><div>
{{{col20}}}
</div></td>}}<!--
--- Footer row ---
-->{{#if:{{{col1footer|}}}|<!--
--><tr><!--
--><td class="navbox-abovebelow" colspan={{{col1footercolspan|1}}} style="<!--
-->font-weight:bold;{{{colfooterstyle|}}};{{{col1footerstyle|}}}">{{{col1footer}}}</td><!--
-->{{#if:{{{col2footer|}}}|<td class="navbox-abovebelow" colspan={{{col2footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col2footerstyle|}}}">{{{col2footer}}}</td>}}<!--
-->{{#if:{{{col3footer|}}}|<td class="navbox-abovebelow" colspan={{{col3footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col3footerstyle|}}}">{{{col3footer}}}</td>}}<!--
-->{{#if:{{{col4footer|}}}|<td class="navbox-abovebelow" colspan={{{col4footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col4footerstyle|}}}">{{{col4footer}}}</td>}}<!--
-->{{#if:{{{col5footer|}}}|<td class="navbox-abovebelow" colspan={{{col5footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col5footerstyle|}}}">{{{col5footer}}}</td>}}<!--
-->{{#if:{{{col6footer|}}}|<td class="navbox-abovebelow" colspan={{{col6footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col6footerstyle|}}}">{{{col6footer}}}</td>}}<!--
-->{{#if:{{{col7footer|}}}|<td class="navbox-abovebelow" colspan={{{col7footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col7footerstyle|}}}">{{{col7footer}}}</td>}}<!--
-->{{#if:{{{col8footer|}}}|<td class="navbox-abovebelow" colspan={{{col8footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col8footerstyle|}}}">{{{col8footer}}}</td>}}<!--
-->{{#if:{{{col9footer|}}}|<td class="navbox-abovebelow" colspan={{{col9footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col9footerstyle|}}}">{{{col9footer}}}</td>}}<!--
-->{{#if:{{{col10footer|}}}|<td class="navbox-abovebelow" colspan={{{col10footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col10footerstyle|}}}">{{{col10footer}}}</td>}}<!--
-->{{#if:{{{col11footer|}}}|<td class="navbox-abovebelow" colspan={{{col11footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col11footerstyle|}}}">{{{col11footer}}}</td>}}<!--
-->{{#if:{{{col12footer|}}}|<td class="navbox-abovebelow" colspan={{{col12footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col12footerstyle|}}}">{{{col12footer}}}</td>}}<!--
-->{{#if:{{{col13footer|}}}|<td class="navbox-abovebelow" colspan={{{col13footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col13footerstyle|}}}">{{{col13footer}}}</td>}}<!--
-->{{#if:{{{col14footer|}}}|<td class="navbox-abovebelow" colspan={{{col14footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col14footerstyle|}}}">{{{col14footer}}}</td>}}<!--
-->{{#if:{{{col15footer|}}}|<td class="navbox-abovebelow" colspan={{{col15footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col15footerstyle|}}}">{{{col15footer}}}</td>}}<!--
-->{{#if:{{{col16footer|}}}|<td class="navbox-abovebelow" colspan={{{col16footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col16footerstyle|}}}">{{{col16footer}}}</td>}}<!--
-->{{#if:{{{col17footer|}}}|<td class="navbox-abovebelow" colspan={{{col17footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col17footerstyle|}}}">{{{col17footer}}}</td>}}<!--
-->{{#if:{{{col18footer|}}}|<td class="navbox-abovebelow" colspan={{{col18footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col18footerstyle|}}}">{{{col18footer}}}</td>}}<!--
-->{{#if:{{{col19footer|}}}|<td class="navbox-abovebelow" colspan={{{col19footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col19footerstyle|}}}">{{{col19footer}}}</td>}}<!--
-->{{#if:{{{col20footer|}}}|<td class="navbox-abovebelow" style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col20footerstyle|}}}">{{{col20footer}}}</td>}}<!--
--></tr>}}<!--
--></tr></table>
<!-- Allow a few additional groups/lists after columns -->
|liststyle = {{{liststyle|}}}
|list1style = background:transparent;color:inherit;
|list3style = {{{list1style|}}}
|list4style = {{{list2style|}}}
|list5style = {{{list3style|}}}
|list6style = {{{list4style|}}}
|list7style = {{{list5style|}}}
|list8style = {{{list6style|}}}
|list3 = {{{list1|}}}
|list4 = {{{list2|}}}
|list5 = {{{list3|}}}
|list6 = {{{list4|}}}
|list7 = {{{list5|}}}
|list8 = {{{list6|}}}
|groupstyle = {{{groupstyle|}}}
|group3style = {{{group1style|}}}
|group4style = {{{group2style|}}}
|group5style = {{{group3style|}}}
|group6style = {{{group4style|}}}
|group7style = {{{group5style|}}}
|group8style = {{{group6style|}}}
|group3 = {{{group1|}}}
|group4 = {{{group2|}}}
|group5 = {{{group3|}}}
|group6 = {{{group4|}}}
|group7 = {{{group5|}}}
|group8 = {{{group6|}}}
|below = {{{below|}}}
|tracking = no
}}<noinclude>
{{documentation}}
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage--->
</noinclude>
a6206ebdfb331edb53ab9d8cab2b5390887e66c0
Template:Navbox with columns/doc
10
241
468
2021-01-02T17:07:51Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{Navbox suite}}
A navigation box that presents its content in columns. Originally intended to provide a relatively straightforward means to align links prefixed by flag icons, e.g. in templates offering links to country articles.
== Basic syntax ==
Only required parameters and ''colwidth'' included.
<pre style="overflow:auto;">
{{Navbox with columns
| name = {{subst:PAGENAME}}
| title =
| colwidth = <!--(to set a default width for each column,
preferably in a proportional unit such as 'em'*)-->
| col1 =
| col2 =
}}
</pre>
<div style="font-size:90%;line-height:1.35em;">* See [[Em (typography)]]. Using proportional units means the template should still be displayed correctly across a range of browser font-sizes. If ''colwidth'' is not specified, a default 10.0em is used.</div>
== Parameters ==
===Setup parameters===
:;''name''<ref name="common">Parameters marked with a footnote '''<sup>[1]</sup>''' are parameters in common with the sister templates {{tl|Navbox}} and {{tl|Navbox with collapsible groups}}. A much more complete description of those parameters is available at {{tl|Navbox}}.</ref>
::The name of the template. The name of this template, for example, is "Navbox with columns".
:;''state''<ref name="common"/>
::Possible values are <code>collapsed</code>, <code>uncollapsed</code>, <code>plain</code>, <code>off</code>, and the default <code>autocollapse</code>. See {{tl|Navbox}} for more information.
:;''navbar''<ref name="common"/>
::Possible values are <code>plain</code>, <code>off</code>, and the default value of blank. See {{tl|Navbox}} for more information.
:;''border''<ref name="common"/>
::Possible values are <code>child</code>, <code>none</code>, and the default value of blank. Set to <code>child</code> if you wish to use the navbox inside of another navbox; with this option, the child navbox is borderless and fits snuggly inside of its parent navbox. The parent navbox may be the list area of {{tl|Navbox}}, a columns of another {{tl|Navbox with columns}}, or a section of {{tl|Navbox with collapsible groups}}. See {{tl|Navbox}} for more information and examples.
===Perimeter parameters===
i.e. parameters affecting the inclusion/formatting of items around the template's perimeter.
:;'''''title'''''<ref name="common"/>
::The title of the template, displayed centered in the titlebar at the top of the template.
:;''above''<ref name="common"/>
::Text or other elements to appear above the columns.
:;''image''<ref name="common"/>
::Image to the right of all of the columns.
:;''imageleft''<ref name="common"/>
::Image to the left of all of the columns.
:;''below''<ref name="common"/>
::Text or other elements to appear below the columns.
===Style parameters===
:;''style''<ref name="common"/>
::CSS style/s to apply to the template's body (i.e. including space not used by columns)
:;''titlestyle''<ref name="common"/>
::[[Wikipedia:CSS|CSS]] style/s to apply to titlebar; usually <code>background:''color''</code> (background defaults to [[Wikipedia:NavFrame|NavHead]] default).
:;''abovestyle''<ref name="common"/>
:;''belowstyle''<ref name="common"/>
::CSS style/s to apply to the ''above'' and ''below'' parameters, respectively.
:;''basestyle''<ref name="common"/>
::CSS style/s to apply to the ''title'', ''above'', and ''below'', parameters, all at the same time.
:;''imagestyle''<ref name="common"/>
::CSS style/s to apply to the ''image'' parameter.
:;''imageleftstyle''<ref name="common"/>
::CSS style/s to apply to the ''imageleft'' parameter
:;''coltablestyle''
::
:;''colstyle''
::CSS style/s to apply across all columns; if used, usually <code>background:''color''</code> per ''titlestyle'' above.
:;''oddcolstyle''
:;''evencolstyle''
::CSS style/s to apply to all odd/even-numbered columns, respectively.
:;''col<sub>n</sub>style''
::CSS style/s to apply to the n<sup>th</sup> column only.
:;''colheaderstyle''
::CSS style/s to apply to all column headers.
:;''col<sub>n</sub>headerstyle''
::CSS style/s to apply to the n<sup>th</sup> column header.
:;''col<sub>n</sub>footerstyle''
::CSS style/s to apply to the n<sup>th</sup> column footer cell.
===Columns parameters===
:;''colwidth''
::Width, preferably in a proportional unit such as '[[Em (typography)|em]]', or as a percentage, used for each column whose width not specified by ''colNwidth'' below. Defaults to 10em. Examples:
:::<code>colwidth = 15.0em</code>
:::<code>colwidth = 25%</code>
:;''fullwidth''
::If set to anything, then the total width of the columns are scaled linearly to make the sum of the widths 100%. A rather advanced parameter, this usually need not be used and should be left blank. If a colheader or colfooter is used, then fullwidth is used automatically. Example:
:::<code>fullwidth = on</code>
:;''padding''
::Padding before first column, preferably in a proportional unit. Defaults to 5em. Padding is disabled by setting it to 0 (or 0em, or 0%).
:;''col<sub>n</sub>width''
::The n<sup>th</sup> column's width (overrides ''colwidth'' above).
:;'''''col<sub>n</sub>'''''
::The content of the n<sup>th</sup> column. If any columns are used, then <code>col1</code> is required. There can be a maximum of 20 columns.
:;''col<sub>n</sub>header''
::A header cell for the n<sup>th</sup> column that appears above the column. See below for examples.
:;''col<sub>n</sub>footer
::A footer cell that appears below the n<sup>th</sup> column.
:;''col<sub>n</sub>headercolspan
::A number specifying how many columns the n<sup>th</sup> column header should span. It defaults to 1. If it is greater than one, then do not specify column headers that it covers. For example, if <code>col1headercolspan = 3</code>, then leave <code>col2header</code> and <code>col3header</code> blank.
:;''col<sub>n</sub>footercolspan
::A number specifying how many columns the n<sup>th</sup> column footer should span. It defaults to 1. If it is greater than one, then do not specify column footers that it covers. For example, if <code>col1footercolspan = 3</code>, then leave <code>col2footer</code> and <code>col3footer</code> blank.
===Additional groups/lists===
You may wish to add a few extra groups and/or lists below the columns. The following parameters are given to provide such functionality. See {{tl|Navbox}} for a more complete description of how they work, and for more examples.
:;''group<sub>n</sub>''<ref name="common"/>
::Allows up to 6 additional groups to go along with the lists below the columns.
:;''list<sub>n</sub>''<ref name="common"/>
::Allows up to 6 additional lists below the columns.
:;''groupstyle<ref name="common"/>
::The general CSS style/s for the groups.
:;''group<sub>n</sub>''style<sup>†</sup>
::CSS style/s for the n<sup>th</sup> group parameter.<ref name="common"/>
:;''liststyle''<ref name="common"/>
::The general CSS style/s for the lists.
:;''list<sub>n</sub>style''
::CSS style/s for the n<sup>th</sup> list parameter.
:;''listpadding''<ref name="common"/>
::Amount of padding to have in each list cell.
:; ''oddstyle''
:; ''evenstyle''
::Applies to odd/even list numbers. Overrules styles defined by ''liststyle''. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.
:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
::See {{tl|Navbox}} for description.
=== Microformats ===
;bodyclass : This parameter is inserted into the "class" attribute for the infobox as a whole.
;titleclass : This parameter is inserted into the "class" attribute for the infobox's title caption.
This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag a navbox as containing [[hCard]] information about a person, for example, add the following parameter:
<pre>
|bodyclass = vcard
</pre>
''and''
<pre>
|titleclass = fn
</pre>
''or'' (for example):
<pre><nowiki>
|title = The books of <span class="fn">[[Iain Banks]]</span>
</nowiki></pre>
...and so forth.
See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia, and [[microformat]] for more information on microformats in general.
== Examples ==
===Basic example===
<pre style="overflow:scroll;">
{{Navbox with columns
| name = East Asia Summit (EAS)
| title = [[East Asia Summit|East Asia Summit (EAS)]]
| listclass = plainlist
| width = 18.25em
| padding = 10em
| aboveclass = hlist
| abovestyle = font-weight: bold;
| above =
* [[First East Asia Summit|First]]
* [[Second East Asia Summit|Second]]
* [[Third East Asia Summit|Third]]
* [[Fourth East Asia Summit|Fourth]]
* [[Fifth East Asia Summit|Fifth]]
* [[Sixth East Asia Summit|Sixth]]
* [[Seventh East Asia Summit|Seventh]]
| col1 =
* {{AUS}}
* {{BRU}}
* {{BIR}}
| col2 =
* {{CAM}}
* {{CHN}}
* {{IND}}
| col3 =
* {{IDN}}
* {{JPN}}
* {{LAO}}
| col4 =
* {{MAS}}
* {{NZL}}
* {{PHL}}
| col5 =
* {{RUS}}
* {{SIN}}
* {{KOR}}
| col6width = 17em
| col6 =
* {{THA}}
* {{USA}}
* {{VIE}}
}}
</pre>
{{Navbox with columns
| name = East Asia Summit (EAS)
| title = [[East Asia Summit|East Asia Summit (EAS)]]
| state = uncollapsed
| listclass = plainlist
| width = 18.25em
| padding = 10em
| aboveclass = hlist
| abovestyle = font-weight: bold;
| above =
* [[First East Asia Summit|First]]
* [[Second East Asia Summit|Second]]
* [[Third East Asia Summit|Third]]
* [[Fourth East Asia Summit|Fourth]]
* [[Fifth East Asia Summit|Fifth]]
* [[Sixth East Asia Summit|Sixth]]
* [[Seventh East Asia Summit|Seventh]]
| col1 =
* {{AUS}}
* {{BRU}}
* {{BIR}}
| col2 =
* {{CAM}}
* {{CHN}}
* {{IND}}
| col3 =
* {{IDN}}
* {{JPN}}
* {{LAO}}
| col4 =
* {{MAS}}
* {{NZL}}
* {{PHL}}
| col5 =
* {{RUS}}
* {{SIN}}
* {{KOR}}
| col6width = 17em
| col6 =
* {{THA}}
* {{USA}}
* {{VIE}}
}}
===Example with percentage widths===
<pre style="overflow:scroll;">
{{Navbox with columns
| name = Transit visibility table
| titlestyle = background:silver;
| title = [[Astronomical transit|Transit]] visibility from [[inferior and superior planets|planets superior]] to the transiting body
| listclass = plainlist
| colwidth = 14.2857%
| colstyle = text-align:center;
| col1header = Venus
| col1 =
* [[Transit of Mercury from Venus|Mercury]]
| col2header = Earth
| col2 =
* [[Transit of Mercury|Mercury]]
* [[Transit of Venus|Venus]]
| col3header = Mars
| col3 =
* [[Transit of Mercury from Mars|Mercury]]
* [[Transit of Venus from Mars|Venus]]
* [[Transit of Earth from Mars|Earth]]
| col4header = Jupiter
| col4 =
* [[Transit of Mercury from Jupiter|Mercury]]
* [[Transit of Venus from Jupiter|Venus]]
* [[Transit of Earth from Jupiter|Earth]]
* [[Transit of Mars from Jupiter|Mars]]
| col5header = Saturn
| col5 =
* [[Transit of Mercury from Saturn|Mercury]]
* [[Transit of Venus from Saturn|Venus]]
* [[Transit of Earth from Saturn|Earth]]
* [[Transit of Mars from Saturn|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
| col6header = Uranus
| col6 =
* [[Transit of Mercury from Uranus|Mercury]]
* [[Transit of Venus from Uranus|Venus]]
* [[Transit of Earth from Uranus|Earth]]
* [[Transit of Mars from Uranus|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]
| col7header = Neptune
| col7 =
* [[Transit of Mercury from Neptune|Mercury]]
* [[Transit of Venus from Neptune|Venus]]
* [[Transit of Earth from Neptune|Earth]]
* [[Transit of Mars from Neptune|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]
* [[Transit of Uranus from Neptune|Uranus]]
}}
</pre>
{{Navbox with columns
| name = Transit visibility table
| titlestyle = background:silver;
| title = [[Astronomical transit|Transit]] visibility from [[inferior and superior planets|planets superior]] to the transiting body
| state = uncollapsed
| listclass = plainlist
| colwidth = 14.2857%
| colstyle = text-align:center;
| col1header = Venus
| col1 =
* [[Transit of Mercury from Venus|Mercury]]
| col2header = Earth
| col2 =
* [[Transit of Mercury|Mercury]]
* [[Transit of Venus|Venus]]
| col3header = Mars
| col3 =
* [[Transit of Mercury from Mars|Mercury]]
* [[Transit of Venus from Mars|Venus]]
* [[Transit of Earth from Mars|Earth]]
| col4header = Jupiter
| col4 =
* [[Transit of Mercury from Jupiter|Mercury]]
* [[Transit of Venus from Jupiter|Venus]]
* [[Transit of Earth from Jupiter|Earth]]
* [[Transit of Mars from Jupiter|Mars]]
| col5header = Saturn
| col5 =
* [[Transit of Mercury from Saturn|Mercury]]
* [[Transit of Venus from Saturn|Venus]]
* [[Transit of Earth from Saturn|Earth]]
* [[Transit of Mars from Saturn|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
| col6header = Uranus
| col6 =
* [[Transit of Mercury from Uranus|Mercury]]
* [[Transit of Venus from Uranus|Venus]]
* [[Transit of Earth from Uranus|Earth]]
* [[Transit of Mars from Uranus|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]
| col7header = Neptune
| col7 =
* [[Transit of Mercury from Neptune|Mercury]]
* [[Transit of Venus from Neptune|Venus]]
* [[Transit of Earth from Neptune|Earth]]
* [[Transit of Mars from Neptune|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]
* [[Transit of Uranus from Neptune|Uranus]]
}}
===Example with col<sub>n</sub>header and col<sub>n</sub>footer===
The gray background for the columns is added for illustration only.
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = col<sub>n</sub>header and col<sub>n</sub>footer example
|colstyle = text-align:center;background:silver;
|colwidth = 25%
|col1header = col1header
|col2header = col2header
|col3header = col3header
|col4header = col4header
|col1 = col1
|col2 = col2
|col3 = col3
|col4 = col4
|col1footer = col1footer
|col2footer = col2footer
|col3footer = col3footer
|col4footer = col4footer
}}
===Example with col<sub>n</sub>header using col<sub>n</sub>headercolspan===
The gray background for the columns is added for illustration only. This example shows the col<sub>n</sub>headercolspan parameter being used, but you may also use col<sub>n</sub>footercolspan to adjust the span of the footer cells.
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = col<sub>n</sub>header with col<sub>n</sub>colspan example
|colstyle = text-align:center;background:silver;
|col1header = col1header
|col2header = col2header (colspan=2)
|col4header = col4header
|col5header = col5header (colspan=3)
|col2headercolspan = 2
|col5headercolspan = 3
|col1 = col1
|col2 = col2
|col3 = col3
|col4 = col4
|col5 = col5
|col6 = col6
|col7 = col7
}}
===Example to illustrate most fields===
The gray background and centered text for the columns is for illustration only. The columns default to an off-white background and left text alignment. This example shows how you can use up to six additional groups/lists after the columns.
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = Example to illustrate most fields
|colstyle = text-align:center;background:silver;
|col1 = col1
|col2 = col2
|col3 = col3
|col4 = col4
|col5 = col5
|col1header = col1header
|col2header = col2header
|col3header = col3header
|col4header = col4header
|col5header = col5header
|col1footer = col1footer
|col2footer = col2footer
|col3footer = col3footer
|col4footer = col4footer
|col5footer = col5footer
|group1 = group1
|group2 = group2
|group3 = group3
|group4 = group4
|group5 = group5
|group6 = group6
|list1 = list1
|list2 = list2
|list3 = list3
|list4 = list4
|list5 = list5
|list6 = list6
|above = above
|below = below
}}
==Using child navboxes==
All three types of navbox templates, namely {{tl|Navbox}}, {{tl|Navbox with columns}}, and {{tl|Navbox with collapsible groups}}, can be nested inside of one another using the <code>border</code> parameter (which is common to all three). For complex templates, it may be necessary to use nesting to achieve a desired look.
===Nesting Navbox with columns in itself===
This example shows how one can nest multiple {{tl|Navbox with columns}} templates to get the right look. Edit this page to see the code. There is a main {{tl|Navbox with columns}} and two additional {{tl|Navbox with columns}} templates, with the "child" option set (see code).
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = Subgroups with nesting
|colstyle = text-align:center;background:silver;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = {{Navbox with columns|child
|colwidth = 50%
|colstyle = text-align:center;background:silver;
|col1header = Col1.1Header
|col2header = Col1.2Header
|col1 = Col1.1
|col2 = Col1.2
}}
|col2 = Col2
|col3 = {{Navbox with columns|child
|colwidth = 33%
|colstyle = text-align:center;background:silver;
|col1header = Col3.1Header
|col2header = Col3.2Header
|col3header = Col3.3Header
|col1 = Col3.1
|col2 = Col3.2
|col3 = Col3.3
}}
|col4 = Col4
}}
===Nesting other Navbox forms===
This example shows {{tl|Navbox}}, {{tl|Navbox with collapsible groups}} and {{tl|Navbox with columns}} all working together. Edit this page to see the code. Note that each of the child navboxes has the first parameter set to <code>child</code>.
{{Navbox with collapsible groups
|name = Navbox with collapsible groups
|title = Navbox, Navbox with columns, and Navbox with collapsible groups together
|selected = {{{1|}}}
|group1 = [[:Category:Scouting|The Scouting Movement]]
|abbr1 = movement
|list1 = [[Scouting]]{{·}}''[[Scouting for Boys]]''{{·}}[[Scout method]]{{·}}[[Scout Law]]{{·}}[[Scout Promise]]{{·}}[[Scout Motto]]{{·}}[[Wood Badge]]{{·}}[[Age groups in Scouting and Guiding]]{{·}}[[Cub Scout]]{{·}}[[Boy Scout]]{{·}}[[Rover Scout]]{{·}}[[Brownie (Girl Guides)|Brownie]]{{·}}[[Girl Guiding and Girl Scouting]]{{·}}[[Ranger (Girl Guide)]]{{·}}[[Jamboree (Scouting)|Jamboree]]{{·}}[[Scout Leader]]{{·}}[[World Organization of the Scout Movement|WOSM]]{{·}}[[World Association of Girl Guides and Girl Scouts|WAGGGS]]{{·}}[[Non-aligned Scouting and Scout-like organisations|Non-aligned organisations]]{{·}}[[Scouting controversy and conflict]]{{·}}[[Scouting in popular culture]]{{·}}[[List of Scouts]]{{·}}[[List of highest awards in Scouting]]
|list2 = {{Navbox|child
|title = [[French colonial empires|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]
|titlestyle = background#
|groupstyle = background:lavender;
|group1 = [[Mahgreb]]
|list1 = [[French rule in Algeria|Algeria]]{{·}} [[French Morocco|Morocco]] <small>([[Arguin|Arguin Island]])</small>{{·}} [[History of Tunisia|Tunisia]]
|group2 = [[French West Africa]]
|list2 = [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]{{·}} [[French Dahomey|Dahomey]]{{·}} [[French Sudan]]{{·}} [[French Guinea|Guinea]]{{·}} [[History of Mauritania#French colonization and post-colonial history|Mauritania]]{{·}} [[History of Niger#Colonization|Niger]]{{·}} [[History of Senegal|Senegal]]{{·}} [[French Upper Volta|Upper Volta]]
|group3 = Togo
|list3 = [[French Togoland]]{{·}} [[James Island (The Gambia)|James Island]]
|group4 = [[French Equatorial Africa]]
|list4 = [[Colonial Chad|Chad]]{{·}} [[History of Gabon|Gabon]]{{·}} [[History of the Republic of the Congo|Middle Congo]]{{·}} [[Oubangui-Chari]]
|group5 = [[Comoros]]
|list5 = [[Anjouan]]{{·}} [[Grande Comore]]{{·}} [[Mohéli]]
|group6 = Southern Africa
|list6 = [[History of Djibouti#French interest|French Somaliland (Djibouti)]]{{·}} [[History of Madagascar#French control|Madagascar]]{{·}} [[Mauritius|Ile de France]]{{·}} [[Seychelles]]
}}
|group3 = [[Scouting in the United Kingdom]]
|abbr3 = Scouting
|list3 = [[The Scout Association]]{{·}}[[Girlguiding UK]]{{·}}[[Beaver Scouts]]{{·}}[[Cub Section (UK)]]{{·}}[[Venture Scout]]{{·}}[[Explorer Scouts]]{{·}}[[Brownie (Girl Guides)]]{{·}}[[Ranger (Girl Guide)]]{{·}}[[Rainbow (Girl Guides)]]{{·}}[[Scout Network]]{{·}}[[Chief Scout (United Kingdom)]]{{·}}[[Scout Counties]]{{·}}[[Scout District]]{{·}}[[Scout Section (UK)]]{{·}}[[Scout Activity Centre]]{{·}}[[Young Leaders (The Scout Association)|Young Leaders]]
|list4 = {{Navbox with columns|child
|title = Navbox with columns nested in itself
|colstyle = text-align:center;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = {{Navbox with columns|child
|colwidth = 50%
|colstyle = text-align:center;
|col1header = Col1.1Header
|col2header = Col1.2Header
|col1 = Col1.1
|col2 = Col1.2
}}
|col2 = Col2
|col3 = {{Navbox with columns|child
|colwidth = 33%
|colstyle = text-align:center;
|col1header = Col3.1Header
|col2header = Col3.2Header
|col3header = Col3.3Header
|col1 = Col3.1
|col2 = Col3.2
|col3 = Col3.3
}}
|col4 = Col4
}}
}}
== Footnotes ==
{{reflist}}
== See also ==
{{Navigational templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
[[Category:Navigational boxes| ]]
}}</includeonly>
29242db67171ea06c102dcaa56397a6a348ce3d1
Template:Navbox with collapsible groups
10
242
470
2021-01-02T17:07:52Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:navbox|navbox
|name = {{{name|<noinclude>Navbox with collapsible groups</noinclude>}}}
|navbar = {{{navbar|}}}
|state = {{{state|<noinclude>uncollapsed</noinclude>}}}
|border = {{{border|{{{1|}}}}}}
|title = {{{title<includeonly>|</includeonly>}}}
|above = {{{above|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|bodyclass = {{{bodyclass|}}}
|titleclass = {{{titleclass|}}}
|aboveclass = {{{aboveclass|}}}
|belowclass = {{{belowclass|}}}
|groupclass = {{{groupclass|}}}
|listclass = {{{listclass|}}}
|imageclass = {{{imageclass|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|basestyle = {{{basestyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|list1 =
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}{{{sect1titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list1style|}}}{{{content1style|}}}
|title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}<noinclude> or {{{section1}}} or {{{sect1}}}</noinclude>
|list1 = {{{list1<includeonly>|</includeonly>}}}{{{content1|}}}<noinclude> or {{{content1}}}</noinclude>
|image = {{{image1|}}}
|imageleft = {{{imageleft1|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list1|}}}{{{content1|}}}
}}
|list2 =
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}{{{sect2titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list2style|}}}{{{content2style|}}}
|title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}<noinclude> or {{{section2}}} or {{{sect2}}}</noinclude>
|list1 = {{{list2<includeonly>|</includeonly>}}}{{{content2|}}}<noinclude> or {{{content2}}}</noinclude>
|image = {{{image2|}}}
|imageleft = {{{imageleft2|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list2|}}}{{{content2|}}}
}}
|list3 =
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}{{{sect3titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list3style|}}}{{{content3style|}}}
|title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}<noinclude> or {{{section3}}} or {{{sect3}}}</noinclude>
|list1 = {{{list3<includeonly>|</includeonly>}}}{{{content3|}}}<noinclude> or {{{content3}}}</noinclude>
|image = {{{image3|}}}
|imageleft = {{{imageleft3|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list3|}}}{{{content3|}}}
}}
|list4 =
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}{{{sect4titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list4style|}}}{{{content4style|}}}
|title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}<noinclude> or {{{section4}}} or {{{sect4}}}</noinclude>
|list1 = {{{list4<includeonly>|</includeonly>}}}{{{content4|}}}<noinclude> or {{{content4}}}</noinclude>
|image = {{{image4|}}}
|imageleft = {{{imageleft4|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list4|}}}{{{content4|}}}
}}
|list5 =
{{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}{{{sect5titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list5style|}}}{{{content5style|}}}
|title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}<noinclude> or {{{section5}}} or {{{sect5}}}</noinclude>
|list1 = {{{list5<includeonly>|</includeonly>}}}{{{content5|}}}<noinclude> or {{{content5}}}</noinclude>
|image = {{{image5|}}}
|imageleft = {{{imageleft5|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list5|}}}{{{content5|}}}
}}
|list6 =
{{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}{{{sect6titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list6style|}}}{{{content6style|}}}
|title = {{{group6|}}}{{{sect6|}}}{{{section6|}}}
|list1 = {{{list6|}}}{{{content6|}}}
|image = {{{image6|}}}
|imageleft = {{{imageleft6|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list6|}}}{{{content6|<noinclude>''(...etc, to group20/sect20/section20 and list20/content20)''</noinclude>}}}
}}
|list7 =
{{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}{{{sect7titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list7style|}}}{{{content7style|}}}
|title = {{{group7|}}}{{{sect7|}}}{{{section7|}}}
|list1 = {{{list7|}}}{{{content7|}}}
|image = {{{image7|}}}
|imageleft = {{{imageleft7|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list7|}}}{{{content7|}}}
}}
|list8 =
{{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}{{{sect8titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list8style|}}}{{{content8style|}}}
|title = {{{group8|}}}{{{sect8|}}}{{{section8|}}}
|list1 = {{{list8|}}}{{{content8|}}}
|image = {{{image8|}}}
|imageleft = {{{imageleft8|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list8|}}}{{{content8|}}}
}}
|list9 =
{{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}{{{sect9titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list9style|}}}{{{content9style|}}}
|title = {{{group9|}}}{{{sect9|}}}{{{section9|}}}
|list1 = {{{list9|}}}{{{content9|}}}
|image = {{{image9|}}}
|imageleft = {{{imageleft9|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list9|}}}{{{content9|}}}
}}
|list10 =
{{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}{{{sect10titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list10style|}}}{{{content10style|}}}
|title = {{{group10|}}}{{{sect10|}}}{{{section10|}}}
|list1 = {{{list10|}}}{{{content10|}}}
|image = {{{image10|}}}
|imageleft = {{{imageleft10|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list10|}}}{{{content10|}}}
}}
|list11 =
{{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}{{{sect11titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list11style|}}}{{{content11style|}}}
|title = {{{group11|}}}{{{sect11|}}}{{{section11|}}}
|list1 = {{{list11|}}}{{{content11|}}}
|image = {{{image11|}}}
|imageleft = {{{imageleft11|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list11|}}}{{{content11|}}}
}}
|list12 =
{{#if:{{{group12|}}}{{{sect12|}}}{{{section12|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group12style|}}}{{{sect12titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list12style|}}}{{{content12style|}}}
|title = {{{group12|}}}{{{sect12|}}}{{{section12|}}}
|list1 = {{{list12|}}}{{{content12|}}}
|image = {{{image12|}}}
|imageleft = {{{imageleft12|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list12|}}}{{{content12|}}}
}}
|list13 =
{{#if:{{{group13|}}}{{{sect13|}}}{{{section13|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr13}}} |uncollapsed |{{{state13|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group13style|}}}{{{sect13titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list13style|}}}{{{content13style|}}}
|title = {{{group13|}}}{{{sect13|}}}{{{section13|}}}
|list1 = {{{list13|}}}{{{content13|}}}
|image = {{{image13|}}}
|imageleft = {{{imageleft13|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list13|}}}{{{content13|}}}
}}
|list14 =
{{#if:{{{group14|}}}{{{sect14|}}}{{{section14|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr14}}} |uncollapsed |{{{state14|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group14style|}}}{{{sect14titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list14style|}}}{{{content14style|}}}
|title = {{{group14|}}}{{{sect14|}}}{{{section14|}}}
|list1 = {{{list14|}}}{{{content14|}}}
|image = {{{image14|}}}
|imageleft = {{{imageleft14|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list14|}}}{{{content14|}}}
}}
|list15 =
{{#if:{{{group15|}}}{{{sect15|}}}{{{section15|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr15}}} |uncollapsed |{{{state15|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group15style|}}}{{{sect15titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list15style|}}}{{{content15style|}}}
|title = {{{group15|}}}{{{sect15|}}}{{{section15|}}}
|list1 = {{{list15|}}}{{{content15|}}}
|image = {{{image15|}}}
|imageleft = {{{imageleft15|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list15|}}}{{{content15|}}}
}}
|list16 =
{{#if:{{{group16|}}}{{{sect16|}}}{{{section16|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr16}}} |uncollapsed |{{{state16|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group16style|}}}{{{sect16titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list16style|}}}{{{content16style|}}}
|title = {{{group16|}}}{{{sect16|}}}{{{section16|}}}
|list1 = {{{list16|}}}{{{content16|}}}
|image = {{{image16|}}}
|imageleft = {{{imageleft16|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list16|}}}{{{content16|}}}
}}
|list17 =
{{#if:{{{group17|}}}{{{sect17|}}}{{{section17|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr17}}} |uncollapsed |{{{state17|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group17style|}}}{{{sect17titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list17style|}}}{{{content17style|}}}
|title = {{{group17|}}}{{{sect17|}}}{{{section17|}}}
|list1 = {{{list17|}}}{{{content17|}}}
|image = {{{image17|}}}
|imageleft = {{{imageleft17|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list17|}}}{{{content17|}}}
}}
|list18 =
{{#if:{{{group18|}}}{{{sect18|}}}{{{section18|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr18}}} |uncollapsed |{{{state18|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group18style|}}}{{{sect18titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list18style|}}}{{{content18style|}}}
|title = {{{group18|}}}{{{sect18|}}}{{{section18|}}}
|list1 = {{{list18|}}}{{{content18|}}}
|image = {{{image18|}}}
|imageleft = {{{imageleft18|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list18|}}}{{{content18|}}}
}}
|list19 =
{{#if:{{{group19|}}}{{{sect19|}}}{{{section19|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr19}}} |uncollapsed |{{{state19|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group19style|}}}{{{sect19titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list19style|}}}{{{content19style|}}}
|title = {{{group19|}}}{{{sect19|}}}{{{section19|}}}
|list1 = {{{list19|}}}{{{content19|}}}
|image = {{{image19|}}}
|imageleft = {{{imageleft19|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list19|}}}{{{content19|}}}
}}
|list20 =
{{#if:{{{group20|}}}{{{sect20|}}}{{{section20|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr20}}} |uncollapsed |{{{state20|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group20style|}}}{{{sect20titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list20style|}}}{{{content20style|}}}
|title = {{{group20|}}}{{{sect20|}}}{{{section20|}}}
|list1 = {{{list20|}}}{{{content20|}}}
|image = {{{image20|}}}
|imageleft = {{{imageleft20|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list20|}}}{{{content20|}}}
}}
|below = {{{below|}}}
}}<noinclude>
{{documentation}}
</noinclude>
0007d09740d9818eb8f3d6534e757d717c92627f
Template:Collapsible option
10
243
472
2021-01-02T17:07:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{big|'''Initial visibility'''}}
To set the template's initial visibility, the {{para|state}} [[Help:Template#Parameters|parameter]] may be used:
<ul>
<li>{{para|state|collapsed}}: <nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}}| |BASE}}PAGENAME<includeonly>}}</includeonly><nowiki>|state=collapsed}}</nowiki> to show the template collapsed, i.e., hidden apart from its title bar
<li>{{para|state|expanded}}: <nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}} | |BASE}}PAGENAME<includeonly>}}</includeonly><nowiki>|state=expanded}}</nowiki> to show the template expanded, i.e., fully visible
<li>{{para|state|autocollapse}}: <nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}} | |BASE}}PAGENAME<includeonly>}}</includeonly><nowiki>|state=autocollapse}}</nowiki><ul>
<li>shows the template collapsed to the title bar if there is a <nowiki>{{navbar}}, a {{sidebar}}</nowiki>, or some other table on the page with the collapsible attribute
<li>shows the template in its expanded state if there are no other collapsible items on the page
</ul></ul>
If the {{para|state}} parameter is not set, the template's initial visibility is taken from the {{para|default}} parameter in the template. For this template, that currently evaluates to <code>{{#switch:{{{default|}}}|collapsed=collapsed|expanded=expanded|autocollapse|#default=autocollapse}}</code>.</ul><!--
-->{{#if:{{{align|}}}|
:{{para|align|''value''}} is also available; where ''value'' can be either <code>right</code> or <code>left</code>. The default is <code>center</code>
}}{{#if:{{{title-background|}}}|:{{para|title-background|''value''}} is also available; where ''value'' can be either <code>navbox</code> or a <code>color</code>. The default is <code>none</code> and <code>navbox</code> defaults to the default navbox color.
}}{{#if:{{{width|}}}|
:{{para|width|''value''}} is also available; where ''value'' can be either <code>N [em/%/px]</code> or <code>auto</code>. The default is <code>100%</code>
}}<!--
Add {{pp-template}} if template page where this template is transcluded is protected:
-->{{template other
| {{#if:{{PROTECTIONLEVEL:edit}} |{{pp-template|docusage=yes}}
| {{#if:{{PROTECTIONLEVEL:move}} |{{pp-move|docusage=yes|small=yes}} }}
}} }}<noinclude>
{{Documentation}}
</noinclude>
2dea98e604c251cb7c89115d2d092088ea8a688f
Template:Big
10
244
474
2021-01-02T17:07:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span style="font-size: 120%;">{{{1}}}</span><noinclude>
{{Documentation}}
<!-- Please add categories to the /doc subpage; interwikis go to Wikidata, thank you. -->
</noinclude>
921a29fc5d6c9a23b246400fe247ba4f2e0f2aaf
Template:Para
10
245
476
2021-01-02T17:07:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<code class="nowrap" {{#if:{{{plain|}}}|style="border:none;background-color:inherit;color:inherit;"}}>|{{#if:{{{1|}}}|{{{1}}}=}}{{{2|}}}</code><noinclude>
{{Documentation}}
<!--Categories and interwikis go near the bottom of the /doc subpage.-->
</noinclude>
66770157bb51b0aabb5b874e4f1bb8f04c80915c
Module:Color contrast
828
246
478
2021-01-02T17:07:54Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--
-- This module implements
-- {{Color contrast ratio}}
-- {{Greater color contrast ratio}}
-- {{ColorToLum}}
-- {{RGBColorToLum}}
--
local p = {}
local HTMLcolor = mw.loadData( 'Module:Color contrast/colors' )
local function sRGB ( v )
if (v <= 0.03928) then
v = v / 12.92
else
v = math.pow((v+0.055)/1.055, 2.4)
end
return v
end
local function rgbdec2lum( R, G, B )
if ( 0 <= R and R < 256 and 0 <= G and G < 256 and 0 <= B and B < 256 ) then
return 0.2126 * sRGB(R/255) + 0.7152 * sRGB(G/255) + 0.0722 * sRGB(B/255)
else
return ''
end
end
local function hsl2lum( h, s, l )
if ( 0 <= h and h < 360 and 0 <= s and s <= 1 and 0 <= l and l <= 1 ) then
local c = (1 - math.abs(2*l - 1))*s
local x = c*(1 - math.abs( math.fmod(h/60, 2) - 1) )
local m = l - c/2
local r, g, b = m, m, m
if( 0 <= h and h < 60 ) then
r = r + c
g = g + x
elseif( 60 <= h and h < 120 ) then
r = r + x
g = g + c
elseif( 120 <= h and h < 180 ) then
g = g + c
b = b + x
elseif( 180 <= h and h < 240 ) then
g = g + x
b = b + c
elseif( 240 <= h and h < 300 ) then
r = r + x
b = b + c
elseif( 300 <= h and h < 360 ) then
r = r + c
b = b + x
end
return rgbdec2lum(255*r, 255*g, 255*b)
else
return ''
end
end
local function color2lum( c )
if (c == nil) then
return ''
end
-- whitespace
c = c:match( '^%s*(.-)[%s;]*$' )
-- unstrip nowiki strip markers
c = mw.text.unstripNoWiki(c)
-- lowercase
c = c:lower()
-- first try to look it up
local L = HTMLcolor[c]
if (L ~= nil) then
return L
end
-- convert from hsl
if mw.ustring.match(c,'^hsl%([%s]*[0-9][0-9%.]*[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local h, s, l = mw.ustring.match(c,'^hsl%([%s]*([0-9][0-9%.]*)[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return hsl2lum(tonumber(h), tonumber(s)/100, tonumber(l)/100)
end
-- convert from rgb
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*%)$')
return rgbdec2lum(tonumber(R), tonumber(G), tonumber(B))
end
-- convert from rgb percent
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return rgbdec2lum(255*tonumber(R)/100, 255*tonumber(G)/100, 255*tonumber(B)/100)
end
-- remove leading # (if there is one) and whitespace
c = mw.ustring.match(c, '^[%s#]*([a-f0-9]*)[%s]*$')
-- split into rgb
local cs = mw.text.split(c or '', '')
if( #cs == 6 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[2])
local G = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[4])
local B = 16*tonumber('0x' .. cs[5]) + tonumber('0x' .. cs[6])
return rgbdec2lum(R, G, B)
elseif ( #cs == 3 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[1])
local G = 16*tonumber('0x' .. cs[2]) + tonumber('0x' .. cs[2])
local B = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[3])
return rgbdec2lum(R, G, B)
end
-- failure, return blank
return ''
end
function p._greatercontrast(args)
local bias = tonumber(args['bias'] or '0') or 0
local v1 = color2lum(args[1] or '')
local c2 = args[2] or '#FFFFFF'
local v2 = color2lum(c2)
local c3 = args[3] or '#000000'
local v3 = color2lum(c3)
local ratio1 = 0;
local ratio2 = 0;
if (type(v1) == 'number' and type(v2) == 'number') then
ratio1 = (v2 + 0.05)/(v1 + 0.05)
ratio1 = (ratio1 < 1) and 1/ratio1 or ratio1
end
if (type(v1) == 'number' and type(v3) == 'number') then
ratio2 = (v3 + 0.05)/(v1 + 0.05)
ratio2 = (ratio2 < 1) and 1/ratio2 or ratio2
end
return (ratio1 + bias > ratio2) and c2 or c3
end
function p._ratio(args)
local v1 = color2lum(args[1])
local v2 = color2lum(args[2])
if (type(v1) == 'number' and type(v2) == 'number') then
-- v1 should be the brighter of the two.
if v2 > v1 then
v1, v2 = v2, v1
end
return (v1 + 0.05)/(v2 + 0.05)
else
return args['error'] or '?'
end
end
function p._styleratio(args)
local style = (args[1] or ''):lower()
local bg, fg = 'white', 'black'
local lum_bg, lum_fg = 1, 0
if args[2] then
local lum = color2lum(args[2])
if lum ~= '' then bg, lum_bg = args[2], lum end
end
if args[3] then
local lum = color2lum(args[3])
if lum ~= '' then fg, lum_fg = args[3], lum end
end
local slist = mw.text.split(mw.ustring.gsub(mw.ustring.gsub(style or '', '&#[Xx]23;', '#'), '#', '#'), ';')
for k = 1,#slist do
s = slist[k]
local k,v = s:match( '^[%s]*([^:]-):([^:]-)[%s;]*$' )
k = k or ''
v = v or ''
if (k:match('^[%s]*(background)[%s]*$') or k:match('^[%s]*(background%-color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_bg = v, lum end
elseif (k:match('^[%s]*(color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_fg = v, lum end
end
end
if lum_bg > lum_fg then
return (lum_bg + 0.05)/(lum_fg + 0.05)
else
return (lum_fg + 0.05)/(lum_bg + 0.05)
end
end
function p.lum(frame)
return color2lum(frame.args[1] or frame:getParent().args[1])
end
function p.ratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._ratio(args)
end
function p.styleratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._styleratio(args)
end
function p.greatercontrast(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._greatercontrast(args)
end
return p
2a7acd1ffb5dc0655049c436e7a71f54827d5422
Module:Color contrast/colors
828
247
480
2021-01-02T17:07:55Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
return {
aliceblue = 0.92880068253475,
antiquewhite = 0.84646951707754,
aqua = 0.7874,
aquamarine = 0.8078549208338,
azure = 0.97265264954166,
beige = 0.8988459998705,
bisque = 0.80732327372979,
black = 0,
blanchedalmond = 0.85084439608156,
blue = 0.0722,
blueviolet = 0.12622014321946,
brown = 0.098224287876511,
burlywood = 0.51559844533893,
cadetblue = 0.29424681085422,
chartreuse = 0.76032025902623,
chocolate = 0.23898526114557,
coral = 0.37017930872924,
cornflowerblue = 0.30318641994179,
cornsilk = 0.93562110372965,
crimson = 0.16042199953026,
cyan = 0.7874,
darkblue = 0.018640801980939,
darkcyan = 0.20329317839046,
darkgoldenrod = 0.27264703559993,
darkgray = 0.39675523072563,
darkgreen = 0.091143429047575,
darkgrey = 0.39675523072563,
darkkhaki = 0.45747326349994,
darkmagenta = 0.07353047651207,
darkolivegreen = 0.12651920884889,
darkorange = 0.40016167026524,
darkorchid = 0.13413142174857,
darkred = 0.054889674531132,
darksalmon = 0.40541471563381,
darkseagreen = 0.43789249325969,
darkslateblue = 0.065792846227988,
darkslategray = 0.067608151928044,
darkslategrey = 0.067608151928044,
darkturquoise = 0.4874606277449,
darkviolet = 0.10999048339343,
deeppink = 0.23866895828276,
deepskyblue = 0.44481603395575,
dimgray = 0.14126329114027,
dimgrey = 0.14126329114027,
dodgerblue = 0.27442536991456,
firebrick = 0.10724525535015,
floralwhite = 0.95922484825004,
forestgreen = 0.18920812076002,
fuchsia = 0.2848,
gainsboro = 0.71569350050648,
ghostwhite = 0.94311261886323,
gold = 0.69860877428159,
goldenrod = 0.41919977809569,
gray = 0.2158605001139,
green = 0.15438342968146,
greenyellow = 0.80609472611453,
grey = 0.2158605001139,
honeydew = 0.96336535554782,
hotpink = 0.34658438169715,
indianred = 0.21406134963884,
indigo = 0.03107561486337,
ivory = 0.99071270600615,
khaki = 0.77012343394121,
lavender = 0.80318750514521,
lavenderblush = 0.90172748631046,
lawngreen = 0.73905893124963,
lemonchiffon = 0.94038992245622,
lightblue = 0.63709141280807,
lightcoral = 0.35522120733135,
lightcyan = 0.94587293494829,
lightgoldenrodyellow = 0.93348351018297,
lightgray = 0.65140563741982,
lightgreen = 0.69091979956865,
lightgrey = 0.65140563741982,
lightpink = 0.58566152734898,
lightsalmon = 0.4780675225206,
lightseagreen = 0.35050145117042,
lightskyblue = 0.56195637618331,
lightslategray = 0.23830165007287,
lightslategrey = 0.23830165007287,
lightsteelblue = 0.53983888284666,
lightyellow = 0.98161818392882,
lime = 0.7152,
limegreen = 0.44571042246098,
linen = 0.88357340984379,
magenta = 0.2848,
maroon = 0.045891942324215,
mediumaquamarine = 0.49389703310801,
mediumblue = 0.044077780212328,
mediumorchid = 0.21639251153773,
mediumpurple = 0.22905858091648,
mediumseagreen = 0.34393112338131,
mediumslateblue = 0.20284629471622,
mediumspringgreen = 0.70704308194184,
mediumturquoise = 0.5133827926448,
mediumvioletred = 0.14371899849357,
midnightblue = 0.02071786635086,
mintcream = 0.97834604947588,
mistyrose = 0.82183047859185,
moccasin = 0.80083000991567,
navajowhite = 0.76519682342785,
navy = 0.015585128108224,
oldlace = 0.91900633405549,
olive = 0.20027537200568,
olivedrab = 0.22593150951929,
orange = 0.4817026703631,
orangered = 0.25516243753416,
orchid = 0.31348806761439,
palegoldenrod = 0.78792647887614,
palegreen = 0.77936759006353,
paleturquoise = 0.76436077921714,
palevioletred = 0.28754994117889,
papayawhip = 0.87797100199835,
peachpuff = 0.74905589878251,
peru = 0.30113074877936,
pink = 0.63271070702466,
plum = 0.45734221587969,
powderblue = 0.68254586500605,
purple = 0.061477070432439,
rebeccapurple = 0.07492341159447,
red = 0.2126,
rosybrown = 0.32319457649407,
royalblue = 0.16663210743188,
saddlebrown = 0.097922285020521,
salmon = 0.36977241527596,
sandybrown = 0.46628543696283,
seagreen = 0.19734199706275,
seashell = 0.92737862206922,
sienna = 0.13697631337098,
silver = 0.52711512570581,
skyblue = 0.55291668518184,
slateblue = 0.14784278062136,
slategray = 0.20896704076536,
slategrey = 0.20896704076536,
snow = 0.96533341834849,
springgreen = 0.73052306068529,
steelblue = 0.20562642207625,
tan = 0.48237604163921,
teal = 0.16996855778968,
thistle = 0.56818401093733,
tomato = 0.30638612719415,
turquoise = 0.5895536427578,
violet = 0.40315452986676,
wheat = 0.74909702820482,
white = 1,
whitesmoke = 0.91309865179342,
yellow = 0.9278,
yellowgreen = 0.50762957208707,
}
6ae47fdb24de4eed5ec26d203faf5341a388987b
Template:Navbox subgroups
10
248
482
2021-01-02T17:07:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{Navbox
|name = {{{name|}}}
|state = {{{state|}}}
|navbar = {{{navbar|}}}
|border = {{#if:{{{border|}}}|{{{border}}}|child}}
|title = {{{title|}}}
|above = {{{above|}}}
|below = {{{below|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|groupwidth = {{{groupwidth|}}}
|group1 = {{#if:{{{group1|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group1}}}</div>}}
|group2 = {{#if:{{{group2|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group2}}}</div>}}
|group3 = {{#if:{{{group3|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group3}}}</div>}}
|group4 = {{#if:{{{group4|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group4}}}</div>}}
|group5 = {{#if:{{{group5|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group5}}}</div>}}
|group6 = {{#if:{{{group6|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group6}}}</div>}}
|group7 = {{#if:{{{group7|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group7}}}</div>}}
|group8 = {{#if:{{{group8|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group8}}}</div>}}
|group9 = {{#if:{{{group9|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group9}}}</div>}}
|group10 = {{#if:{{{group10|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group10}}}</div>}}
|group11 = {{#if:{{{group11|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group11}}}</div>}}
|group12 = {{#if:{{{group12|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group12}}}</div>}}
|group13 = {{#if:{{{group13|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group13}}}</div>}}
|group14 = {{#if:{{{group14|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group14}}}</div>}}
|group15 = {{#if:{{{group15|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group15}}}</div>}}
|group16 = {{#if:{{{group16|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group16}}}</div>}}
|group17 = {{#if:{{{group17|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group17}}}</div>}}
|group18 = {{#if:{{{group18|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group18}}}</div>}}
|group19 = {{#if:{{{group19|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group19}}}</div>}}
|group20 = {{#if:{{{group20|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group20}}}</div>}}
|list1 = {{{list1|}}}
|list2 = {{{list2|}}}
|list3 = {{{list3|}}}
|list4 = {{{list4|}}}
|list5 = {{{list5|}}}
|list6 = {{{list6|}}}
|list7 = {{{list7|}}}
|list8 = {{{list8|}}}
|list9 = {{{list9|}}}
|list10 = {{{list10|}}}
|list11 = {{{list11|}}}
|list12 = {{{list12|}}}
|list13 = {{{list13|}}}
|list14 = {{{list14|}}}
|list15 = {{{list15|}}}
|list16 = {{{list16|}}}
|list17 = {{{list17|}}}
|list18 = {{{list18|}}}
|list19 = {{{list19|}}}
|list20 = {{{list20|}}}
|bodyclass = {{{bodyclass|}}}
|titleclass = {{{titleclass|}}}
|aboveclass = {{{aboveclass|}}}
|belowclass = {{{belowclass|}}}
|groupclass = {{{groupclass|}}}
|listclass = {{{listclass|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|imagestyle = {{{imagestyle|}}}
|titlestyle = {{{titlestyle|}}}
|basestyle = {{{basestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|groupstyle = padding-left:0;padding-right:0;{{{groupstyle|}}}
|liststyle = {{{liststyle|}}}
|evenstyle = {{{evenstyle|}}}
|oddstyle = {{{oddstyle|}}}
|group1style = {{{group1style|}}}
|group2style = {{{group2style|}}}
|group3style = {{{group3style|}}}
|group4style = {{{group4style|}}}
|group5style = {{{group5style|}}}
|group6style = {{{group6style|}}}
|group7style = {{{group7style|}}}
|group8style = {{{group8style|}}}
|group9style = {{{group9style|}}}
|group10style = {{{group10style|}}}
|group11style = {{{group11style|}}}
|group12style = {{{group12style|}}}
|group13style = {{{group13style|}}}
|group14style = {{{group14style|}}}
|group15style = {{{group15style|}}}
|group16style = {{{group16style|}}}
|group17style = {{{group17style|}}}
|group18style = {{{group18style|}}}
|group19style = {{{group19style|}}}
|group20style = {{{group20style|}}}
|list1style = {{{list1style|}}}
|list2style = {{{list2style|}}}
|list3style = {{{list3style|}}}
|list4style = {{{list4style|}}}
|list5style = {{{list5style|}}}
|list6style = {{{list6style|}}}
|list7style = {{{list7style|}}}
|list8style = {{{list8style|}}}
|list9style = {{{list9style|}}}
|list10style = {{{list10style|}}}
|list11style = {{{list11style|}}}
|list12style = {{{list12style|}}}
|list13style = {{{list13style|}}}
|list14style = {{{list14style|}}}
|list15style = {{{list15style|}}}
|list16style = {{{list16style|}}}
|list17style = {{{list17style|}}}
|list18style = {{{list18style|}}}
|list19style = {{{list19style|}}}
|list20style = {{{list20style|}}}
|evenodd = {{{evenodd|}}}
|listpadding = {{{listpadding|}}}
}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
3bce677814c9558e1955a042f53842a02714c680
Template:Navbox subgroups/doc
10
249
484
2021-01-02T17:07:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{Intricate template}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Navbox suite}}
This template is designed to be used with {{tl|Navbox}} or other [[Wikipedia:Navigation template|navigation template]]s that allow creating lists of links with groups headers or titles. This template allows the creation of subgroups that can be assigned to a list item within {{tl|Navbox}}. A subgroup may contain up to 20 list items.
== Blank template ==
<pre>
{{Navbox subgroup
| groupstyle =
| liststyle =
| group1 =
| list1 =
| group2 =
| list2 =
...
| group20 =
| list20 =
}}
</pre>
== Parameters ==
This template employs all parameters of {{tl|Navbox}}. Please see the documentation there for more complete descriptions. In fact, the only differences between this template and {{tl|Navbox}} are as follows:
*The border parameter defaults to "child"
*The group padding defaults to 0.75em on the left/right, and can only be changed with the <code>grouppadding</code> parameter. This is done to prevent the [[Internet Explorer box model bug]] from affecting the width of groups.
Everything else is ''exactly'' the same as {{tl|Navbox}}.
Only the most common parameters are listed below.
=== Cells ===
:; ''list<sub>n</sub>''
:: (i.e. ''list1'', ''list2'', ... ''list20'') The body of the template, usually a list of links. Format is inline. At least one ''list'' parameter is required; each additional ''list'' is displayed in a separate row of the table. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below).
:; ''group<sub>n</sub>''
:: (i.e. ''group1'', ''group2'', ..., ''group20'') If specified, text appears in a header cell displayed to the left of ''list<sub>n</sub>''. If omitted, ''list<sub>n</sub>'' uses the full width of the table. The background color defaults to <code><span style="background:#e6e6ff; color:black;">#e6e6ff</span></code>, but can be changed via the ''groupstyle'' parameter (see below).
=== Styles ===
:; ''bodystyle''
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template body. Examples:
::: <code>background:#''nnnnnn'';</code>
::: <code>text-align:[''right/center/left/justified''];</code>
:; ''groupstyle''
:: CSS styles to apply to the ''group<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Examples:
::: <code>background:#''nnnnnn'';</code>
::: <code>text-align:[''left/center/right''];</code>
::: <code>vertical-align:[''top/middle/bottom''];</code>
::: <code>white-space:nowrap;</code>
:; ''grouppadding''
:: CSS style to specify group padding. Should usually be specified using em units. It is recommended to leave this parameter alone and use the default padding. Examples:
::: <code>grouppadding = 0em 1em;</code> (1em on left/right, 0em on top/bottom)
::: <code>grouppadding = 0em 0.5em 0em 1em;</code> (0em top, 0.5em right, 0em bottom, 1em left)
:; ''liststyle''
:: CSS styles to apply to all lists. Overridden by the ''oddstyle'' and ''evenstyle'' parameters (if specified) below.
:; ''oddstyle''
:; ''evenstyle''
:: CSS styles to apply to the odd-numbered list items (''list1'', ''list3'', etc) or even-numbered list items (''list2'', ''list4'', etc), respectively. Typically used to set background color (<code>background:#''nnnnnn'';</code>) in order to achieve an alternating background color between odd and even-numbered lists.
:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. NOTE: Due to system limitations, do '''not''' use a semi-colon to close this command.
==Setting the width of groups==
If multiple {{tl|Navbox subgroup}} templates are used inside of a parent {{tl|Navbox}}, it generally looks better if the width of the groups matches up. In order to do this, one must set the <code>groupwidth</code> parameter:
:<code>groupwidth = 10em</code>
An alternative way is to set the <code>groupstyle</code> parameters to contain the desired width, and the <code>liststyle</code> parameters to have width:auto (due to HTML/CSS reasons). For example, place the following code in each {{tl|Navbox subgroup}} to adjust the widths:
:<code>groupstyle = width:10em;</code>
:<code>liststyle = width:auto;</code>
*NOTE: For the <code>groupstyle</code> widths to work, you '''must''' set the <code>liststyle</code> width to "auto".
If you also use the <code>image</code> or <code>imageleft</code> parameters, then you will most likely also need to set their width manually using the <code>imagestyle</code> and <code>imageleftstyle</code> parameters.
==Example==
The following is an example of ''Navbox subgroup'' used within a ''Navbox'' template.
{{Navbox
| state = uncollapsed
| name = Navbox subgroup/doc
| title = Protected Areas of Colorado
| listclass = hlist
| group1 = National Park Service
| list1 = {{Navbox subgroup
| group1 = National Parks
| list1 =
*[[Black Canyon of the Gunnison National Park|Black Canyon of the Gunnison]]
*[[Great Sand Dunes National Park and Preserve|Great Sand Dunes]]
*[[Mesa Verde National Park|Mesa Verde]]
*[[Rocky Mountain National Park|Rocky Mountain]]
| group2 = National Monuments
| list2 =
*[[Colorado National Monument|Colorado]]
*[[Florissant Fossil Beds National Monument|Florissant Fossil Beds]]
*[[Hovenweep National Monument|Hovenweep]]
*[[Yucca House National Monument|Yucca House]]
| group3 = National Historic Sites
| list3 =
*[[Bent's Old Fort National Historic Site|Bent's Old Fort]]
*[[Sand Creek Massacre National Historic Site|Sand Creek Massacre]]
| group4 = National Recreation Area
| list4 =
*[[Curecanti National Recreation Area|Curecanti]]
}}
| group2 = National Forests
| list2 =
*[[Arapaho National Forest|Arapaho]]
*[[Grand Mesa National Forest|Grand Mesa]]
*[[Gunnison National Forest|Gunnison]]
*[[Pike National Forest|Pike]]
*[[Rio Grande National Forest|Rio Grande]]
*[[Roosevelt National Forest|Roosevelt]]
*[[Medicine Bow – Routt National Forest|Medicine Bow – Routt]]
*[[San Isabel National Forest|San Isabel]]
*[[San Juan National Forest|San Juan]]
*[[Uncompahgre National Forest|Uncompahgre]]
*[[White River National Forest|White River]]
}}
<pre style="overflow:scroll;">
{{Navbox
| state = uncollapsed
| name = Protected Areas of Colorado
| title = Protected Areas of Colorado
| listclass = hlist
| group1 = National Park Service
| list1 = {{Navbox subgroup
| group1 = National Parks
| list1 =
*[[Black Canyon of the Gunnison National Park|Black Canyon of the Gunnison]]
*[[Great Sand Dunes National Park and Preserve|Great Sand Dunes]]
*[[Mesa Verde National Park|Mesa Verde]]
*[[Rocky Mountain National Park|Rocky Mountain]]
| group2 = National Monuments
| list2 =
*[[Colorado National Monument|Colorado]]
*[[Florissant Fossil Beds National Monument|Florissant Fossil Beds]]
*[[Hovenweep National Monument|Hovenweep]]
*[[Yucca House National Monument|Yucca House]]
| group3 = National Historic Sites
| list3 =
*[[Bent's Old Fort National Historic Site|Bent's Old Fort]]
*[[Sand Creek Massacre National Historic Site|Sand Creek Massacre]]
| group4 = National Recreation Area
| list4 =
*[[Curecanti National Recreation Area|Curecanti]]
}}
| group2 = National Forests
| list2 =
*[[Arapaho National Forest|Arapaho]]
*[[Grand Mesa National Forest|Grand Mesa]]
*[[Gunnison National Forest|Gunnison]]
*[[Pike National Forest|Pike]]
*[[Rio Grande National Forest|Rio Grande]]
*[[Roosevelt National Forest|Roosevelt]]
*[[Medicine Bow - Routt National Forest|Medicine Bow - Routt]]
*[[San Isabel National Forest|San Isabel]]
*[[San Juan National Forest|San Juan]]
*[[Uncompahgre National Forest|Uncompahgre]]
*[[White River National Forest|White River]]
}}
</pre>
== See also ==
* {{tl|Navbox}} – Basic navbox
* {{tl|Navbox with columns}} – Allows columns instead of groups/lists
* {{tl|Navbox with collapsible groups}} – Another variation.
* {{strikethrough|[[Wikipedia:Line-break handling]] – The how-to guide about how to handle word wraps (line breaks) on Wikipedia, such as the wrapping of the link lists used in navboxes.}} Deprecated; use the <code>hlist</code> class.
* {{strikethrough|{{tl|Nowrap begin}} – The recommended format for adding bullets, pipes, or dashes between list items.}} Deprecated; use the <code>hlist</code> class.
* {{tl|Nobold}} – To display text at normal font-weight within a context where the default font-weight is bold, e.g. header cells in tables.
{{Navigation templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!--Categories-->
[[Category:Navigational boxes| ]]
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
}}</includeonly>
3de951c1ca1a9050df72ee2377477bd3f20f9b5c
Template:Nowrap
10
250
486
2021-01-02T17:07:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span class="nowrap">{{{1}}}</span><noinclude>
{{documentation}}
<!-- Categories go on the /doc page; interwikis go to Wikidata. -->
</noinclude>
5d0dc6b6d89b37f4356242404f46138a4017f015
Template:Nowrap begin
10
251
488
2021-01-02T17:07:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><span class="nowrap"></includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
b4c620d9081bc494acbfae059cbb0dc18575c1c6
Template:Nowrap end
10
252
490
2021-01-02T17:07:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly></span></includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
b30742b0d0f9c52ca4f1657a3a8c5ade72ad4a16
Template:.w
10
253
492
2021-01-02T17:07:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:·]]
557e6c2829a423bf209bcbdf91ca4421c23faf0d
Template:·
10
254
494
2021-01-02T17:07:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<b>·</b> <noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
bddcd60a7b03421d93c14219c3518e748538fd4e
Template:·w
10
255
496
2021-01-02T17:07:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:W]]
87ff529c3d1c14c812020a04d51492dc27c38190
Template:W
10
256
498
2021-01-02T17:07:58Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude>{{Documentation}}</noinclude>
de4983e47f70cfbddabe5ff162dc1dc2b7437e4d
Template:·wrap
10
257
500
2021-01-02T17:07:58Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Wrap]]
0beb14addfff7f4b4c1817a4c51ae0a6373f2f76
Template:Wrap
10
258
502
2021-01-02T17:07:58Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly></span> <span class="nowrap"></includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
59d1129cf2bd5c694d1fbf4a58e3307b766048d4
Template:Smallsup
10
259
504
2021-01-02T17:07:58Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><sup><small>{{{1}}}</small></sup></includeonly><noinclude>
{{Documentation}}
</noinclude>
c174fb3247218273210500118556feb9f3c76d5a
Template:Country showdata
10
260
506
2021-01-02T17:07:59Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>__NOEDITSECTION__
{{documentation|content=<code>Template:{{PAGENAME}}</code> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <code>[[Template:flag|flag]]</code>, <code>[[Template:flagicon|flagicon]]</code>, and others.
{{ombox|text=This template is within the scope of '''[[Wikipedia:WikiProject Flag Template|WikiProject Flag Template]]''', a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page.}}
[[File:{{{flag alias|Flag of None.svg}}}|thumb|{{#if:{{{flag link|}}} | See also: [[{{{flag link}}}]] | {{#ifexist: Flag of {{{alias}}} | See also: [[Flag of {{{alias}}}]] | }} }}]]
===Standard parameters===
<table class="wikitable">
<tr><th>Parameter name</th><th>Value</th><th>Meaning</th>
</tr><tr>
<td><code>alias</code></td>
<td>{{#if: {{{alias|}}} | <code>{{{alias}}}</code> | <span style="color:red">'''undefined!'''</span> }}
<td>Main article name ([[{{{alias}}}]])</td>
</tr>
{{#if: {{{shortname alias|}}} |
<tr>
<td><code>shortname alias</code></td>
<td><code>{{{shortname alias}}}</code></td>
<td>''(optional)'' Display name to be used for the wikilink, if <code>alias</code> is a disambiguated article name, for example</td>
</tr>
}}
<tr>
<td><code>flag alias</code></td>
<td>{{#if: {{{flag alias|}}} | <code>{{{flag alias}}}</code> | <span style="color:red">'''undefined!'''</span> }}</td>
<td>Image name ([[:File:{{{flag alias}}}]], shown on right)</td>
</tr></table>
{{#if: {{{var1|{{{flag alias-naval|}}}}}} |
===Flag variants===
{{#if:{{{flag link|}}} | {{details|{{{flag link}}}}} | {{#ifexist: Flag of {{{alias}}} | {{details|Flag of {{{alias}}}}} | }} }}
{{#ifeq:{{{variant|♦}}}|♦|{{red|Note: These variants cannot be used unless the line <code>{{!}} variant {{=}} {{(((}}variant{{!}}{{)))}}</code> is added to this template.}}}}
<table class="wikitable">
<tr><th>Label</th><th>Flag image (40px)</th><th>Image name</th></tr>
{{#if: {{{var1|}}} | <tr><td><code>{{{var1}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var1}}}}}}|40px|{{{border-{{{var1}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var1}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var2|}}} | <tr><td><code>{{{var2}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var2}}}}}}|40px|{{{border-{{{var2}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var2}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var3|}}} | <tr><td><code>{{{var3}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var3}}}}}}|40px|{{{border-{{{var3}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var3}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var4|}}} | <tr><td><code>{{{var4}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var4}}}}}}|40px|{{{border-{{{var4}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var4}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var5|}}} | <tr><td><code>{{{var5}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var5}}}}}}|40px|{{{border-{{{var5}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var5}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var6|}}} | <tr><td><code>{{{var6}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var6}}}}}}|40px|{{{border-{{{var6}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var6}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var7|}}} | <tr><td><code>{{{var7}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var7}}}}}}|40px|{{{border-{{{var7}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var7}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var8|}}} | <tr><td><code>{{{var8}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var8}}}}}}|40px|{{{border-{{{var8}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var8}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var9|}}} | <tr><td><code>{{{var9}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var9}}}}}}|40px|{{{border-{{{var9}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var9}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var10|}}} | <tr><td><code>{{{var10}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var10}}}}}}|40px|{{{border-{{{var10}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var10}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var11|}}} | <tr><td><code>{{{var11}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var11}}}}}}|40px|{{{border-{{{var11}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var11}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var12|}}} | <tr><td><code>{{{var12}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var12}}}}}}|40px|{{{border-{{{var12}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var12}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var13|}}} | <tr><td><code>{{{var13}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var13}}}}}}|40px|{{{border-{{{var13}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var13}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var14|}}} | <tr><td><code>{{{var14}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var14}}}}}}|40px|{{{border-{{{var14}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var14}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var15|}}} | <tr><td><code>{{{var15}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var15}}}}}}|40px|{{{border-{{{var15}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var15}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var16|}}} | <tr><td><code>{{{var16}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var16}}}}}}|40px|{{{border-{{{var16}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var16}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var17|}}} | <tr><td><code>{{{var17}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var17}}}}}}|40px|{{{border-{{{var17}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var17}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var18|}}} | <tr><td><code>{{{var18}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var18}}}}}}|40px|{{{border-{{{var18}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var18}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var19|}}} | <tr><td><code>{{{var19}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var19}}}}}}|40px|{{{border-{{{var19}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var19}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var20|}}} | <tr><td><code>{{{var20}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var20}}}}}}|40px|{{{border-{{{var20}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var20}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var21|}}} | <tr><td><code>{{{var21}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var21}}}}}}|40px|{{{border-{{{var21}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var21}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var22|}}} | <tr><td><code>{{{var22}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var22}}}}}}|40px|{{{border-{{{var22}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var22}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var23|}}} | <tr><td><code>{{{var23}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var23}}}}}}|40px|{{{border-{{{var23}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var23}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var24|}}} | <tr><td><code>{{{var24}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var24}}}}}}|40px|{{{border-{{{var24}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var24}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var25|}}} | <tr><td><code>{{{var25}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var25}}}}}}|40px|{{{border-{{{var25}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var25}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var26|}}} | <tr><td><code>{{{var26}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var26}}}}}}|40px|{{{border-{{{var26}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var26}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var27|}}} | <tr><td><code>{{{var27}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var27}}}}}}|40px|{{{border-{{{var27}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var27}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var28|}}} | <tr><td><code>{{{var28}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var28}}}}}}|40px|{{{border-{{{var28}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var28}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var29|}}} | <tr><td><code>{{{var29}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var29}}}}}}|40px|{{{border-{{{var29}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var29}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var30|}}} | <tr><td><code>{{{var30}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var30}}}}}}|40px|{{{border-{{{var30}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var30}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var31|}}} | <tr><td><code>{{{var31}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var31}}}}}}|40px|{{{border-{{{var31}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var31}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var32|}}} | <tr><td><code>{{{var32}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var32}}}}}}|40px|{{{border-{{{var32}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var32}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var33|}}} | <tr><td><code>{{{var33}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var33}}}}}}|40px|{{{border-{{{var33}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var33}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var34|}}} | <tr><td><code>{{{var34}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var34}}}}}}|40px|{{{border-{{{var34}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var34}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var35|}}} | <tr><td><code>{{{var35}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var35}}}}}}|40px|{{{border-{{{var35}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var35}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var36|}}} | <tr><td><code>{{{var36}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var36}}}}}}|40px|{{{border-{{{var36}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var36}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var37|}}} | <tr><td><code>{{{var37}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var37}}}}}}|40px|{{{border-{{{var37}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var37}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var38|}}} | <tr><td><code>{{{var38}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var38}}}}}}|40px|{{{border-{{{var38}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var38}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var39|}}} | <tr><td><code>{{{var39}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var39}}}}}}|40px|{{{border-{{{var39}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var39}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var40|}}} | <tr><td><code>{{{var40}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var40}}}}}}|40px|{{{border-{{{var40}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var40}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-naval|}}} | <tr><td><code>naval</code></td><td style="text-align:center;">[[File:{{{flag alias-naval}}}|40px|{{{border-naval|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-naval}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-air force|}}} | <tr><td><code>air force</code></td><td style="text-align:center;">[[File:{{{flag alias-air force}}}|40px|{{{border-air force|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-air force}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-army|}}} | <tr><td><code>army</code></td><td style="text-align:center;">[[File:{{{flag alias-army}}}|40px|{{{border-army|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-army}}}</code></td></tr> }}<!--
--></table>
}}
{{#if: {{{flag alias-naval|}}}{{{link alias-naval|}}}{{{flag alias-air force|}}}{{{link alias-air force|}}}{{{flag alias-army|}}}{{{link alias-army|}}} |
===Military ensigns===
{{#if: {{{flag alias-naval|}}} |
This template includes a naval ensign flag variant that can be used with [[Template:Navy]]:
* <code><nowiki>{{navy|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{navy|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|naval}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|naval}}
| {{#if: {{{link alias-naval|}}} |
This nation's naval ensign is the same as its national flag, so [[Template:Navy]] produces the following:
* <code><nowiki>{{navy|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{navy|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
}}}}
{{#if: {{{flag alias-air force|}}} |
This template includes an air force ensign flag variant that can be used with [[Template:Air force]]:
* <code><nowiki>{{air force|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{air force|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|air force}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|air force}}
| {{#if: {{{link alias-air force|}}} |
This nation's air force ensign is the same as its national flag, so [[Template:Air force]] produces the following:
* <code><nowiki>{{air force|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{air force|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
}}}}
{{#if: {{{flag alias-army|}}} |
This template includes an army ensign flag variant that can be used with [[Template:Army]]:
* <code><nowiki>{{army|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{army|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|army}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|army}}
| {{#if: {{{link alias-army|}}} |
This nation's army ensign is the same as its national flag, so [[Template:Army]] produces the following:
* <code><nowiki>{{army|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{army|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
}}}} }}
{{#if: {{{redir1|}}} |
===Redirect aliases===
This template can also be used via an ''alias'' name (implemented as a redirect to this template):<!--
--><table class="wikitable"><!--
--><tr><th>Alias name</th><th>{{tlx|flag|''alias''}} output</th><th>{{tlx|flagcountry|''alias''}} output</th></tr>
{{#if: {{{redir1|}}} | <tr><td><code>{{{redir1}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir1}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir1}}}}}</td><td>{{flagcountry|{{{redir1}}}}}</td></tr> }}<!--
-->{{#if: {{{redir2|}}} | <tr><td><code>{{{redir2}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir2}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir2}}}}}</td><td>{{flagcountry|{{{redir2}}}}}</td></tr> }}<!--
-->{{#if: {{{redir3|}}} | <tr><td><code>{{{redir3}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir3}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir3}}}}}</td><td>{{flagcountry|{{{redir3}}}}}</td></tr> }}<!--
-->{{#if: {{{redir4|}}} | <tr><td><code>{{{redir4}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir4}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir4}}}}}</td><td>{{flagcountry|{{{redir4}}}}}</td></tr> }}<!--
-->{{#if: {{{redir5|}}} | <tr><td><code>{{{redir5}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir5}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir5}}}}}</td><td>{{flagcountry|{{{redir5}}}}}</td></tr> }}<!--
--></table>
See [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAMEE}}|hidelinks=1&hidetrans=1}} What links here] for a full list of redirects.
}}
===Example usage===
* <code><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}<!--
-->{{#if: {{{shortname alias|}}} |
* <code><nowiki>{{flagcountry|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{flagcountry|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} }}
{{#if: {{{var1|}}} |
====Using a flag variant====
* <code><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}}
}}
{{#if: {{{redir1|}}} |
====Using a redirect alias====
* <code><nowiki>{{flagicon|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{redir1}}}}}
* <code><nowiki>{{flagcountry|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flagcountry|{{{redir1}}}}}
* <code><nowiki>{{flag|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flag|{{{redir1}}}}}
}}
{{#if: {{{related1|}}} |
===Related templates===
Please see the following related <code>country_data</code> templates:
* [[Template:Country data {{{related1}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related1}}}<!-- {{#if:{{{related1param|}}}|{{!}}{{{related1param}}}}} -->}}</span><!--
-->{{#if: {{{related2|}}} |
* [[Template:Country data {{{related2}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related2}}}<!-- {{#if:{{{related2param|}}}|{{!}}{{{related2param}}}}} -->}}</span> }}<!--
-->{{#if: {{{related3|}}} |
* [[Template:Country data {{{related3}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related3}}}<!-- {{#if:{{{related3param|}}}|{{!}}{{{related3param}}}}} -->}}</span> }}<!--
-->{{#if: {{{related4|}}} |
* [[Template:Country data {{{related4}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related4}}}<!-- {{#if:{{{related4param|}}}|{{!}}{{{related4param}}}}} -->}}</span> }}<!--
-->{{#if: {{{related5|}}} |
* [[Template:Country data {{{related5}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related5}}}<!-- {{#if:{{{related5param|}}}|{{!}}{{{related5param}}}}} -->}}</span> }}<!--
-->{{#if: {{{related6|}}} |
* [[Template:Country data {{{related6}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related6}}}<!-- {{#if:{{{related6param|}}}|{{!}}{{{related6param}}}}} -->}}</span> }}<!--
-->}}
{{#ifexist:{{FULLPAGENAME}}/doc |
{{#if:{{Suppress categories|{{{{FULLPAGENAME}}/doc}}}}|
===Other information===
}}
{{{{FULLPAGENAME}}/doc|alias={{{alias|}}}|cat={{{cat|}}}}}
}}
===TemplateData===
{{TemplateDataHeader}}
<templatedata>
{
"description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
"params": {}
}
</templatedata>
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--
-->{{#ifeq:{{SUBPAGENAME}}|sandbox|<!--
-->[[Category:Country data template sandboxes|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]|<!--
-->{{#ifexist:{{FULLPAGENAME}}/doc|<!--
-->[[Category:Country data templates with documentation subpage|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]|<!--
-->[[Category:Uncategorized country data templates|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->}}<!--
-->{{#if:{{{size|}}}|[[Category:Country data templates with distinct default size|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->}}<!--
-->[[Category:All country data templates|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->{{#if:{{{shortname alias|}}}|<!--
-->[[Category:Country data templates with distinct shortname|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->}}<!--
-->{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}||<!--
-->{{#ifeq:{{PAGENAME}}|Country data {{{shortname alias}}}||<!--
-->[[Category:Country data templates with distinct template name|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->}}<!--
-->}}<!--
-->{{#if:{{{flag alias|}}}||<!--
-->[[Category:Country data templates without flag alias|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}]]<!--
-->}}<!--
-->}}<!--
-->}}
|link box=This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]].<br />Please {{purge|purge the cache}} after making any changes to this template.<!--
-->{{#ifexist:{{FULLPAGENAME}}/doc|<!--
--><br />This template has a [[{{FULLPAGENAME}}/doc|/doc]] subpage for the purposes of [[WP:CAT|categories]] and documentation specific to this template.|<!--
-->{{#switch:{{PROTECTIONLEVEL:edit}}|sysop|templateeditor=<!--
--><br />This template is [[WP:PROTECT|{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|fully protected|template-protected}}]] and any [[WP:CAT|categories]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Country_showdata/preload}} /doc] subpage, which is not protected.|#default=<!--
--><br />Any [[WP:CAT|categories]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Country_showdata/preload}} /doc] subpage, which does not exist yet.<!--
-->}}<!--
-->}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
e135e0b2962b78763ae5faebfadca0f79d55e79d
Template:Country data
10
261
508
2021-01-02T17:07:59Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1}}} | alias = | flag alias = Flag placeholder.svg | name = {{{name|}}} | size = {{{size|}}} | border= | altlink = {{{altlink|}}} }}<noinclude>
{{documentation}}
</noinclude>
d0254fb8a3f3540f83135792795b20fda69d4c29
Template:Flagicon
10
262
510
2021-01-02T17:07:59Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude>{{documentation}}</noinclude>
74a3826d1574448ef4718b6b6587fb47ad967e60
Template:Flagicon/core
10
263
512
2021-01-02T17:07:59Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt={{{alias}}}|link={{{alias}}}]]</span><noinclude>{{documentation}}</noinclude>
4e99548c86b2f66f188a087b5f968a8b5679c881
Template:Flag
10
264
514
2021-01-02T17:08:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{country data {{{1|}}}|flag/core|name={{{name|{{{1|}}}}}}|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude>{{documentation}}</noinclude>
d13aac8e23bee030a6fc9b49a8aa1135104ace22
Template:Flag/core
10
265
516
2021-01-02T17:08:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]] {{#ifeq:{{{size}}}|23x16px| }}{{#ifeq:{{{alias}}}|Nepal| }}</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude>
c8210dc8b9b4298a5c5ed98d56ddb436db5e7688
Template:Country flag2
10
266
518
2021-01-02T17:08:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Flag/core]]
750d89b534d572aec0ea1072dc21d52d77fdd7c0
Template:Regions of France
10
267
520
2021-01-02T17:08:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox with collapsible groups
| name = Regions of France
| title = [[Regions of France|Administrative regions of France]]
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| group1 =
| list1 = {{Navbox|child
|title = Current administrative regions (since 2016)
|state = {{#ifeq:{{{1|}}}|current|uncollapsed|collapsed}}
|titlestyle = background#
|groupstyle = background:lavender;
|group1 = [[Metropolitan France|Metropolitan regions]]
|list1 =
* [[Auvergne-Rhône-Alpes]]
* [[Bourgogne-Franche-Comté]]
* [[Brittany (administrative region)|Brittany]]
* [[Centre-Val de Loire]]
* [[Corsica]]
* [[Grand Est]]
* [[Hauts-de-France]]
* [[Île-de-France]]
* [[Normandy]]
* [[Nouvelle-Aquitaine]]
* [[Occitanie]]
* [[Pays de la Loire]]
* [[Provence-Alpes-Côte d'Azur]]
|group2 = [[Overseas regions]]
|list2 =
* [[French Guiana]]
* [[Guadeloupe]]
* [[Martinique]]
* [[Mayotte]]
* [[Réunion]]
}}
| list2 = {{Navbox|child
|title = Former administrative regions (1982–2015)
|state = {{#ifeq:{{{1|}}}|former|uncollapsed|collapsed}}
|titlestyle = background#
|groupstyle = background:lavender;
|group1 = [[Metropolitan France|Metropolitan regions]]
|list1 =
* [[Alsace]]
* [[Aquitaine]]
* [[Auvergne]]
* [[Burgundy]]
* [[Brittany (administrative region)|Brittany]]
* [[Centre-Val de Loire]]
* [[Champagne-Ardenne]]
* [[Corsica]]
* [[Franche-Comté]]
* [[Île-de-France]]
* [[Languedoc-Roussillon]]
* [[Limousin]]
* [[Lorraine]]
* [[Midi-Pyrénées]]
* [[Nord-Pas-de-Calais]]
* [[Lower Normandy]]
* [[Upper Normandy]]
* [[Pays de la Loire]]
* [[Picardy]]
* [[Poitou-Charentes]]
* [[Provence-Alpes-Côte d'Azur]]
* [[Rhône-Alpes]]
|group2 = [[Overseas regions]]
|list2 =
* [[French Guiana]]
* [[Guadeloupe]]
* [[Martinique]]
* [[Mayotte]]
* [[Réunion]]
}}
}}<noinclude>
{{documentation}}
</noinclude>
e161a6870c4d972275b967d938f94f9fe6fca46e
Template:Country data Alsace
10
268
522
2021-01-02T17:08:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = Alsace
| flag alias = Flag of Alsace.svg
| flag alias-traditional = Flag of Alsace (historical).svg
| flag alias-free = Flag of the Republic of Alsace-Lorraine.svg
| size = {{{size|}}}
| name = {{{name|}}}
| altlink = {{{altlink}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = traditional
| var2 = free
</noinclude>
}}<noinclude>
</noinclude>
03492b0ecd50012898ef414e5cf681d5965a78af
Template:Country data Lorraine
10
269
524
2021-01-02T17:08:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = Lorraine (region)
| shortname alias = Lorraine
| flag alias = Lorraine.svg
| size = {{{size|}}}
| name = {{{name|}}}
}}
33a035e26cbac0a27653f179098800ed486374df
Template:Countries of Europe
10
270
526
2021-01-02T17:08:02Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Sovereign states of Europe]]
6ab8da398d1de55ec2c633aa3366ace644f7fad4
Template:Sovereign states of Europe
10
271
528
2021-01-02T17:08:02Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Sovereign states of Europe
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| title = {{flagicon image|Flag of Europe.svg|size=23px}} [[List of sovereign states and dependent territories in Europe|Sovereign states and dependencies of Europe]]
| imagestyle = padding:0 0.5em;
| image = [[File:Europe orthographic Caucasus Urals boundary (with borders).svg|100px|link=Europe]]
| listclass = hlist
| group1 = [[List of sovereign states|Sovereign states]]
| list1 =
* [[Albania]]
* [[Andorra]]
* [[Armenia]]{{sup|2}}
* [[Austria]]
* [[Azerbaijan]]
* [[Belarus]]
* [[Belgium]]
* [[Bosnia and Herzegovina]]
* [[Bulgaria]]
* [[Croatia]]
* [[Cyprus]]{{sup|2}}
* [[Czech Republic]]
* [[Denmark]]
* [[Estonia]]
* [[Finland]]
* [[France]]
* [[Georgia (country)|Georgia]]
* [[Germany]]
* [[Greece]]
* [[Hungary]]
* [[Iceland]]{{sup|1}}
* [[Republic of Ireland|Ireland]]
* [[Italy]]
* [[Kazakhstan]]
* [[Latvia]]
* [[Liechtenstein]]
* [[Lithuania]]
* [[Luxembourg]]
* [[Republic of Macedonia|Macedonia]]
* [[Malta]]
* [[Moldova]]
* [[Monaco]]
* [[Montenegro]]
* [[Kingdom of the Netherlands|Netherlands]]
* [[Norway]]
* [[Poland]]
* [[Portugal]]
* [[Romania]]
* [[Russia]]
* [[San Marino]]
* [[Serbia]]
* [[Slovakia]]
* [[Slovenia]]
* [[Spain]]
* [[Sweden]]
* [[Switzerland]]
* [[Turkey]]
* [[Ukraine]]
* [[United Kingdom]]
* [[Vatican City]]
| group2 = {{longitem|[[List of states with limited recognition|States with limited<br/>recognition]]}}
| list2 =
* [[Abkhazia]]{{sup|2}}
* [[Kosovo]]
* [[Nagorno-Karabakh Republic|Nagorno-Karabakh]]{{sup|2}}
* [[Northern Cyprus]]{{sup|2}}
* [[South Ossetia]]{{sup|2}}
* [[Transnistria]]
| group3 = {{longitem|[[Dependent territory|Dependencies]]}}
| list3 = {{Navbox|child
| group1 = Denmark
| list1 =
* [[Faroe Islands]]{{sup|1}}
** {{smaller|[[Denmark#Greenland and the Faroe Islands|autonomous country of the Kingdom of Denmark]]}}
| group2 = United Kingdom
| list2 =
* [[Akrotiri and Dhekelia]]{{sup|2}}
** {{smaller|Sovereign Base Areas}}
* [[Gibraltar]]
** {{smaller|[[British Overseas Territories|British Overseas Territory]]}}
* [[Guernsey]]
* [[Isle of Man]]
*[[Jersey]]
** {{smaller|[[Crown dependencies]]}}
}}
| group4 = {{longitem|Special areas of<br/>internal sovereignty}}<!--These are considered integral parts of their controlling state, but have a political arrangement which was decided through an international agreement.-->
| list4 = {{Navbox|child
| group1 = Finland
| list1 =
* [[Åland Islands]]
** {{smaller|[[autonomous administrative division|autonomous region]] subject to the [[Åland convention|Åland Convention of 1921]]}}
| group2 = Norway
| list2 =
*[[Svalbard]]
** {{smaller|[[unincorporated area]] subject to the [[Svalbard Treaty]]}}
| group3 = United Kingdom
| list3 =
* [[Northern Ireland]]
** {{smaller|[[Countries of the United Kingdom|country of the United Kingdom]] subject to the [[Good Friday Agreement|British-Irish Agreement]]}}
}}
| belowstyle = text-align:left;
| below =
{{ubl
|{{sup|1}} [[Island#Oceanic islands|Oceanic islands]] within the vicinity of Europe are usually grouped with the continent even though they are not situated on its continental shelf.
|{{sup|2}} Some countries completely outside the conventional geographical boundaries of Europe are commonly associated with the continent due to ethnological links.
}}
}}<noinclude>
{{documentation}}
</noinclude>
96c926d3d5324f79369b5b6db3179d2a2447e4ce
Template:Administrative divisions of Spain
10
272
530
2021-01-02T17:08:02Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{navbox
| name = Administrative divisions of Spain
| title = [[Autonomous communities of Spain|Autonomies]] of [[Spain]]
| listclass = hlist
| image = [[File:Flag of Spain.svg|64px|Flag of Spain]]
| group1 = [[Autonomous communities of Spain|Autonomous communities]]
| list1 =
* [[Andalusia]]
* [[Aragon]]
* [[Asturias]]
* [[Balearic Islands]]
* [[Basque Country (autonomous community)|Basque Country]]
* [[Canary Islands]]
* [[Cantabria]]
* [[Castile–La Mancha]]
* [[Castile and León]]
* [[Catalonia]]
* [[Extremadura]]
* [[Galicia (Spain)|Galicia]]
* [[La Rioja (Spain)|La Rioja]]
* [[Community of Madrid]]
* [[Region of Murcia]]
* [[Navarre]]
* [[Valencian Community]]
| group2 = [[Autonomous cities of Spain|Autonomous cities]]
| list2 =
* [[Ceuta]]
* [[Melilla]]
| group3 = ''[[Plazas de soberanía]]''
| list3 =
* [[Chafarinas Islands|Islas Chafarinas]]
* [[Peñón de Alhucemas]]
* [[Peñón de Vélez de la Gomera]]
}}<noinclude>
[[fr:Modèle:Palette Communautés autonomes d'Espagne]]
</noinclude>
cffa3b4a9357b6865096cffd019e3f191e51d16b
Template:Countries of the Americas
10
273
532
2021-01-02T17:08:03Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
|name = Countries of the Americas
| bodyclass = hlist
|title = Countries and territories of the [[Americas]]
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
|image = [[Image:LocationAmericas.png|100px|Americas]]
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; <!--reduces wide gap between wrapped groupname lines-->
|group1 = [[List of sovereign states|Sovereign states]]
|list1style = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
|list1 =
* [[Antigua and Barbuda]]
* [[Argentina]]
* [[Bahamas]]
* [[Barbados]]
* [[Belize]]
* [[Bolivia]]
* [[Brazil]]
* [[Canada]]
* [[Chile]]
* [[Colombia]]
* [[Costa Rica]]
* [[Cuba]]
* [[Dominica]]
* [[Dominican Republic]]
* [[Ecuador]]
* [[El Salvador]]
* [[Grenada]]
* [[Guatemala]]
* [[Guyana]]
* [[Haiti]]
* [[Honduras]]
* [[Jamaica]]
* [[Mexico]]
* [[Nicaragua]]
* [[Panama]]
* [[Paraguay]]
* [[Peru]]
* [[Saint Kitts and Nevis|St. Kitts and Nevis]]
* [[Saint Lucia|St. Lucia]]
* [[Saint Vincent and the Grenadines|St. Vincent and the Grenadines]]
* [[Suriname]]
* [[Trinidad and Tobago]]
* [[United States]]
* [[Uruguay]]
* [[Venezuela]]
|group2 = [[Dependent territory|Dependencies]] and<br/>other [[Territory (country subdivision)|territories]]
|liststyle = background:transparent;<!--subgroups in use-->
|list2 =
{{Navbox subgroups
|groupstyle = font-weight:normal;
|liststyle = padding:0.15em 0; line-height:1.4em; <!--as above-->
|evenodd = swap
|group1 = [[Denmark]]
|list1 = [[Greenland]]
|group2 = [[France]]
|list2 =
* [[French Guiana]]
* [[Guadeloupe]]{{.w}} [[Martinique]]{{.w}}
[[Saint Barthélemy|St. Barthélemy]]{{.w}}
[[Saint Martin (France)|St. Martin]]{{.w}} [[Saint Pierre and Miquelon|St. Pierre and Miquelon]]
|group3 = [[Kingdom of the Netherlands|Netherlands]]
|list3 = {{nowrap begin}} [[Aruba]]{{.w}} [[Netherlands Antilles]] {{nowrap end}}
|group4 = [[United Kingdom]]
|list4 =
*[[Anguilla]]{{.w}} [[Bermuda]]{{.w}}
*[[British Virgin Islands]]{{.w}}
*[[Cayman Islands]]{{.w}} [[Falkland Islands]]{{.w}} [[Montserrat]]{{.w}} [[South Georgia and the South Sandwich Islands]]{{.w}} [[Turks and Caicos Islands]]
|group5 = [[United States]]
|list5 =
* [[Navassa Island]]{{.w}} [[Petrel Islands]]{{.w}}
*[[Puerto Rico]]{{.w}}[[Serranilla Bank]]{{.w}}[[United States Virgin Islands|U.S. Virgin Islands]]
}}
}}<noinclude>
[[Category:Americas templates|Countries]]
[[fr:Modèle:Pays d'Amérique]]
</noinclude>
60ef225b1cc392ff1672211efcb0a59aaeebbb1e
Template:Countries of North America
10
274
534
2021-01-02T17:08:03Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Countries of North America
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| title = [[List of sovereign states and dependent territories in North America|Countries and dependencies]] of [[North America]]
| imagestyle = padding:0 1.0em 0 0.5em;
| image = [[File:Location North America.svg|120px|link=North America]]
| group1 = [[Sovereign state]]s
| list1 =
{{Navbox |child |groupstyle=font-weight:normal;
| group1 = Entire
| list1 =
* [[Antigua and Barbuda]]
* [[The Bahamas|Bahamas]]
* [[Barbados]]
* [[Belize]]
* [[Canada]]
* [[Costa Rica]]
* [[Cuba]]
* [[Dominica]]
* [[Dominican Republic]]
* [[El Salvador]]
* [[Grenada]]
* [[Guatemala]]
* [[Haiti]]
* [[Honduras]]
* [[Jamaica]]
* [[Mexico]]
* [[Nicaragua]]
* [[Panama]]
* [[Saint Kitts and Nevis|St. Kitts and Nevis]]
* [[Saint Lucia]]
* [[Saint Vincent and the Grenadines|St. Vincent and the Grenadines]]
* [[Trinidad and Tobago]]
* [[United States]]
| group2 = In part
| list2 =
* [[Colombia]]
** {{smaller|[[Archipelago of San Andrés, Providencia and Santa Catalina|San Andrés and Providencia]]}}
* [[France]]
** {{smaller|[[Guadeloupe]]
** [[Martinique]]}}
* [[Netherlands]]
** {{smaller|[[Bonaire]]
** [[Saba]]
** [[Sint Eustatius]]}}
* [[Venezuela]]
** {{smaller|[[Nueva Esparta]]}}
}}
<!---group2 omitted to maintain alternating list backgrounds--->
| group3 = [[Dependent territory|Dependencies]]
| list3 =
{{Navbox |child |groupstyle=font-weight:normal;
| group1 = Denmark
| list1 =
* [[Greenland]]
| group2 = France
| list2 =
* [[Clipperton Island]]
* [[Saint Barthélemy|St. Barthélemy]]
* [[Collectivity of Saint Martin|St. Martin]]
* [[Saint Pierre and Miquelon|St. Pierre and Miquelon]]
| group3 = Netherlands
| list3 =
* [[Aruba]]
* [[Curaçao]]
* [[Sint Maarten]]
| group4 = United Kingdom
| list4 =
* [[Anguilla]]
* [[Bermuda]]
* [[British Virgin Islands]]
* [[Cayman Islands]]
* [[Montserrat]]
* [[Turks and Caicos Islands]]
| group5 = United States
| list5 =
* [[Navassa Island]]
* [[Puerto Rico]]
* [[United States Virgin Islands]]
| group6 = Venezuela
| list6 = [[Federal Dependencies of Venezuela|Federal Dependencies]]
}}
}}<noinclude>
{{documentation}}
<!-- Please add meteadata to the <includeonly> section at the bottom of the /doc subpage -->
</noinclude>
121cd39b624346baa09fbf313fedc4ad2c2bc21b
Template:United States topic/doc
10
275
536
2021-01-02T17:08:04Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{Intricate template}}
<!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE. EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE--->
{{High-use|4200+}}
{{Distinguish|Template:United States topics}}
This template allows for the quick creation of a [[WP:Navigation template|navigational template]] for any group of articles which contains the names of the [[U.S. state]]s. It uses {{tlx|Navbox}} to create the navigation box.
==Blank syntax==
<pre>
{{United States topic
<!--passed through to Template:Navbox-->
|name =
|state =
|title =
|titlestyle =
|bodystyle =
|groupstyle =
<!--specific to Template:United States topic-->
|prefix =
|suffix =
|exclude-wdc =
| exclude-ter =
|exclude-isl =
}}
</pre>
==Parameters==
===Mandatory===
; ''name''
: Mandatory when creating a new template (i.e. [[Template:Hospitals in the United States]]), otherwise the "view{{·}} talk{{·}} edit" links will connect to [[Template:United States topic]]. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut.
''One of the following combinations is needed to create the links:
; ''prefix''
: Text to be placed before the U.S. state name. The prefix text is always followed by a space. For example: '''<code><span style="white-space:nowrap;">prefix = List of airports in</span></code>''' would create a title [[List of airports in the United States]] and a body containing state names linked to [[List of airports in Alabama]], [[List of airports in Alaska]], etc.
: Note: In instances when only ''prefix'' is specified, the template inserts "the" between the prefix text and "United States", creating the title [[List of airports in the United States]] instead of [[List of airports in United States]]. In the body it does the same for the [[Northern Mariana Islands]] and the [[United States Virgin Islands]].
; ''suffix''
: Places text after the U.S. state name. For example: '''<code><span style="white-space:nowrap;">suffix = _National Guard</span></code>''' would create a title [[United States National Guard]] and a body containing state names linked to [[Alabama National Guard]], [[Arizona National Guard]], etc.
: Note: An [[underscore]] is used in place of the leading space in the suffix. This is done to allow the use of suffixes without a leading space, as in the following example. A title should be specified to avoid the underscore appearing in the title.
; ''prefix'' {{nobold|and}} ''suffix''
: Places text before and after the U.S. state name. For example: '''<code><span style="white-space:nowrap;">prefix = Index of</span></code>''' and '''<code><span style="white-space:nowrap;">suffix = -related articles</span></code>''' would create a title [[Index of United States-related articles]] and a body containing state names linked to [[Index of Alabama-related articles]], [[Index of Alaska-related articles]], etc.
===Optional===
; ''state''
: {{collapsible option}}
; ''title''
: Text that appears centered in the titlebar (the top bar). This is optional because the use of either ''prefix'', ''suffix'' or both will automatically generate a title if the ''title'' parameter is not supplied. This parameter is not automatically [[wikitext|wiki-link]]ed. For example: <code><span style="white-space:nowrap;"><nowiki>title = [[List of rivers of the United States|Rivers in the United States]]</nowiki></span></code> generates the title '''[[List of rivers of the United States|Rivers in the United States]]'''.
; ''navbar''<nowiki>*</nowiki>
: Defaults to <code>Tnavbar</code>. If set to <code>plain</code>, the <small>v • d • e</small> links on the left side of the titlebar will not be displayed, and padding will be automatically used to keep the title centered. Use <code>off</code> to remove the <small>v • d • e</small> links, but not apply padding (this is for advanced use only; the "plain" option should suffice for most applications where a navbar is not desired). Note that it is highly recommended that one does not hide the navbar, in order to make it easier for users to edit the template, and to keep a standard style across pages.
====Excluding groups====
In some instances the District of Columbia, U.S. Territories (Insular Areas) or U.S. Minor Outlying Islands may not be relevant to or have their own articles on a particular topic. To disable their inclusion in the template and avoid unnecessary [[WP:Red link|red link]]s, add any or all of the following parameters:
; ''exclude-wdc''
: Set to any value this excludes display of the group named ''Federal District'' which links to [[Washington, D.C.]].
; ''exclude-ter''
: Set to any value this excludes display of the group named ''Territories (Insular Areas)'' which links to [[American Samoa]], [[Guam]], etc.
; ''exclude-isl''
: Set to any value this excludes display of the group named ''Outlying Islands'' which links to [[Baker Island]], [[Howland Island]], etc. '''Note:''' even if ''exclude-isl'' is '''not''' set, links will not appear for pages that do not exist. If none of the pages in this group exist, the heading for the group will not appear either.
====Adding groups and lists====
Some templates may require a list of links not already included in the template. These can be specified as follows:
; ''group5''
: Header text displayed in cell to left of text specified in ''list5''.
; ''list5''
: Text or a list of links that is displayed below the state and territory links.
; ''group6''
: Header text displayed in cell to left of text specified in ''list6''.
; ''list6''
: Text or a list of links that is displayed below the state and territory links.
; ''above''
: A full-width cell (no group header) displayed ''above'' the template's body (between the title and U.S. state links).
; ''below''
: A full-width cell (no group header) displayed ''below'' the template's body.
====Change state name used in link====
By default this template uses "[[Georgia (U.S. state)]]" for the state of Georgia, "[[New York (state)]]" for the state of New York, and "[[Washington (state)]]" for the state of Washington. Links for the District of Columbia use "[[Washington, D.C.]]"
The following parameters allow for substitution where the article name does not use the default.
; ''GA''
: Replace "Georgia (U.S. state)" in links with specified text, i.e. "Georgia".
:: <code>|GA = Georgia</code>
; ''NY''
: Replace "New York (state)" in links with specified text, i.e. "New York".
:: <code>|NY = New York</code>
; ''WA''
: Replace "Washington (state)" in links with specified text, i.e. "Washington".
:: <code>|WA = Washington</code>
; ''DC''
: Replace "Washington, D.C." in links with specified text, i.e. "District of Columbia" or "the District of Columbia".
:: <code>|DC = District of Columbia</code>
====Styles====
; ''titlestyle''
: Specifies [[Cascading Style Sheets|CSS]] values to apply to the title. One use of this is to set the background color of the title:
:: <code>titlestyle = background: #0000FF;</code>
:: <code>titlestyle = background: blue;</code>
:Default is: <code><span style="background: #ccccff;">background: #ccccff;</span></code>
; ''bodystyle''
: Specifies CSS values to apply to the entire template. This will not override the following {{tl|Navbox}} default styles:
:: <code>abovestyle = background:#ddddff;</code>
:: <code>belowstyle = background:#ddddff;</code>
:: <code>groupstyle = background:#ddddff; text-align:right; white-space:nowrap;</code>
:: <code>liststyle = width:100%; font-size:95%;</code>
; ''abovestyle''
; ''belowstyle''
: Specifies CSS values to apply to the cell specified via the ''above'' and ''below'' parameters. For instance:
:: <code>belowstyle = border-top: #ccccff 1px solid;</code>
:Default is: <code><span style="background: #ddddff;">background: #ddddff;</span></code>
; ''groupstyle''
: Specifies CSS values to apply to the cells specified via the ''group<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Example:
:: <code>groupstyle = background:#6AFB92; vertical-align:top;</code>
:Default is: <code><span style="background: #ddddff;">background: #ddddff;</span> text-align:right; white-space:nowrap;</code>
; ''liststyle''
: Specifies CSS values to apply to the cells specified via the ''list<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Examples:
:: <code>liststyle = padding: 5px 10px 5px 10px;</code>
:Default is: <code>width:100%; font-size:95%;</code>
==Examples==
===Changing the navbox title===
<pre>
{{United States topic
|title = [[History of the United States]] by polity
|prefix = History of
|NY = New York
}}
</pre>
{{United States topic
|state = uncollapsed
|title = [[History of the United States]] by polity
|prefix = History of
|NY = New York
}}
===Excluding display of federal district and minor outlying islands===
This example also shows the use of the '''titlestyle''' to change the background color and the '''groupstyle''' parameters to change the background color and vertical alignment of text.
<pre>
{{United States topic
|title = [[List of airports in the United States|Airports in the United States]]
|titlestyle = background: #64E986;
|groupstyle = background: #6AFB92; vertical-align: top;
|prefix = List of airports in
|exclude-wdc = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}
</pre>
{{United States topic
|state = uncollapsed
|title = [[List of airports in the United States|Airports in the United States]]
|titlestyle = background: #64E986;
|groupstyle = background: #6AFB92; vertical-align: top;
|prefix = List of airports in
|exclude-wdc = y
|exclude-isl = y
|WA = Washington
|NY = New York
}}
===Adding suffix without leading space===
This example also shows the use of the '''liststyle''' parameter to add some extra padding around the list, the '''group1''' parameter to remove the "States" heading, and the '''WA''' parameter to change link from "Washington (state)" to "Washington".
<pre>
{{United States topic
|liststyle = padding: 5px 10px 5px 10px;
|group1 =
|prefix = Index of
|suffix = -related articles
|exclude-wdc = y
|exclude-ter = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}
</pre>
{{United States topic
|state = uncollapsed
|liststyle = padding: 5px 10px 5px 10px;
|group1 =
|prefix = Index of
|suffix = -related articles
|exclude-wdc = y
|exclude-ter = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}
===Adding suffix with leading space===
Note the use of an [[underscore]] in place of the leading space in the suffix. This is done to accommodate the use of suffixes without a leading space, as in the previous example. A title should be specified to avoid the underscore appearing in the title. This example also uses the '''DC''' parameter to change link from "Washington, D.C." to "District of Columbia".<!-- This is a bad example, as there is no article called "List of X rivers" for any of the 50 states; the lists all have a title of the form "List of rivers of X", and don't use the suffix parameter. As a result, this example has links to redirects instead of articles. -->
<pre>
{{United States topic
|title = [[List of rivers of the United States|Rivers in the United States]]
|prefix = List of
|suffix = _rivers
|exclude-isl = y
|DC = District of Columbia
|NY = New York
|WA = Washington
}}
</pre>
{{United States topic
|state = uncollapsed
|title = [[List of rivers of the United States|Rivers in the United States]]
|prefix = List of
|suffix = _rivers
|exclude-isl = y
|DC = District of Columbia
|NY = New York
|WA = Washington
}}
===Using a suffix without a prefix===
This example also shows use of the '''group5''' and '''list5''' parameters to add a group and list.
<pre style="overflow:auto;">
{{United States topic
<!--passed through to Template: Navbox -->
|title = [[National Guard of the United States]]
|group5 = Other
|list5 =
*[[District of Columbia National Guard|District of Columbia]]
*[[Puerto Rico National Guard|Puerto Rico]]
*[[Virgin Islands National Guard|U.S. Virgin Islands]]
<!-- specific to Template: United States topic -->
|suffix = _National Guard
|exclude-wdc = y
|exclude-ter = y
|exclude-isl = y
|GA = Georgia
|NY = New York
|WA = Washington
</pre>
{{United States topic
<!--passed through to Template: Navbox -->
|state = uncollapsed
|title = [[National Guard of the United States|National Guard]] in the [[United States]]
|group5 = Other
|list5 =
*[[District of Columbia National Guard|District of Columbia]]
*[[Puerto Rico National Guard|Puerto Rico]]
*[[Virgin Islands National Guard|U.S. Virgin Islands]]
<!-- specific to Template: United States topic -->
|suffix = _National Guard
|exclude-wdc = y
|exclude-ter = y
|exclude-isl = y
|GA = Georgia
|NY = New York
|WA = Washington
}}
===Creating a new template===
Code used to create [[Template:Hospitals in the United States]]:
<pre>
{{United States topic
<!--passed through to Template:Navbox-->
|name = {{subst:PAGENAME}}
|title = [[List of hospitals in the United States|Hospitals in the United States]]
<!--specific to Template:United States topic-->
|prefix = List of hospitals in
|exclude-ter = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}<noinclude>
[[Category:United States topic navigational boxes]]
</noinclude>
</pre>
Note: '''<nowiki>{{subst:PAGENAME}}</nowiki>''' in the above example would be replaced by '''Hospitals in the United States''' when this code is saved in [[Template:Hospitals in the United States]].
Result:
{{United States topic
|name = Hospitals in the United States
|title = [[List of hospitals in the United States|Hospitals in the United States]]
|state = uncollapsed
|prefix = List of hospitals in
|exclude-ter = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}
==Templates implemented with United States topic==
# [[Template:Alcohol laws of the United States]]
# [[Template:Alcohol Policy in the United States]] (only by transclusion of Template:Alcohol laws of the United States)
# [[Template:American wine]]
# [[Template:CAP]]
# [[Template:ClimateUS]]
# [[Template:Constitutions of the United States]]
# [[Template:CrimeUS]]
# [[Template:Flora of the United States by political division]]
# [[Template:Geology of the United States by political division]]
# [[Template:Governments of the United States]]
# [[Template:Grand Lodges in the United States]]
# [[Template:High schools in the United States]]
# [[Template:History of slavery in the United States]]
# [[Template:Hospitals in the United States]]
# [[Template:Judiciaries of the United States]]
# [[Template:Lakes in the United States]]
# [[Template:Law enforcement agencies of the United States by state]]
# [[Template:Law of the United States by state]]
# [[Template:LGBT history in the United States]]
# [[Template:Lists of amphibians by U.S. state]]
# [[Template:Lists of casinos by U.S. state]]
# [[Template:Lists of colleges and universities in the United States]]
# [[Template:Lists of companies by U.S. state]]
# [[Template:Lists of festivals by U.S. state]]
# [[Template:Lists of fossiliferous stratigraphic units in the United States]]
# [[Template:Lists of ghost towns by U.S. state]]
# [[Template:Lists of islands by U.S. state]]
# [[Template:Lists of lieutenant governors by U.S. state]]
# [[Template:Lists of mammals by U.S. state]]
# [[Template:Lists of mines in the United States]]
# [[Template:Lists of people by U.S. state]]
# [[Template:Lists of professional sports teams by U.S. state]]
# [[Template:Lists of reptiles by U.S. state]]
# [[Template:Lists of shopping malls by U.S. state]]
# [[Template:Lists of state forests by U.S. state]]
# [[Template:Lists of state parks by U.S. state]]
# [[Template:Lists of United States airports]]
# [[Template:Lists of United States breweries]]
# [[Template:Lists of unused highways by U.S. state]]
# [[Template:Lists of US state agencies]]
# [[Template:Mountains of U.S. political divisions]]
# [[Template:Newspapers in the United States]]
# [[Template:Paleontology in the United States]]
# [[Template:Political party strength in U.S. states]]
# [[Template:Politics in the United States]]
# [[Template:Politics of the United States sidebar templates]]
# [[Template:Protected areas of the United States]]
# [[Template:Rivers in the United States]]
# [[Template:Scouting in the United States]]
# [[Template:Statutory codes of the United States by U.S. state]]
# [[Template:Superfund sites in the United States]]
# [[Template:Time in the United States]]
# [[Template:U.S. Counties]]
# [[Template:U.S. political divisions county courthouses]]
# [[Template:U.S. political divisions drug policy]]
# [[Template:U.S. political divisions education]]
# [[Template:U.S. political divisions electoral reform]]
# [[Template:U.S. political divisions geographies]]
# [[Template:U.S. political divisions histories]]
# [[Template:U.S. political divisions transportation]]
# [[Template:U.S. state templates]]
# [[Template:United States political divisions]]
# [[Template:United States school districts]]
# [[Template:US canals]]
# [[Template:US indexes]]
# [[Template:US outlines]]
# [[Template:US state flags]]
# [[Template:US state seals]]
# [[Template:Vehicle registration plates of the United States]]
; Formerly implemented with United States topic
# [[Template:LGBT rights in the United States]]
# [[Template:Lighthouses in the United States]]
# [[Template:Museums in the US]]
# [[Template:Lists of settlements by U.S. state]]
# [[Template:Air National Guard]]
# [[Template:US National Guard by state]]
==See also==
{{Continent-based templates|state=expanded}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:United States topic navigational boxes| ]]
[[Category:Configurable area-topic templates]]
}}</includeonly>
d003cdaa1788ac3f9d4e444d2ba223b72e6a9320
Template:United States topic
10
276
538
2021-01-02T17:08:05Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = {{{name|United States topic}}}
| title = {{#if:{{{title|}}} | {{{title}}} | [[{{{prefix|}}} {{#if:{{{prefix|}}} |{{#if:{{{suffix|}}} | |the}} }} United States{{{suffix|}}}]] }}
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| navbar = {{{navbar|Tnavbar}}}
| image = {{{image|}}}
| titlestyle = {{{titlestyle|}}}
| bodystyle = {{{bodystyle|}}}
| abovestyle = {{{abovestyle|}}}
| belowstyle = {{{belowstyle|}}}
| groupstyle = {{{groupstyle|}}}
| bodyclass = hlist
| above = {{{above|}}}
| group1 = {{{group1|[[U.S. state|States]]}}}
| list1 =
* [[{{{prefix|}}} Alabama{{{suffix|}}}|Alabama]]
* [[{{{prefix|}}} Alaska{{{suffix|}}}|Alaska]]
* [[{{{prefix|}}} Arizona{{{suffix|}}}|Arizona]]
* [[{{{prefix|}}} Arkansas{{{suffix|}}}|Arkansas]]
* [[{{{prefix|}}} California{{{suffix|}}}|California]]
* [[{{{prefix|}}} Colorado{{{suffix|}}}|Colorado]]
* [[{{{prefix|}}} Connecticut{{{suffix|}}}|Connecticut]]
* [[{{{prefix|}}} Delaware{{{suffix|}}}|Delaware]]
* [[{{{prefix|}}} Florida{{{suffix|}}}|Florida]]
* [[{{{prefix|}}} {{{GA|Georgia (U.S. state)}}}{{{suffix|}}}|Georgia]]
* [[{{{prefix|}}} Hawaii{{{suffix|}}}|Hawaii]]
* [[{{{prefix|}}} Idaho{{{suffix|}}}|Idaho]]
* [[{{{prefix|}}} Illinois{{{suffix|}}}|Illinois]]
* [[{{{prefix|}}} Indiana{{{suffix|}}}|Indiana]]
* [[{{{prefix|}}} Iowa{{{suffix|}}}|Iowa]]
* [[{{{prefix|}}} Kansas{{{suffix|}}}|Kansas]]
* [[{{{prefix|}}} Kentucky{{{suffix|}}}|Kentucky]]
* [[{{{prefix|}}} Louisiana{{{suffix|}}}|Louisiana]]
* [[{{{prefix|}}} Maine{{{suffix|}}}|Maine]]
* [[{{{prefix|}}} Maryland{{{suffix|}}}|Maryland]]
* [[{{{prefix|}}} Massachusetts{{{suffix|}}}|Massachusetts]]
* [[{{{prefix|}}} Michigan{{{suffix|}}}|Michigan]]
* [[{{{prefix|}}} Minnesota{{{suffix|}}}|Minnesota]]
* [[{{{prefix|}}} Mississippi{{{suffix|}}}|Mississippi]]
* [[{{{prefix|}}} Missouri{{{suffix|}}}|Missouri]]
* [[{{{prefix|}}} Montana{{{suffix|}}}|Montana]]
* [[{{{prefix|}}} Nebraska{{{suffix|}}}|Nebraska]]
* [[{{{prefix|}}} Nevada{{{suffix|}}}|Nevada]]
* [[{{{prefix|}}} New Hampshire{{{suffix|}}}|New Hampshire]]
* [[{{{prefix|}}} New Jersey{{{suffix|}}}|New Jersey]]
* [[{{{prefix|}}} New Mexico{{{suffix|}}}|New Mexico]]
* [[{{{prefix|}}} New York{{{suffix|}}}|New York]]
* [[{{{prefix|}}} North Carolina{{{suffix|}}}|North Carolina]]
* [[{{{prefix|}}} North Dakota{{{suffix|}}}|North Dakota]]
* [[{{{prefix|}}} Ohio{{{suffix|}}}|Ohio]]
* [[{{{prefix|}}} Oklahoma{{{suffix|}}}|Oklahoma]]
* [[{{{prefix|}}} Oregon{{{suffix|}}}|Oregon]]
* [[{{{prefix|}}} Pennsylvania{{{suffix|}}}|Pennsylvania]]
* [[{{{prefix|}}} Rhode Island{{{suffix|}}}|Rhode Island]]
* [[{{{prefix|}}} South Carolina{{{suffix|}}}|South Carolina]]
* [[{{{prefix|}}} South Dakota{{{suffix|}}}|South Dakota]]
* [[{{{prefix|}}} Tennessee{{{suffix|}}}|Tennessee]]
* [[{{{prefix|}}} Texas{{{suffix|}}}|Texas]]
* [[{{{prefix|}}} Utah{{{suffix|}}}|Utah]]
* [[{{{prefix|}}} Vermont{{{suffix|}}}|Vermont]]
* [[{{{prefix|}}} Virginia{{{suffix|}}}|Virginia]]
* [[{{{prefix|}}} {{{WA|Washington (state)}}}{{{suffix|}}}|Washington]]
* [[{{{prefix|}}} West Virginia{{{suffix|}}}|West Virginia]]
* [[{{{prefix|}}} Wisconsin{{{suffix|}}}|Wisconsin]]
* [[{{{prefix|}}} Wyoming{{{suffix|}}}|Wyoming]]
| group2 = {{#if:{{{exclude-wdc|}}} | | [[Federal district]] }}
| list2 = {{#if:{{{exclude-wdc|}}} | | [[{{{prefix|}}} {{{DC|Washington, D.C.}}}{{{suffix|}}}|Washington, D.C.]] }}
| group3 = {{#if:{{{exclude-ter|}}} | | [[Insular area]]s }}
| list3 = {{#if:{{{exclude-ter|}}} | |
* [[{{{prefix|}}} American Samoa{{{suffix|}}}|American Samoa]]
* [[{{{prefix|}}} Guam{{{suffix|}}}|Guam]]
* [[{{{prefix|}}} {{#if:{{{prefix|}}} | {{#if:{{{suffix|}}} | |the}} }} Northern Mariana Islands{{{suffix|}}}|Northern Mariana Islands]]
* [[{{{prefix|}}} Puerto Rico{{{suffix|}}}|Puerto Rico ]]
* [[{{{prefix|}}} {{#if:{{{prefix|}}} | {{#if:{{{suffix|}}} | |the}} }} United States Virgin Islands{{{suffix|}}}|U.S. Virgin Islands]]
}}
| group4 = {{#if:{{{exclude-isl|}}} | | [[United States Minor Outlying Islands|Outlying islands]]}}
| list4 = {{#if:{{{exclude-isl|}}} | | {{#ifexist:{{{prefix|}}} Baker Island{{{suffix|}}} |
* [[{{{prefix|}}} Baker Island{{{suffix|}}}|Baker Island]]|}}{{#ifexist:{{{prefix|}}} Howland Island{{{suffix|}}} |
* [[{{{prefix|}}} Howland Island{{{suffix|}}}|Howland Island]]|}}{{#ifexist:{{{prefix|}}} Jarvis Island{{{suffix|}}} |
* [[{{{prefix|}}} Jarvis Island{{{suffix|}}}|Jarvis Island]]|}}{{#ifexist:{{{prefix|}}} Johnston Atoll{{{suffix|}}} |
* [[{{{prefix|}}} Johnston Atoll{{{suffix|}}}|Johnston Atoll]]|}}{{#ifexist:{{{prefix|}}} Kingman Reef{{{suffix|}}} |
* [[{{{prefix|}}} Kingman Reef{{{suffix|}}}|Kingman Reef]]|}}{{#ifexist:{{{prefix|}}} Midway Atoll{{{suffix|}}} |
* [[{{{prefix|}}} Midway Atoll{{{suffix|}}}|Midway Atoll]]|}}{{#ifexist:{{{prefix|}}} Navassa Island{{{suffix|}}} |
* [[{{{prefix|}}} Navassa Island{{{suffix|}}}|Navassa Island]]|}}{{#ifexist:{{{prefix|}}} Palmyra Atoll{{{suffix|}}} |
* [[{{{prefix|}}} Palmyra Atoll{{{suffix|}}}|Palmyra Atoll]]|}}{{#ifexist:{{{prefix|}}} Wake Island{{{suffix|}}} |
* [[{{{prefix|}}} Wake Island{{{suffix|}}}|Wake Island]]|}}
}}<noinclude><!-- parameters to add an additional group/list --></noinclude>
| group5 = {{{group5|}}}
| list5 = {{{list5|}}}
| group6 = {{{group6|}}}
| list6 = {{{list6|}}}
| below = {{{below|}}}
}}<noinclude>
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
98a04f1e0e9dcf7da8df7b883967fcf380021ebd
Template:Political divisions of the United States
10
277
540
2021-01-02T17:08:05Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:United States political divisions]]
48d5c24c1f6547f962abc25191523ba07c1c1c23
Template:United States political divisions
10
278
542
2021-01-02T17:08:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{United States topic
<!-- passed through to Template:Navbox -->
|name = United States political divisions
|title = {{flagicon|USA}} [[Political divisions of the United States|Political divisions]] of the [[United States]]
|state = {{{state|}}}
|bodystyle = text-align:left;
|groupstyle = text-align:right; vertical-align:top;
<!-- specific to Template:United States topic -->
| group5 = [[Indian reservation]]s
| list5 =
*[[List of Indian reservations in the United States|List of Indian reservations]]
**[[List of largest Indian reservations in the United States|largest]]
| group6 = [[Associated state]]s
| list6 =
*[[Federated States of Micronesia]]
*[[Marshall Islands]]
*[[Palau]]
| group7 = Other
| list7 =
*[[Federal enclave]]
}}<noinclude>
{{collapsible option}}
{{DEFAULTSORT:United States Political Divisions}}
[[Category:United States subdivision templates|Political Divisions]]
[[Category:United States topic navigational boxes|Political Divisions]]
</noinclude>
23604be6e33e52ca49966aab9f07337eea24cb4f
Template:States of Brazil
10
279
544
2021-01-02T17:08:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = States of Brazil
| title = {{flagicon|Brazil}} [[Regions of Brazil|Regions]] and [[States of Brazil|States]] of [[Brazil]]
| state = <includeonly>{{{state|collapsed}}}</includeonly>
| bodyclass = hlist
| group1 = [[North Region, Brazil|North]]
| list1 =
* [[Acre (state)|Acre]]
* [[Amapá]]
* [[Amazonas (Brazilian state)|Amazonas]]
* [[Pará]]
* [[Rondônia]]
* [[Roraima]]
* [[Tocantins]]
| group2 = [[Northeast Region, Brazil|Northeast]]
| list2 =
* [[Alagoas]]
* [[Bahia]]
* [[Ceará]]
* [[Maranhão]]
* [[Paraíba]]
* [[Pernambuco]]
* [[Piauí]]
* [[Rio Grande do Norte]]
* [[Sergipe]]
| group3 = [[Central-West Region, Brazil|Center-West]]
| list3 =
* [[Federal District (Brazil)|Distrito Federal]]
* [[Goiás]]
* [[Mato Grosso]]
* [[Mato Grosso do Sul]]
| group4 = [[Southeast Region, Brazil|Southeast]]
| list4 =
* [[Espírito Santo]]
* [[Minas Gerais]]
* [[Rio de Janeiro (state)|Rio de Janeiro]]
* [[São Paulo (state)|São Paulo]]
| group5 = [[South Region, Brazil|South]]
| list5 =
* [[Paraná (state)|Paraná]]
* [[Rio Grande do Sul]]
* [[Santa Catarina (state)|Santa Catarina]]
| below =
* [[Fernando de Noronha]]
* [[Rocas Atoll]]
* [[Saint Peter and Saint Paul Archipelago|Saint Peter and Saint Paul]]
* [[Trindade and Martim Vaz]]
}}<noinclude>
{{collapsible option}}
[[Category:Brazil subdivision templates|{{PAGENAME}}]]
</noinclude>
6fac901fdfb84bfced7977a38c0062f207283cda
Template:Countries of Africa
10
280
546
2021-01-02T17:08:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Countries of Africa
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| title = [[List of sovereign states and dependent territories in Africa|Countries and territories]] of [[Africa]]
| imagestyle = padding:0 1.0em 0 0.5em;
| image = [[File:Africa (orthographic projection).svg|120px|Orthographic projection of Africa]]
| group1 = [[Sovereign state]]s
| list1 ={{Navbox |child |groupstyle=font-weight:normal;
| group1 = entirely<br/>in Africa
| list1 =
* [[Algeria]]
* [[Angola]]
* [[Benin]]
* [[Botswana]]
* [[Burkina Faso]]
* [[Burundi]]
* [[Cameroon]]
* [[Cape Verde]]
* [[Central African Republic]]
* [[Chad]]
* [[Comoros]]
* [[Democratic Republic of the Congo]]
* [[Republic of the Congo]]
* [[Djibouti]]
* [[Egypt]]
* [[Equatorial Guinea]]
* [[Eritrea]]
* [[Ethiopia]]
* [[Gabon]]
* [[The Gambia]]
* [[Ghana]]
* [[Guinea]]
* [[Guinea-Bissau]]
* [[Ivory Coast|Ivory Coast (Côte d'Ivoire)]]
* [[Kenya]]
* [[Lesotho]]
* [[Liberia]]
* [[Libya]]
* [[Madagascar]]
* [[Malawi]]
* [[Mali]]
* [[Mauritania]]
* [[Mauritius]]
* [[Morocco]]
* [[Mozambique]]
* [[Namibia]]
* [[Niger]]
* [[Nigeria]]
* [[Rwanda]]
* [[São Tomé and Príncipe]]
* [[Senegal]]
* [[Seychelles]]
* [[Sierra Leone]]
* [[Somalia]]
* [[South Africa]]
* [[South Sudan]]
* [[Sudan]]
* [[Swaziland]]
* [[Tanzania]]
* [[Togo]]
* [[Tunisia]]
* [[Uganda]]
* [[Zambia]]
* [[Zimbabwe]]
| group2 = partly<br/>in Africa
| list2 =
* [[France]]
** [[Mayotte]]
** [[Réunion]]
* [[Italy]]
** [[Pantelleria]]
** [[Pelagie Islands]]
* [[Portugal]]
** [[Madeira]]
* [[Spain]]
** [[Canary Islands]]
** [[Ceuta]]
** [[Melilla]]
** [[Plazas de soberanía]]
* [[Yemen]]
** [[Socotra]]
}}
| group2 = {{longitem|[[Territory (subdivision)|Territories]] {{nobold|and}}<br/>[[Dependent territory|dependencies]]}}
| list2 =
* [[Scattered Islands in the Indian Ocean|Îles Éparses]]
** {{smaller|France}}
* [[Saint Helena, Ascension and Tristan da Cunha]]
** {{smaller|UK}}
* [[Southern Provinces|Southern Provinces (Western Sahara)]]{{smallsup|1}}
| group3 = {{longitem|[[List of states with limited recognition|States with limited<br/>recognition]]}}
| list3 =
* [[Sahrawi Arab Democratic Republic]]
* [[Somaliland]]
| below = {{smallsup|1}} [[Territorial dispute|Unclear sovereignty]].
}}<noinclude>
{{documentation}}
<!-- Please add metadata to the <includeonly> section at the bottom of the /doc subpage -->
</noinclude>
06edfdbb0c8089a8d4b6421583dabcc466dcf8cf
Template:Countries of Africa/doc
10
281
548
2021-01-02T17:08:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{documentation subpage}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
{{collapsible option |statename=optional}}
== See also ==
{{Continent-based templates}}
<includeonly>
[[Category:Africa templates]]
[[Category:Africa country templates| ]]
</includeonly>
98ab8f1a264b88d3fc206012d98d539d00f2baad
Template:Country data Tunisia
10
282
550
2021-01-02T17:08:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = Tunisia
| flag alias = Flag of Tunisia.svg
| flag alias-1959 = Pre-1999 Flag of Tunisia.svg
| flag alias-old = Tunisian flag till 1831.svg | border-old =
| flag alias-bey = Flag of Tunis Bey-fr.svg
| size = {{{size|}}}
| name = {{{name|}}}
| altlink = {{{altlink|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = 1959
| var2 = old
| var3 = bey
| redir1 = TUN
</noinclude>
}}{{#ifeq:{{{variant|}}}|old|[[Category:Pages with tracked country data flag variants|Tunisia]]}}{{#ifeq:{{{variant|}}}|bey|[[Category:Pages with tracked country data flag variants|Tunisia]]}}
7eddaf87e37bef4520434d02641a86b985720d36
Template:Governorates of Tunisia
10
283
552
2021-01-02T17:08:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
|name = Governorates of Tunisia
|title = [[Governorates of Tunisia]]
|state = {{{state|autocollapse}}}
|listclass = hlist
|image = {{flagicon|Tunisia|size=40px}}
|list1 =
* [[Ariana Governorate|Ariana]]
* [[Béja Governorate|Béja]]
* [[Ben Arous Governorate|Ben Arous]]
* [[Bizerte Governorate|Bizerte]]
* [[Gabès Governorate|Gabès]]
* [[Gafsa Governorate|Gafsa]]
* [[Jendouba Governorate|Jendouba]]
* [[Kairouan Governorate|Kairouan]]
* [[Kasserine Governorate|Kasserine]]
* [[Kebili Governorate|Kebili]]
* [[Kef Governorate|Kef]]
* [[Mahdia Governorate|Mahdia]]
* [[Manouba Governorate|Manouba]]
* [[Medenine Governorate|Medenine]]
* [[Monastir Governorate|Monastir]]
* [[Nabeul Governorate|Nabeul]]
* [[Sfax Governorate|Sfax]]
* [[Sidi Bouzid Governorate|Sidi Bouzid]]
* [[Siliana Governorate|Siliana]]
* [[Sousse Governorate|Sousse]]
* [[Tataouine Governorate|Tataouine]]
* [[Tozeur Governorate|Tozeur]]
* [[Tunis Governorate|Tunis]]
* [[Zaghouan Governorate|Zaghouan]]
|below = [[Wikipedia:WikiProject Tunisia|WikiProject Tunisia]]
}}<noinclude>
{{collapsible option}}
<!--Categories-->
[[Category:Tunisia templates| ]]
[[Category:Africa country subdivision templates|Tunisia]]
[[Category:Governorate templates|Tunisia]]
</noinclude>
161b62a8b27edb14c9d7353cc94ca229b16de954
Template:Countries and territories of Oceania
10
284
554
2021-01-02T17:08:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Countries and territories of Oceania
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| title = [[List of sovereign states and dependent territories in Oceania|Countries and territories]] of [[Oceania]]
| image = [[File:Oceania (orthographic projection).svg|150px|link=Oceania]]
| group1 = [[Sovereign state]]s
| list1 =
{{Navbox |child |groupstyle=font-weight:normal;
| group1 = Entire
| list1 =
* [[Australia]]
* [[Federated States of Micronesia]]
* [[Fiji]]
* [[Kiribati]]
* [[Marshall Islands]]
* [[Nauru]]
* [[New Zealand]]
* [[Palau]]
* [[Papua New Guinea]]
* [[Samoa]]
* [[Solomon Islands]]
* [[Tonga]]
* [[Tuvalu]]
* [[Vanuatu]]
| group2 = In part
| list2 =
* [[Chile]]
** {{smaller|[[Easter Island]]
** [[Juan Fernández Islands]]}}
* [[Indonesia]]
** {{smaller|[[West Papua (province)|West Papua]]
** [[Papua (province)|Papua]]}}
* [[Japan]]
** {{smaller|[[Ogasawara, Tokyo|Ogasawara]]}}
* [[United States]]
** {{smaller|[[Hawaii]]
** [[Palmyra Atoll]]}}
}}
<!---group2 omitted to main alternating list backgrounds--->
| group3 = {{longitem|[[Realm of New Zealand|Associated states<br/>of New Zealand]]}}
| list3 =
* [[Niue]]
* [[Cook Islands]]
| group4 = {{longitem|[[Dependent territory|Dependencies]] and<br/>other territories}}
| list4 =
{{Navbox |child |groupstyle=font-weight:normal; |evenodd=swap
| group1 = Australia
| list1 =
* [[Ashmore and Cartier Islands]]
* [[Christmas Island]]
* [[Cocos (Keeling) Islands]]
* [[Coral Sea Islands]]
* [[Norfolk Island]]
| group2 = [[United States]]
| list2 =
* [[American Samoa]]
* [[Baker Island]]
* [[Guam]]
* [[Howland Island]]
* [[Jarvis Island]]
* [[Johnston Atoll]]
* [[Kingman Reef]]
* [[Midway Atoll]]
* [[Northern Mariana Islands]]
* [[Wake Island]]
| group3 = Others
| list3 =
* [[French Polynesia]]{{\}}[[New Caledonia]]{{\}}[[Wallis and Futuna]]
** {{smaller|[[France]]}}
* [[Tokelau]]
** {{smaller|[[New Zealand]]}}
* [[Pitcairn Islands]]
** {{smaller|[[United Kingdom|UK]]}}
}}
}}<noinclude>
{{documentation}}
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage-->
</noinclude>
834aebf607cbe9c3e8f2403019d137af890a5677
Template:Countries of Asia
10
285
556
2021-01-02T17:08:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Countries of Asia
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| title = [[List of sovereign states and dependent territories in Asia|Countries and dependencies]] of [[Asia]]
| imagestyle = padding: 0 0.5em;
| image = [[File:Asia (orthographic projection).svg|100px]]
| listclass = hlist
| group1 = [[Sovereign state]]s
| list1 =
* [[Afghanistan]]
* [[Armenia]]
* [[Azerbaijan]]
* [[Bahrain]]
* [[Bangladesh]]
* [[Bhutan]]
* [[Brunei]]
* [[Cambodia]]
* [[China]]
* [[Cyprus]]
* [[Egypt]]
* [[Georgia (country)|Georgia]]
* [[India]]
* [[Indonesia]]
* [[Iran]]
* [[Iraq]]
* [[Israel]]
* [[Japan]]
* [[Jordan]]
* [[Kazakhstan]]
* [[North Korea]]
* [[South Korea]]
* [[Kuwait]]
* [[Kyrgyzstan]]
* [[Laos]]
* [[Lebanon]]
* [[Malaysia]]
* [[Maldives]]
* [[Mongolia]]
* [[Myanmar]]
* [[Nepal]]
* [[Oman]]
* [[Pakistan]]
* [[Philippines]]
* [[Qatar]]
* [[Russia]]
* [[Saudi Arabia]]
* [[Singapore]]
* [[Sri Lanka]]
* [[Syria]]
* [[Tajikistan]]
* [[Thailand]]
* [[East Timor|East Timor (Timor-Leste)]]
* [[Turkey]]
* [[Turkmenistan]]
* [[United Arab Emirates]]
* [[Uzbekistan]]
* [[Vietnam]]
* [[Yemen]]
| group2 = [[List of states with limited recognition|States with limited recognition]]
| list2 =
* [[Abkhazia]]
* [[Nagorno-Karabakh Republic|Nagorno-Karabakh]]
* [[Northern Cyprus]]
* [[State of Palestine|Palestine]]
* [[South Ossetia]]
* [[Taiwan]]
| group3 = {{longitem|[[Dependent territory|Dependencies]] {{nobold|and}} [[Special administrative region|special<br/>administrative region]]s}}
| list3 =
{{Navbox |child |groupstyle=font-weight:normal;
| group1 = Australia
| list1 =
* [[Christmas Island]]
* [[Cocos (Keeling) Islands]]
| group2 = China
| list2 =
* [[Hong Kong]]
* [[Macau]]
| group3 = United Kingdom
| list3 =
* [[Akrotiri and Dhekelia]]
* [[British Indian Ocean Territory]]
}}
}}<noinclude>
{{documentation}}
<!-- Please add metadata to the <includeonly> section at the bottom of the /doc subpage -->
</noinclude>
ab19266349a66a5ae684d3113a3d37585e1a711b
Template:Country data India
10
286
558
2021-01-02T17:08:09Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = India
| flag alias = Flag of India.svg
| flag alias-British = British Raj Red Ensign.svg
| flag alias-1931 = 1931 Flag of India.svg
| flag alias-civil = Civil Ensign of India.svg
| flag alias-army = Flag of Indian Army.png
| link alias-army = Indian Army
| flag alias-naval = Naval Ensign of India.svg
| flag alias-air force = Air Force Ensign of India.svg
| flag alias-coast guard = Indian Coast Guard flag.png
| link alias-naval = Indian Navy
| link alias-air force = Indian Air Force
| size = {{{size|}}}
| name = {{{name|}}}
| altlink = {{{altlink|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = British
| var2 = 1931
| var3 = civil
| redir1 = IND
| related1 = British Raj
</noinclude>
}}
16d0290baf12a753156004348468b343d78251bf
Template:States and territories of India
10
287
560
2021-01-02T17:08:09Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = States and Union Territories of India
| title = [[States and union territories of India]]
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| group1 = [[Federated state|States]]
| list1 =
* [[Arunachal Pradesh]]
* [[Andhra Pradesh]]
* [[Assam]]
* [[Bihar]]
* [[Chhattisgarh]]
* [[Goa]]
* [[Gujarat]]
* [[Haryana]]
* [[Himachal Pradesh]]
* [[Jammu and Kashmir]]
* [[Jharkhand]]
* [[Karnataka]]
* [[Kerala]]
* [[Madhya Pradesh]]
* [[Maharashtra]]
* [[Manipur]]
* [[Meghalaya]]
* [[Mizoram]]
* [[Nagaland]]
* [[Odisha]]
* [[Punjab, India|Punjab]]
* [[Rajasthan]]
* [[Sikkim]]
* [[Tamil Nadu]]
* [[Telangana]]
* [[Tripura]]
* [[Uttar Pradesh]]
* [[Uttarakhand]]
* [[West Bengal]]
| group2 = [[Union territory|Union Territories]]
| list2 =
* [[Andaman and Nicobar Islands]]
* [[Chandigarh]]
* [[Dadra and Nagar Haveli]]
* [[Delhi|National Capital Territory of Delhi]]
* [[Daman and Diu]]
* [[Lakshadweep]]
* [[Puducherry]]
| below =
* [[List of state and union territory capitals in India|Capitals in India]]
* [[Proposed states and territories of India|Proposed states and territories]]
* [[:Category:Historical Indian regions|Historical Regions]]
* [[:Category:Presidencies of British India|British Provinces]]
}}<noinclude>
{{collapsible option}}
[[Category:India state and territory templates| ]]
</noinclude>
06539eb0c4c3d6773d6e5d33a2167d9eaed08b35
Template:Continent-based templates
10
288
562
2021-01-02T17:08:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Continent-based templates
| state = {{{state|{{{1|}}}}}}
| title = Comparison of [[:Category:Continent templates|continent-based templates]]
| tracking = no <!-- keep all the documented templates out of the hlist tracking category -->
| list1 =
{{{!}} class="wikitable hlist plainrowheaders" style="width:100%;margin:0 auto;padding:0;text-align:center;line-height:1.3em;"
!
!scope="col"{{!}} Africa
!scope="col"{{!}} Asia
!scope="col"{{!}} Europe
!scope="col"{{!}} Oceania
!scope="col"{{!}} North America
!scope="col"{{!}} South America
{{!-}}
!scope="row"{{!}} '''World'''
{{!}}colspan="6"{{!}}
* {{tl|Continents of the world}}
* {{tl|Regions of the world}}
* {{tl|Lists of sovereign states and dependent territories by continent}}
* {{tl|World topic}}
* {{tl|World map indicating continents}}
{{!-}}
!rowspan="6" scope="row"{{!}} '''Generator'''
{{!}}rowspan="2"{{!}} {{tl|Africa topic}}
{{!}}rowspan="2"{{!}} {{tl|Asia topic}}
{{!}}rowspan="2"{{!}} {{tl|Europe topic}}
{{!}}rowspan="2"{{!}} {{tl|Oceania topic}}
{{!}} {{tl|North America topic}}
{{!}} {{tl|South America topic}}
{{!-}}
{{!}}colspan="2"{{!}} {{tl|Americas topic}}
{{!-}}
{{!}}rowspan="2"{{!}} {{tl|Topic (Africa)}}
{{!}}rowspan="2"{{!}} {{tl|Topic (Asia)}}
{{!}}rowspan="2"{{!}} {{tl|Topic (Europe)}}
{{!}}rowspan="2"{{!}} {{tl|Topic (Oceania)}}
{{!}} {{tl|Topic (North America)}}
{{!}} {{tl|Topic (South America)}}
{{!-}}
{{!}}colspan="2"{{!}} {{tl|Topic (Americas)}}
{{!-}}
{{!}} {{tl|African topic}}
{{!}} {{tl|Asian topic}}
{{!}} {{tl|European topic}}
{{!}} {{tl|Oceanian topic}}
{{!}} {{tl|North American topic}}
{{!}} {{tl|South American topic}}
{{!-}}
{{!}}colspan="6"{{!}}
* {{tl|Continent topic}}
* {{tl|Caribbean topic}}
* {{tl|Central America topic}}
* {{tl|Latin America and the Caribbean topic}}
* {{tl|Middle East topic}}
* {{tl|Southeast Asia topic}}
{{!-}}
!scope="row"{{!}} "'''Countries of...'''"
{{!}} {{[[:Template:Countries of Africa|...Africa]]}}
{{!}} {{[[:Template:Countries of Asia|...Asia]]}}
{{!}} {{[[:Template:Sovereign states of Europe|...Europe]]}}
{{!}} {{[[Template:Countries and territories of Oceania|...Oceania]]}}
{{!}} {{[[:Template:Countries of North America|...North America]]}}
{{!}} {{[[:Template:Countries of South America|...South America]]}}
{{!-}}
!scope="row"{{!}} "'''List of...capitals'''"
{{!}} {{[[:Template:List of African capitals|...African...]]}}
{{!}} {{[[:Template:List of Asian capitals by region|...Asian...]]}}
{{!}} {{[[:Template:List of European capitals by region|...European...]]}}
{{!}} {{[[:Template:List of Oceanian capitals by region|...Oceanian...]]}}
{{!}} {{[[:Template:List of North American capitals|...North American...]]}}
{{!}} {{[[:Template:List of South American capitals|...South American...]]}}
{{!-}}
{{!}}}
|belowclass=hlist
|below=
* {{icon|category}} [[:Category:Configurable area-topic templates|'''Category''']]
}}<noinclude>
{{Documentation
| content =
{{Collapsible option |statename=optional}}
== See also ==
* {{tl|Wikipedia continent-based projects}}
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
[[Category:Continent templates| ]]
[[Category:Documentation see also templates]]
}}
}}</noinclude>
07901e8ae001d2ccc8651169ce2c415881bd2d74
Template:Template imported from Semantic Web
10
289
797
564
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="120" align="center"|[[Image:W3CSw-horz.png|100px|logo import Semantic Web]]
|width="30" align="center"|[[Image:Nuvola apps forward arrow.png|30px|arrow]]
|Template imported from Sematic Web, see:
* original one (Semantic Web): [[semweb:Template:{{{Template}}}|Template:{{{Template}}}]].
* local adaptations are described below.
|}
</div>[[Category:Template imported from Semantic Web]]<noinclude>
This template must be used in order to indicate that it comes from Semantic Web.
[[fr:Modèle:Modèle importé du Semantic Web]]
</noinclude>
ad905223ef1fd777a3bf721f22e73940c7c016b8
Template:Tablelongrow
10
290
798
566
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>{|
! A long table row (helper template)
|-
|{{Template imported from Semantic Web|Template=Tablelongrow}}
|-
|'''adaptations''': A value test had been inserted in order to avoid emply lines
|}
[[fr:Modèle:Tablelongrow]]
</noinclude>{{#if:{{{Value|}}}|{{!}} colspan="2" style="text-align: {{{Align|center}}}; background: {{{Color|white}}}"{{!}}<div style="font-size: {{{Font size|100%}}}">{{{Value}}}</div>}}
68d40bdf5854ff113486e1227ba720f1cf172e44
Template:Tablerow
10
291
799
568
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>{|
! A
! table row (helper template)
|-
</noinclude>|style="vertical-align: top;" |{{{Label}}}
| {{{Value|undefined}}}<noinclude>
|}</noinclude>
bc60b9969fd3098e8b7cafbd3c611a14ca2ffe7c
Template:Tablesection
10
292
800
570
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>{|
! A
! table section (helper template)
|-
</noinclude>! colspan="2" style="text-align: center; background: {{{Color|#eee}}}"| {{{Label}}}
<noinclude>|}</noinclude>
51fe7428ca40b6cf6e7854f25327651714c48f2f
Template:Infobox Document - Notes
10
293
801
572
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #4c4cff; color: white" | {{{Title}}}
|-
{{#ifeq:{{{Text|}}}|||{{Tablelongrow|Value={{{Text}}}|Align={{{Align text|center}}}}}}}
|-
{{#ifeq:{{{Label 1|}}}|||{{Tablerow|Label={{{Label 1}}} :|Value={{{Value 1}}}}}}}
|-
{{#ifeq:{{{Label 2|}}}|||{{Tablerow|Label={{{Label 2}}} :|Value={{{Value 2}}}}}}}
|-
{{#ifeq:{{{Label 3|}}}|||{{Tablerow|Label={{{Label 3}}} :|Value={{{Value 3}}}}}}}
|-
{{#ifeq:{{{Label 4|}}}|||{{Tablerow|Label={{{Label 4}}} :|Value={{{Value 4}}}}}}}
|-
{{#ifeq:{{{Label 5|}}}|||{{Tablerow|Label={{{Label 5}}} :|Value={{{Value 5}}}}}}}
|-
{{#ifeq:{{{Label 6|}}}|||{{Tablerow|Label={{{Label 6}}} :|Value={{{Value 6}}}}}}}
|-
{{#ifeq:{{{Label 7|}}}|||{{Tablerow|Label={{{Label 7}}} :|Value={{{Value 7}}}}}}}
|}<noinclude>
[[fr:Modèle:Infobox document - complément]]
</noinclude>
b9ab2df7fe28e1bc4039716e41f33afefc205468
Template:Semantic Infobox Person
10
294
802
574
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
{{Template imported from Semantic Web|Template=Person}}
This template is an adaptation of [[semweb:Template:Personne|Semantic Web]].
This template simplifies the creation of articles about persons. When inserted in a person's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Person
| University =
| Affiliation = agency, firm...
| Affiliation 2 =
| Unit =
| Laboratory =
| Laboratory label =
| Research team =
| Team label =
| Position =
| Picture = name of picture (e.g. "Rudolph.jpg"), use "upload file" on the left
| Homepage = rajkumarkannan19.googlepages.com
| Homepage label =
| Email = rajkumark@acm.org
| City =
| Country =
| Phone = 914312770136
}}</pre>
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the '''Template:Semantic Infobox Person Extension''' (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
[[fr:Modèle:Infobox sémantique personne]]
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #86ba0c; color: white" |<span style="font-size: 80%; float: right; ">{{#ask: [[{{FULLPAGENAME}}]]
| format=vcard
| ?Name
| ?University
| ?Affiliation=organization
| ?Affiliation 2
| ?Email
| ?Phone=workphone
| ?Homepage
| ?City
| ?Country
| searchlabel=vCard
}}</span> [[Name::{{{Name|{{PAGENAME}}}}}]]
|-
{{#ifeq:{{{Picture|}}}|||{{Tablelongrow|Value=[[Image:{{{Picture}}}|150px|{{{Name|{{PAGENAME}}}}}]]|Color=white}}
{{!-}}
}}
{{#ifeq:{{{Email|}}}|||{{Tablelongrow|Label=Email :|Value=[[email::{{{Email}}}]]|Color=#e4f8b6}}
{{!-}}
}}
|-
{{#ifeq:{{{Position|}}}|||{{Tablerow|Label=Position :|Value=[[Position::{{{Position}}}]]}}}}
|-
{{#ifeq:{{{University|}}}|||{{Tablerow|Label=University :|Value=[[member of::{{{University}}}]]}}}}
|-
{{#ifeq:{{{Affiliation|}}}|||{{Tablerow|Label=Affiliation :|Value=[[member of::{{{Affiliation}}}]]}}}}
|-
{{#ifeq:{{{Affiliation 2|}}}|||{{Tablerow|Label=and :|Value=[[member of::affiliation::{{{Affiliation 2}}}]]}}}}
|-
{{#ifeq:{{{Unit|}}}|||{{Tablerow|Label=Unit :|Value=[[member of::unit::{{{Unit}}}]]}}}}
|-
{{#ifeq:{{{Laboratory|}}}|||{{Tablerow|Label=Laboratory :|Value=[[member of::{{{Laboratory}}}|{{{Laboratory label|{{{Laboratory}}}}}}]]}}}}
|-
{{#ifeq:{{{Research center|}}}|||{{Tablerow|Label=Research center :|Value=[[member of::{{{Research center}}}|{{{Research center label|{{{Research center}}}}}}]]}}}}
|-
{{#ifeq:{{{Research team|}}}|||{{Tablerow|Label=Research team :|Value=[[member of::{{{Research team}}}|{{{Team label|{{{Research team}}}}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage :|Value=[[Homepage::http://{{{Homepage}}} |{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{Phone|}}}|||{{Tablerow|Label=Phone :|Value=[[Phone::{{{Phone}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City :|Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country :|Value=[[Has country::{{{Country}}}]]}}}}
|-<!-- *** Head of laboratory *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has head::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Head of: }}|Color=#e4f8b6}}
|-<!-- *** President *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee::{{PAGENAME}}]] OR [[Has scientific committee chair::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Scientific committee chair of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the conference::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the conference of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the program committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has PC chair::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Program committee chair of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the editorial board of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the organizing committee of :_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the governance committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the governance committee of :_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the steering committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the steering committee of :_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the workshops::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the workshops of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the demos and posters::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the demos and posters of:_}}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the tutorials::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the tutorials of:_}}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president for advertising::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President for advertising of:_}}|Color=#e4f8b6}}
|-
<!-- *** Head *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for program and organizing head::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Program and organizing head of:_ }}|Color=#e4f8b6}}
|-
<!-- *** Committee member *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the scientific committee::{{PAGENAME}}]] OR [[Has JSC member::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the scientific committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the editorial board::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the editorial board of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the program committee::{{PAGENAME}}]] OR [[Has PC member::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Program committee member of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the governance committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the governance committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the steering committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the steering committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the organizing committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the organizing committee of:_ }}|Color=#e4f8b6}}
|-
<!-- *** Coordinator *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for demos' workshop coordinator::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Demos' workshop coordinator of:_ }}|Color=#e4f8b6}}
{{Semantic Infobox Person Extension}}
|-
|}
[[Category:Person]]</includeonly>
22d2bb2d39bf36fb0aba832c8096ed3fa097b32a
Template:Semantic Infobox Personality
10
295
803
576
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Modèle:Infobox sémantique personnalité]]
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #203090; color: white" | [[Nom::{{{Nom|{{{nom|{{PAGENAME}}}}}}}}]]
|-
{{#ifeq:{{{image|}}}|||{{Tablelongrow|Value=[[image:{{{image}}}|150px|{{{nom|{{PAGENAME}}}}}]]|Color=white}}
{{!-}}
}}
|-
{{#ifeq:{{{birth date|}}}|||{{Tablerow|Label=Birth :|Value=<!--
-->{{#ifeq:{{{birth place|}}}|||[[Has birth place::{{{birth place|}}}]]<br/>}}[[Has birth date::{{{birth date}}}]]}}}}
|-
{{#ifeq:{{{death date|}}}|||{{Tablerow|Label=Death :|Value=<!--
-->{{#ifeq:{{{death place|}}}|||[[Has death place::{{{death place|}}}]]<br/>}}[[Has death date::{{{death date}}}]]}}}}
|-
|}
</includeonly>
b51cc6be60bd2fc1dd8751a3c73f81ce112da2f7
Template:Semantic Infobox Person Extension
10
296
804
578
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox Event
10
297
805
580
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>This template is an adaptation of [[semweb:Template:Event|Semantic Web]].
This template is used for collecting data about some event. When inserted in an event's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
<pre>{{Semantic Infobox Event
| Logo = Logo of the given event (ex: logoSUITMA.jpg), to be added through "Upload file" on the left
| Logo label = Description of the logo
| Title = Full title of the given event
| Series = Abbreviation of event series, in case the event belongs to a continuing series
| Superevent = Larger hosting event (e.g. conference of a workshop)
| Homepage = URL of the homepage (without http://)
| Homepage label = Optional label if homepage URL is too long
| Start date = November 9 2006
| End date = November 10 2006
| City = the city the event takes place in
| Country = the country the event takes place in
| Submission deadline = general deadline for (most relevant kinds of) submissions; read the docu below
| Abstract deadline = deadline for abstract submissions (usually for papers that are to be submitted later)
| Paper deadline = deadline for submitting papers, a special kind of submission deadline; read the docu below
| Poster deadline = deadline for submitting posters; read the docu below
| Workshop deadline = deadline for submitting workshops proposals
| Tutorial deadline = deadline for submitting tutorial proposals
| Demo deadline = deadline for submitting demo papers; read the docu below
| Camera ready = deadline for submitting the camera ready
| Notification = date of acceptance notifications
}}</pre>
[[fr:Modèle:Infobox sémantique manifestation]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the '''Template:Semantic Infobox Event Extension''' (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
'''A note on the various deadlines:''' In general, you only need some deadlines. The ''submission deadline'' should represent the single most important deadline for an event. If there is a paper deadline, it automatically counts as a submission deadline as well. The other kinds of deadlines are just relevant for events that accept many forms of contribution (e.g. papers and demos). If an event has just one type of submission (e.g. a developer's event might only accpept demos) then use ''submission deadline'' since it is the main deadline and it is clear what kind of submissions are meant.
</noinclude>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Title|}}}|||{{Tablelongrow|Value=[[title:={{{Title}}}]]|Color=#fdddbb}}}}
|-
{{#ifeq:{{{Series|}}}|||{{Tablerow|Label=Series :|Value=[[belong to::{{{Series}}}]]}}}}
|-
{{#ifeq:{{{Superevent|}}}|||{{Tablerow|Label=Subevent of :|Value=[[belong to::{{{Superevent}}}]]}}}}
|-
{{#ifeq:{{{Start date|}}}|||{{Tablerow|Label=Start :|Value=[[start date:={{{Start date}}}]] {{#ifeq:{{{End date|}}}|||<small>{{#ask:[[{{PAGENAME}}]]|?start date=start|?end date=end|?has location city=location|searchlabel=(iCal)|format=icalendar}}</small>}}}}}}
|-
{{#ifeq:{{{End date|}}}|||{{Tablerow|Label=End :|Value=[[end date:={{{End date}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage :|Value=[[homepage:=http://{{{Homepage}}}|{{{Homepage label|Homepage}}}]]}}}}
|-
<!-- *** Location: *** -->
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City :|Value=[[has location city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country :|Value=[[has location country::{{{Country}}}]]}}}}
|-
<!-- *** Dates: *** -->
|colspan="2" bgcolor=#DFDFDF align="center" | '''Important dates'''
|-
{{#ifeq:{{{Submission deadline|}}}|||{{Tablerow|Label=Submissions due :|Value=[[submission deadline:={{{Submission deadline}}}]]}}}}
|-
{{#ifeq:{{{Abstract deadline|}}}|||{{Tablerow|Label=Abstracts due :|Value=[[abstract deadline:={{{Abstract deadline}}}]]}}}}
|-
{{#ifeq:{{{Paper deadline|}}}|||{{Tablerow|Label=Papers due :|Value=[[paper deadline:=submission deadline:={{{Paper deadline}}}]]}}}}
|-
{{#ifeq:{{{Poster deadline|}}}|||{{Tablerow|Label=Posters due :|Value=[[poster deadline:={{{Poster deadline}}}]]}}}}
|-
{{#ifeq:{{{Workshop deadline|}}}|||{{Tablerow|Label=Workshops due :|Value=[[workshop deadline:={{{Workshop deadline}}}]]}}}}
|-
{{#ifeq:{{{Tutorial deadline|}}}|||{{Tablerow|Label=Tutorial due :|Value=[[tutorial deadline:={{{Tutorial deadline}}}]]}}}}
|-
{{#ifeq:{{{Demo deadline|}}}|||{{Tablerow|Label=Demos due :|Value=[[demo deadline:={{{Demo deadline}}}]]}}}}
|-
{{#ifeq:{{{Camera ready|}}}|||{{Tablerow|Label=Camera ready due :|Value=[[Camera ready due:={{{Camera ready}}}]]}}}}
|-
{{#ifeq:{{{Notification|}}}|||{{Tablerow|Label=Notification :|Value=[[notification:={{{Notification}}}]]}}}}
{{Semantic Infobox Event Extension}}
|-
|}<!--
--><includeonly>{{#ifeq:{{{Superevent|}}}||[[Category:Stand-alone event]]|}}</includeonly>
85e6610d2916cd76e87ab23b48666877462bedc7
Template:Semantic Infobox Event Extension
10
298
806
582
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox University
10
299
807
584
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>This template simplifies the creation of articles about universities. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox University
| Nickname = UPV-M
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label = UPV-M's logo
| Chancellor =
| Homepage = www.univ-metz.fr/ (without http://)
| Homepage label = UPV-M's webpage
| City =
| Country =
}}
</pre>
[[fr:Modèle:Infobox sémantique université]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the Template:Semantic Infobox University Extension (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Nickname|}}}|||{{Tablerow|Label=Nickname: |Value=[[Has nickname::{{{Nickname}}}]]}}}}
|-
{{#ifeq:{{{Chancellor|}}}|||{{Tablerow|Label=Chancellor: |Value=[[Has chancellor::{{{Chancellor}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage: |Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City: |Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country: |Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** University data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Laboratories:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]] OR [[Member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members:_ }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of:_ }}|Color=#e4f8b6}}
{{Semantic Infobox University Extension}}
|-
|}
[[Category:Academic establishment]]
[[Category:University]]
[[Category:University page]]
</includeonly>
bde40860be9eb035a9d1cac623b054de79e6cb64
Template:Semantic Infobox University Extension
10
300
808
586
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox Organization
10
301
809
588
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>This template simplifies the creation of articles about organizations. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
See also: [[Template:Semantic Infobox University]]
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Organization
| Nickname = UPV-M
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label = UPV-M's logo
| Chancellor =
| Homepage = www.univ-metz.fr/ (without http://)
| Homepage label = UPV-M's webpage
| City = Metz
| Country = France
}}
</pre>
[[fr:Modèle:Infobox sémantique organisme]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the Template:Semantic Infobox University Extension
(existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Nickname|}}}|||{{Tablerow|Label=Nickname:|Value=[[Has nickname::{{{Nickname}}}]]}}}}
|-
{{#ifeq:{{{Chancellor|}}}|||{{Tablerow|Label=Chancellor:|Value=[[Has chancellor::{{{Chancellor}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country:|Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** University data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Laboratories: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members: }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of : }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of: }}|Color=#e4f8b6}}
{{Semantic Infobox University Extension}}
|-
|}
[[Category:Organization]]
</includeonly>
90f3fda5acb0767a73d5145ca5df3b2eaf85bc5a
Template:Semantic Infobox Organisation Extension
10
302
810
590
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox Company
10
303
811
592
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the creation of articles about private companies. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Organization
| Nickname = UPV-M
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label = UPV-M's logo
| Chancellor =
| Homepage = www.univ-metz.fr/ (without http://)
| Homepage label = UPV-M's webpage
| City = Headquarter city
| Country = France
}}
</pre>
[[fr:Modèle:Infobox sémantique société]]
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{{Name|{{PAGENAME}}}}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Nickname|}}}|||{{Tablerow|Label=Nickname:|Value=[[Has nickname::{{{Nickname}}}]]}}}}
|-
{{#ifeq:{{{CEO|}}}|||{{Tablerow|Label=CEO:|Value=[[Has CEO::{{{CEO}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country:|Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** Compagny data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Laboratories: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members: }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of : }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of: }}|Color=#e4f8b6}}
|-
|}
[[Category:Company page]]
</includeonly>
b2b3c1c883454c7e33806d4867c92b124a4dbdfd
Template:Semantic Infobox Research Center
10
304
812
594
2021-01-02T17:14:59Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>This template simplifies the creation of articles about research centers. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Research Center
| Acronym = LORIA
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label =
| Head =
| Homepage = www.loria.fr/ (without http://)
| Homepage label = LORIA's webpage
| City =
| Country =
}}
</pre>
[[fr:Modèle:Infobox sémantique laboratoire]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the Template:Semantic Infobox University Extension (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
</noinclude><includeonly>{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Acronym|}}}|||{{Tablerow|Label=Acronym: |Value=[[Has acronym::{{{Acronym}}}]]}}}}
|-
{{#ifeq:{{{Head|}}}|||{{Tablerow|Label=Head: |Value=[[Has head::{{{Head}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage: |Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City: |Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country: |Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** Research Center data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Teams:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]] OR [[Member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members:_ }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of:_ }}|Color=#e4f8b6}}
{{Semantic Infobox University Extension}}
|-
|}
[[Category:Academic establishment]]
[[Category:Research Center]]
</includeonly>
374b993f162dc2bafe367cca688bd96fa659de43
Template:Semantic Infobox end
10
305
813
596
2021-01-02T17:15:00Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>This template must close all modular infoboxes:
* [[Template:Semantic Infobox OrgUnit begin]]
</noinclude><includeonly>
|}
</includeonly>
d62ed928de1a774221f537d7da81fe927160a961
Template:Semantic Infobox OrgUnit begin
10
306
814
598
2021-01-02T17:15:00Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}
{{#if:{{{Logo|}}}|
{{!-}}
{{!}}colspan="2" align="center" style="background: #white;"{{!}}[[image:{{{Logo}}}|{{{Logo_width|200px}}}|{{{Logo label|}}}]]}}
{{#if:{{{Nickname|}}}|{{!-}}
{{!}}colspan="2" align="center" style="background: #ef7c00; color: white" {{!}}{{{Nickname}}}}}
</includeonly>
fdf067e3660773d4e0266831addd5ce9884f1df8
Template:Semantic Infobox OrgUnit members
10
307
815
600
2021-01-02T17:15:00Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]] OR [[Member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members : }}|Color=#e4f8b6}}
2a9953852884eaddb1bd5b2975953cccb464fe07
Template:Bibliobox right
10
308
816
602
2021-01-02T17:15:00Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<includeonly>{|align=right width=50% cellspacing="0" cellpadding="5"
|-
|style="background: #f0f0b4;"| {{{1}}}
|}</includeonly><noinclude>
This template aims at homogenizing the frames of bibliographic descriptions in WICRI network.
;Sample:the following script :
<pre>
{{Bibliobox right|
;Title: This is a title
;Author: ...
}}
</pre>
produces:
{{Bibliobox right|
;Title: This is a title
;Author: ...
}}
[[fr:Modèle:Boîte bibliographique droite]]
</noinclude>
684ab78eafe2ee8a42ff404b66a04b47b4007f0e
Template:Page title for an article
10
309
817
604
2021-01-02T17:15:00Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
{{DISPLAYTITLE:<small>{{PAGENAME}}</small>}}
<span style="font-size: 200%;Line-Height:24pt;">{{{title}}}</span>{{ #if: {{{sous-titre|}}}|<br/><br/><span style="font-size: 160%;">''{{{subtitle}}}''</span>|}}<hr/> <br/> <noinclude>
<source lang="html">
{{Page title for an article
|title= mandatory
|subtitle= optional
|original= optional
}}
</source>
[[fr:Modèle:Titre page article]]
</noinclude>
af1bdeb040dc3d7457135b6b1daa364efac473fa
Template:Wicri Creators
10
310
818
606
2021-01-02T17:15:01Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the edition of an article. When inserted in an article's page, it generates, at the beginning of the article the list of creators, and the relevant information for each other (affiliation, address...).
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{wicri auteurs
| Creator 1 =
| Affiliation 1 =
| Address 1 =
| Phone 1 =
| Creator 2 =
| Affiliation 2 =
| Address 2 =
| Phone 2 =
| Creator 3 =
| Affiliation 3 =
| Address 3 =
| Phone 3 =
| Creator 4 =
| Affiliation 4 =
| Address 4 =
| Phone 4 =
| Creator 5 =
| Affiliation 5 =
| Address 5 =
| Phone 5 =
| Creator 6 =
| Affiliation 6 =
| Address 6 =
| Phone 6 =
}}
</pre>
[[fr:Modèle:Wicri auteurs]]
The order of the fields is not relevant.
</noinclude>
<includeonly>
{|cellpadding="5"
|-
|[[Has first creator::{{{Creator 1}}}]]<!--
-->{{#if: {{{Creator 2|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 1|}}}|<sup>{{{Affiliation link 1}}}</sup>|}}<!--
-->{{#if: {{{Mail 1|}}}|<br/><small>{{{Mail 1|}}}</small>|}}<!--
-->{{#if: {{{Tel 1|}}}|<br/><small>Tel : {{{Tel 1|}}}</small>|}}
{{#if: {{{Creator 2|}}}|
{{!}}[[Has Creator::{{{Creator 2}}}]]<!--
-->{{#if: {{{Creator 3|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 2|}}}|<sup>{{{Affiliation link 2}}}</sup>|}}<!--
-->{{#if: {{{Mail 2|}}}|<br/><small>{{{Mail 2|}}}</small>|}}<!--
-->{{#if: {{{Tel 2|}}}|<br/><small>Tel : {{{Tel 2|}}}</small>|}}
{{#if: {{{Creator 3|}}}|
{{!-}}
{{!}}[[Has Creator::{{{Creator 3}}}]]<!--
-->{{#if: {{{Creator 4|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 3|}}}|<sup>{{{Affiliation link 3}}}</sup>|}}<!--
-->{{#if: {{{Mail 3|}}}|<br/><small>{{{Mail 3|}}}</small>|}}<!--
-->{{#if: {{{Tel 3|}}}|<br/><small>Tel : {{{Tel 3|}}}</small>|}}
{{#if: {{{Creator 4|}}}|
{{!}}[[Has Creator::{{{Creator 4}}}]]<!--
-->{{#if: {{{Creator 5|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 4|}}}|<sup>{{{Affiliation link 4}}}</sup>|}}<!--
-->{{#if: {{{Mail 4|}}}|<br/><small>{{{Mail 4|}}}</small>|}}<!--
-->{{#if: {{{Tel 4|}}}|<br/><small>Tel : {{{Tel 4|}}}</small>|}}
{{#if: {{{Creator 5|}}}|
{{!-}}
{{!}}[[Has Creator::{{{Creator 5}}}]]<!--
-->{{#if: {{{Creator 6|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 5|}}}|<sup>{{{Affiliation link 5}}}</sup>|}}<!--
-->{{#if: {{{Mail 5|}}}|<br/><small>{{{Mail 5|}}}</small>|}}<!--
-->{{#if: {{{Tel 5|}}}|<br/><small>Tel : {{{Tel 5|}}}</small>|}}
{{#if: {{{Creator 6|}}}|
{{!}}[[Has Creator::{{{Creator 6}}}]]<!--
-->{{#if: {{{Creator 7|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 6|}}}|<sup>{{{Affiliation link 6}}}</sup>|}}<!--
-->{{#if: {{{Mail 6|}}}|<br/><small>{{{Mail 6|}}}</small>|}}<!--
-->{{#if: {{{Tel 6|}}}|<br/><small>Tel : {{{Tel 6|}}}</small>|}}
{{#if: {{{Creator 7|}}}|
{{!-}}
{{!}}[[Has Creator::{{{Creator 7}}}]]<!--
-->{{#if: {{{Creator 8|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 7|}}}|<sup>{{{Affiliation link 7}}}</sup>|}}<!--
-->{{#if: {{{Mail 7|}}}|<br/><small>{{{Mail 7|}}}</small>|}}<!--
-->{{#if: {{{Tel 7|}}}|<br/><small>Tel : {{{Tel 7|}}}</small>|}}
}}
}}
}}
}}
}}
}}
|}
{{#if: {{{Affiliation 1|}}}|
* i - ''{{{Affiliation 1}}}''{{#if: {{{Affiliation 2|}}}| ;|.}}
{{#if: {{{Affiliation 2|}}}|
* ii - ''{{{Affiliation 2}}}''{{#if: {{{Affiliation 3|}}}| ;|.}}
{{#if: {{{Affiliation 3|}}}|
* iii - ''{{{Affiliation 3}}}''{{#if: {{{Affiliation 4|}}}| ;|.}}
{{#if: {{{Affiliation 4|}}}|
* iv - ''{{{Affiliation 4}}}''{{#if: {{{Affiliation 5|}}}| ;|.}}
{{#if: {{{Affiliation 5|}}}|
* v - ''{{{Affiliation 5}}}''{{#if: {{{Affiliation 6|}}}| ;|.}}
{{#if: {{{Affiliation 6|}}}|
* vi - ''{{{Affiliation 6}}}''{{#if: {{{Affiliation 7|}}}| ;|.}}
}}
}}
}}
}}
}}
}}
</includeonly>
5715ca032285af3362b8e3f5b4c5e2289c68819a
Template:Wicri Bibliography
10
311
819
608
2021-01-02T17:15:01Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the automatic edition, on the page of a person, of his bibliography (for the articles cited on the wiki), using semantic properties. When inserted on the page of a person, it generates the list of articles which this person is the first creator, a creator, the translator, as well as the articles in which he is cited or is a contributor.
To use this template, insert the following at the beginning of your user page.
<pre>{{Wicri Bibliography}}
</pre>
[[fr:Modèle:Wicri bibliographie]]
</noinclude>
<includeonly>
==Bibliography==
''(generated through automatic process)''
{{#ask:[[Has first creator::{{PAGENAME}}]] OR [[Has first author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=First creator of :_ }}<!--
-->{{#ask:[[Has Creator::{{PAGENAME}}]] OR [[Has author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Creator of:_ }}<!--
-->{{#ask:[[Has translator::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Translator of :_ }}<!--
-->{{#ask:[[Has cited creator::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Is cited by:_ }}<!--
-->{{#ask:[[Has contributor::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Contributor of:_ }}<!--
-->{{#ask:[[Has speaker::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Speaker in:_ }}
<includeonly>
587f58976e1bb4cdc60de2e682d48d4a1230aa6b
Template:Wicri Bibliography/list
10
312
820
610
2021-01-02T17:15:01Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
{{#ask:[[Has quoted person::{{PAGENAME}}]]
| format=ol
| ?Has title=title:_
| sep=,_
| headers=hide
| intro=Is quoted as person in:_ }}<!--
-->{{#ask:[[Has first creator::{{PAGENAME}}]] OR [[Has first author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=First creator of :_ }}<!--
-->{{#ask:[[Has Creator::{{PAGENAME}}]] OR [[Has author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Creator of:_ }}<!--
-->{{#ask:[[Has translator::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Translator of :_ }}<!--
-->{{#ask:[[Has contributor::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Contributor of:_ }}<!--
-->{{#ask:[[Has invited speaker::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Invited speaker in:_ }}<!--
-->{{#ask:[[Has speaker::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Speaker in:_ }}<!--
-->{{#ask:[[Has quoted author::{{PAGENAME}}]]
| format=ol
| ?Has title=title:_
| sep=,_
| headers=hide
| intro=Is author quoted in:_ }}
<noinclude>
Tis template prints a set of properties related to a given person.
These property are the following:
* [[:Property:Has quoted person]]
* [[:Property:Has first author]]
* [[:Property:Has author]]
* [[:Property:Has translator]]
* [[:Property:Has contributor]]
* [[:Property:Has invited speaker]]
* [[:Property:Has speaker]]
* [[:Property:Has quoted author]]
[[fr:Modèle:Wicri bibliographie/liste]]
</noinclude>
e4007a4c0909e5a752d81dca9287d2afbb56241c
Template:Wicri interwiki see person
10
313
821
612
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<includeonly>
;In this wiki:
{{Wicri Bibliography/list}}
{{Wicri see|reference={{{reference|}}}}}</includeonly><noinclude>
Ce modèle sert à générer, pour une personnalité, des listes de résultats obtenus à partir d'attributs sémantiques.
Il s'applique pour une personnalité qui a sa page de référence sur un autre wiki et qui fait l'objet de citations sur ce wiki.
La procédure d'appel est la suivante :
<source lang="html">
{{Wicri interwiki voir personne
|référence = wiki de référence
}}
</source>
Il génère également un appel de [[Modèle:Wicri voir|<code><nowiki>{{Wicri voir}}</nowiki></code>]] qui crée un lien interwiki vers un wiki de référence - en utilisant le codage du modèle [[Modèle:Wicri lien|<code><nowiki>{{Wicri lien}}</nowiki></code>]].
[[fr:Modèle:Wicri interwiki voir personne]]
</noinclude>
3e301dd0244c8c92a1de2c4cdf08a0be7b847ab6
Template:Wicri see also, city
10
314
822
614
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template prints an automatic '''See also''' content using semantic properties.
[[fr:Modèle:Wicri voir aussi, ville]]
</noinclude>{{#ask:[[Has city::{{PAGENAME}}]] [[Category:event]]
| format=ul
| sep=,_
| intro=
;List of events quoted in this wiki:_}}{{#ask:[[Has city::{{PAGENAME}}]] [[Catégorie:Laboratory||University]]
| format=ul
| sep=,_
| intro=
;Liste des organisations quoted in this wiki :}}{{#ask:[[Has city::{{PAGENAME}}]] [[Category:Person]]
| sep=,_
| intro=
;List of persons quoted in this wiki :}}
{{#if:{{{interwiki|}}}|{{Wicri see|reference={{{interwiki|}}}}}}}
<includeonly>[[Category:City]]</includeonly>
005583ad6387eba6b6e1662a12aa6cfff18976ed
Template:Up-page notes
10
315
823
616
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the edition of an article. When inserted in an article page, it generates a table in which can be found the name of the article and important information about it (journal, symposium it originates from...).
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Up-page notes
| Title 1 =
| Note 1 =
| Title 2 =
| Note 2 =
| Title 3 =
| Note 3 =
}}
</pre>
[[fr:Modèle:Notes haut de page]]
The order of the fields is not relevant.
</noinclude>
<includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 25em"
|- style="background: #fdddbb;"
|<center><big>'''{{{title 1}}}'''</big></center>
|-
|{{{note 1}}}
{{#if:{{{title 2|}}}|
{{!-}} style="background: #fdddbb;"
{{!}}<center><big>'''{{{title 2}}}'''</big></center>
{{!-}}
{{!}}{{{note 2}}}
{{#if:{{{title 3|}}}|
{{!-}} style="background: #fdddbb;"
{{!}}<center><big>'''{{{title 3}}}'''</big></center>
{{!-}}
{{!}}{{{note 3}}}
}}
}}
|}
</includeonly>
af373841f049812784016a5ded5595ec2efc8e29
Property:Has PC member
102
316
824
618
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
A '''programme committee member''' of some [[:Category:event|event]] is a person who contributes to the organisation of the programme, typically by reviewing and selecting scientific contributions to the event.
[[fr:Attribut:A pour membre du comité de programme]]
e378decda49c95ce38831f7fe59cf539b6589e00
Property:Has speaker
102
317
825
620
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has invited speaker|Has invited speaker]]
[[fr:Attribut:A pour intervenant]]
1da8e64c6cdd401e17d93a568bfb785c051a7882
Property:Has invited speaker
102
318
826
622
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has speaker|Has speaker]]
7b2d17ac42efa12c627cec226b0e9d3862904c98
Property:Has author
102
319
827
624
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has first author|Has first author]]
[[fr:Attribut:A pour auteur]]
ec2492c39c0c57037570d8b0355324b064d69fe9
Property:Has first author
102
320
828
626
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has author|Has author]]
* property : [[:Property:Has translator|Has translator]]
* property : [[:Property:Has contributor|Has contributor]]
673a490cec0e40391887d664c65b04e198018599
Property:Has translator
102
321
829
628
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has author|Has author]]
* property : [[:Property:Has contributor|Has contributor]]
31fbeb81967f97f86f663a9a309861af7ac1403c
Property:Has contributor
102
322
830
630
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has author|Has author]]
* property : [[:Property:Has translator|Has translator]]
94419b23367c1813e1f14efe2d517503dd8816ac
Property:Has death place
102
323
831
632
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
[[Has type::Page]]
666e6688ce789d9cde9da0be0dc012492a201d15
Property:Has death date
102
324
832
634
2021-01-02T17:15:02Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
[[Has type::date]]
[[fr:Attribut:A pour date de décès]]
672cc42597a1f7cf61490500882056980034185d
Property:Has birth place
102
325
833
636
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
[[Has type::page]]
[[fr:Attribut:A pour lieu de naissance]]
83970c58531e095023410a64310efe2bb7b48ee1
Property:Has birth date
102
326
834
638
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
[[Has type::date]]
[[fr:Attribut:A pour date de naissance]]
f4285253a817e18bbe273e84e734c50f2c548322
Property:Start date
102
327
835
640
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
This property comes from [[semweb:Property:Start date|Semantic Web]]
This [[has type::date]] (possibly with a time of day) marks the '''start''' of some event. See also [[Upcoming events]] to see events in a timeline.
[[used for::Category:Conference| ]]
[[used for::Category:Project| ]]
c3ab3610bb927402336b02d2c3c41a650c4bbd8f
Property:End date
102
328
836
642
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
This [[has type::date]] (possibly with a time of day) marks the '''end''' of some event; use it together with [[Property:Start date]].
This property is uploaded from [[semweb:Property:Start date|Semantic Web]]
[[fr:Attribut:Date de fin]]
76b63983308264d47310889df95ca3c6ef5d1453
Property:Has type
102
329
837
644
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
'''Has type''' is a [[special property]] in [[Semantic MediaWiki]] with a built-in meaning: it assigns a [[type]] to a [[property]]. [[Special:Types]] lists the types available in the wiki. See [[Help:Properties_and_types#Datatypes|datatypes in the Help system]].
For example, the page for [[Property:Population]] would specify <tt><nowiki>[[has type::Number]]</nowiki></tt>. "Has type" assumes its value is in the Type namespace, so you can omit the prefix ''Type:''.
Since version 1.0, SMW allows [[Help:Many-valued properties|many-valued properties]]. Types for these properties are specified by listing multiple types as the value of Has type, separated by semicolons. For example, on sandbox.semantic-mediawiki.org [http://sandbox.semantic-mediawiki.org/wiki/Property:Employment Property:Employment] takes a link to a company, a job title, and a start and end date,
so it specifies its type as <tt><nowiki>[[has type:=Page; String; Date; Date]]</nowiki></tt>.
{{docu|master page=Property:Allows value|language=en|minversion=1.0}}
[[Category:Special property|Has type]]
b119fb7a6ca2c48ee3ee7a907a13be070bb94c02
Property:Has title
102
330
838
646
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
[[Has type::text]]
This property implements DC:Title of Dublin Core.
[[fr:Attribut:A pour titre]]
cc777a4fd8cd89212bbd2f9f7b32a6f5571c14ad
Property:Has quoted author
102
331
839
648
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
[[fr:Attribut:A pour auteur cité]]
9539c0d0320097da2ff06ee961dd5515412102e7
Property:Has quoted person
102
332
840
650
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
[[fr:Attribut:A pour personnalité citée]]
448bffcb02f9d43a521ce65d971b7663b1a4f390
Property:Homepage
102
333
841
652
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>This template is an adaptation of [[semweb:Property:Homepage|Semantic Web]].</noinclude>
This property specifies the '''URL of the homepage''' of something, which is a general web resource to learn more about a topic. Like all [[has type::URL|URLs]], it should begin with some known protocol such as "http:". This property also represents the [[FOAF]] property [[imported from::foaf:homepage]] within this wiki, i.e. it will be [[Help:RDF_export|exported]] as foaf:homepage. FOAF does not impose any requirements on the things that can have homepages, so this property can be used rather freely.
This property is a subproperty of [[subproperty of::Property:URL]], see that page and [[Type:URL]] for other URL properties on {{SITENAME}}.
== See also ==
* [[Property:URL]] (the "abstract" super property of all URLs here)
fe4f667c575ea0cf26de4a87852335a02539e095
Property:URL
102
334
842
654
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>This template is an adaptation of [[semweb:Template:Event|Semantic Web]].</noinclude>
This property specifies a general '''[[has type::URL]]''', but should normally not be used directly. Instead, use one of its [[Property:Subproperty of|subproperties]] as applicable:
* [[Property:Homepage]] (homepages of anything)
cfb4e7b3fae26cfb971c164a8d1954c141cdca5d
Category:Company page
14
335
843
656
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
{{Catmore|Template:Semantic Infobox Company}}
This category is automatically set up by a template.
6e5c6e1df9f865bbd355b494fbd5b76acb3ed40d
Category:University page
14
336
844
658
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
{{Catmore|Template:Semantic Infobox University}}
This category is automatically set up by a template.
2b05f1a414e60aa5dfeb6938eba16c83a55d03fd
Template:Link to affiliation
10
337
845
660
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<sup>([[#affiliation {{{l1}}}|{{{l1}}}]]<!--
-->{{#if:{{{l2|}}}|,[[#affiliation {{{l2}}}|{{{l2}}}]]}})</sup><noinclude>
[[fr:Modèle:Lien affiliation]]
</noinclude>
2a8dc0b75440ad84d8f952500b5514f9dc79463a
Template:Affiliation anchor
10
338
846
662
2021-01-02T17:15:03Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<includeonly><span id="affiliation {{{l}}}">({{{l}}})</span></includeonly><noinclude>
This template is used in creating (or importing) an item in a list of affiliations.
This template has been tested in [[wicri-lor.en:BMC Pregnancy and Childbirth (2013) George]].
See also:[[Template:Link to affiliation]]
[[fr:Modèle:Ancre affiliation]]
</noinclude>
01a8d13d80d910053d0dc23e9b092bcc0becfbea
Template:Wicri see city/semantic
10
339
847
664
2021-01-02T17:15:04Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
{{#ask:[[Has location city::{{PAGENAME}}]] [[Category:Stand-alone event]]
| format=ul
| sep=,_
| intro=
;List of event <nowiki>:</nowiki>:}}{{#ask:[[Has city::{{PAGENAME}}]] [[Category:Laboratory||University||Hight school||Organism||Hospital]]
| format=ul
| sep=,_
| intro=
;List of organisms in this wiki<nowiki>:</nowiki>:}}{{#ask:[[Has city::{{PAGENAME}}]] [[Category:Person]]
| sep=,_
| intro=
;List of people living in this city<nowiki>:</nowiki>:}}
209f1e0fed64ae091c5cc3b6d6cb21e16e9b5f5c
Template:Wicri see city
10
340
848
666
2021-01-02T17:15:04Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Modèle:Wicri thématique voir ville]]
</noinclude><includeonly>{{Wicri see city/semantic}}
{{Wicri see|reference={{{reference|}}}}}
[[Category:City]]
</includeonly>
334b4ddb872daa57cddb1925647e1831232d62dc
Template:Wicri see region/semantic
10
341
849
668
2021-01-02T17:15:04Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
{{#ask:[[Has region::{{PAGENAME}}]] [[Category:City]]
| sep=,_
| intro=
;List of cities from this region in this wiki:}}
{{#ask:[[Has region::{{PAGENAME}}]] [[Category:University||Hospital]]
| format=ul
| sep=,_
| intro=
;List of universities (hospital) from this region in this wiki:}}
2f5f85e5b02b7e168fdfbe6ecb31b2237d1bc942
Template:Wicri see region
10
342
850
670
2021-01-02T17:15:04Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Modèle:Wicri thématique voir région]]
</noinclude><includeonly>{{Wicri see region/semantic}}
{{Wicri see|reference={{{reference|}}}}}
[[Category:Region]]
</includeonly>
0fafa4a00f205851d6f5159fbc0a520348ba0046
Template:Explor link
10
343
851
672
2021-01-02T17:15:04Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#if:{{{url|}}}|[{{Explor link/Wiki|{{{wiki|}}}}}/Site/fr/{{{url|}}} {{{text|{{{area|}}}}}}]|
{{#if:{{{ftp|}}}|[{{Explor link/Wiki|{{{wiki|}}}}}/{{{ftp|}}} {{{text|{{{ftp|}}}}}}]|
{{#if:{{{type|}}}|{{#switch:{{{type}}}
|auteur=[{{Explor link/Area|{{{wiki|}}}}}/Site/fr/{{{stream|Main}}}/{{{step|Exploration}}}/indexItem.php?index=Author.i&key={{urlencode:{{{key|{{PAGENAME}}}}}}} {{{text|}}}]
|auteurAffiliation=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/autAff.php?index=AutAff.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|région=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffRegion.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|pays=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffPays.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|ville=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffVille.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|org=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffOrg.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|ISSN=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=ISSN.i&key={{urlencode:{{{clé|{{#show: {{PAGENAME}}| ?A pour ISSN}}}}}}} {{{texte|}}}]
|RBID=[{{Explor link/Wiki|{{{wiki|}}}}}/{{{area|}}}/Site/fr/{{{stream|Main}}}/{{{step|Exploration}}}/bibRecordById.php?id={{urlencode:{{{key|{{PAGENAME}}}}}}} {{{text|}}}]
|mot-clé Pascal=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=FC03.fr.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|mot-clé Wicri=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=Wicri.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|keyword=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=KwdEn.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|indexItem=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index={{{index|}}}&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
}}}}}}}}</includeonly><noinclude>
[[fr:Modèle:Explor lien]]
</noinclude>
81e1c9e9541d7beb6a66430fca19546f6067bcb0
Template:Explor link/Wiki
10
344
852
674
2021-01-02T17:15:04Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
<noinclude>
Ce modèle renvoie l'URL de départ des corpus pour un wiki donné.
{{Explor lien/Liste des wikis}}
==Voir aussi==
:* [[Modèle:Explor lien/Liste des wikis]] - ce modèle donne la liste des wikis qui contiennent des serveurs d'exploration ;
[[fr:Template:Explor lien/Wiki]]
</noinclude>{{#switch:{{{1|}}}
|Agronomie=http://ticri.univ-lorraine.fr/Wicri/Agronomie/corpus
|Artist=http://ticri.univ-lorraine.fr/Tic/Artist/corpus
|Archéologie=http://ticri.univ-lorraine.fr/Wicri/Archeologie/corpus
|Allemagne=http://ticri.univ-lorraine.fr/Wicri/Allemagne/corpus
|Biomasse=http://ticri.univ-lorraine.fr/Wicri/Biomasse/corpus
|Bois=http://ticri.univ-lorraine.fr/Wicri/Bois/corpus
|Brésil=http://ticri.univ-lorraine.fr/Wicri/Bresil/corpus
|Europe=http://ticri.univ-lorraine.fr/Wicri/Europe/corpus
|France=http://ticri.univ-lorraine.fr/Wicri/France/corpus
|Informatique=http://ticri.univ-lorraine.fr/Wicri/Informatique/corpus
|Linguistique=http://ticri.univ-lorraine.fr/Wicri/Linguistique/corpus
|Lorraine=http://ticri.univ-lorraine.fr/Wicri/Lorraine/corpus
|Luxembourg=http://ticri.univ-lorraine.fr/Wicri/Luxembourg/corpus
|Maroc=http://ticri.univ-lorraine.fr/Wicri/Maroc/corpus
|Musique=http://ticri.univ-lorraine.fr/Wicri/Musique/corpus
|Psychologie=http://ticri.univ-lorraine.fr/Wicri/Psychologie/corpus
|R21-MSTR=http://ticri.univ-lorraine.fr/Lorraine/R21-MSTR/corpus
|Sarre=http://ticri.univ-lorraine.fr/Wicri/Sarre/corpus
|Sante=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Santé=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Terre=http://ticri.univ-lorraine.fr/Wicri/Terre/corpus
|Ticri=http://ticri.univ-lorraine.fr/Wicri/Ticri/corpus
|Ticri/CIDE=http://ticri.univ-lorraine.fr/Tic/CIDE/corpus
|H2PTM=http://ticri.univ-lorraine.fr/Tic/H2PTM/corpus
|Ticri/H2ptm=http://ticri.univ-lorraine.fr/Tic/H2PTM/corpus
|Wicri/Agronomie=http://ticri.univ-lorraine.fr/Wicri/Agronomie/corpus
|Wicri/Allemagne=http://ticri.univ-lorraine.fr/Wicri/Allemagne/corpus
|Wicri/Amérique=http://ticri.univ-lorraine.fr/Wicri/Amerique/corpus
|Wicri/Amerique=http://ticri.univ-lorraine.fr/Wicri/Amerique/corpus
|Wicri/Archeologie=http://ticri.univ-lorraine.fr/Wicri/Archeologie/corpus
|Wicri/Artist=http://ticri.univ-lorraine.fr/Tic/Artist/corpus
|Wicri/Belgique=http://ticri.univ-lorraine.fr/Wicri/Belgique/corpus
|Wicri/Biomasse=http://ticri.univ-lorraine.fr/Wicri/Biomasse/corpus
|Wicri/Bois=http://ticri.univ-lorraine.fr/Wicri/Bois/corpus
|Wicri/Bresil=http://ticri.univ-lorraine.fr/Wicri/Bresil/corpus
|Wicri/Eau=http://ticri.univ-lorraine.fr/Wicri/Eau/corpus
|Wicri/Europe=http://ticri.univ-lorraine.fr/Wicri/Europe/corpus
|Wicri/France=http://ticri.univ-lorraine.fr/Wicri/France/corpus
|Wicri/Informatique=http://ticri.univ-lorraine.fr/Wicri/Informatique/corpus
|Wicri/Linguistique=http://ticri.univ-lorraine.fr/Wicri/Linguistique/corpus
|Wicri/Lorraine=http://ticri.univ-lorraine.fr/Wicri/Lorraine/corpus
|Wicri/Luxembourg=http://ticri.univ-lorraine.fr/Wicri/Luxembourg/corpus
|Wicri/Manuel=http://ticri.univ-lorraine.fr/Wicri/Manuel/corpus
|Wicri/Maroc=http://ticri.univ-lorraine.fr/Wicri/Maroc/corpus
|Wicri/Musique=http://ticri.univ-lorraine.fr/Wicri/Musique/corpus
|Wicri/Psychologie=http://ticri.univ-lorraine.fr/Wicri/Psychologie/corpus
|Wicri/Sarre=http://ticri.univ-lorraine.fr/Wicri/Sarre/corpus
|Wicri/Sante=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Wicri/Santé=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Wicri/Terre=http://ticri.univ-lorraine.fr/Wicri/Terre/corpus
|Wicri/Ticri=http://ticri.univ-lorraine.fr/Wicri/Ticri/corpus
|Wicri/Wicri=http://ticri.univ-lorraine.fr/Wicri/Wicri/corpus
}}
3d4fe85669b14f35eb0a3a663d66e736e1224788
Template:Explor link/List of wikis
10
345
853
676
2021-01-02T17:15:04Z
imported>Jacques Ducloy
0
1 revision imported
wikitext
text/x-wiki
;Wicri communs:''Nomenclature recommandée (les codes sont non accentués pour faciliter une transcription en URI'')
{| class="wikitable sortable"
|-
!code classement
!code lien interwiki
!code wiki (file system)
|-
|a1
|wicri.fr
|[[wicri.fr:Serveur d'exploration|Wicri/Wicri]]
|-
|a3
|artist.fr
|[[artist.fr:Catégorie:Serveur d'exploration|Wicri/Artist]]
|-
|a2
|wicri-man.fr
|[[wicri-man.fr:Catégorie:Serveur d'exploration|Wicri/Manuel]]
|-
|g1am
|wicri-amerique.fr
|[[wicri-amerique.fr:Catégorie:Serveur d'exploration|Wicri/Amerique]]
|-
|g2eufr
|wicri-france.fr
|[[wicri-france.fr:Catégorie:Serveur d'exploration|Wicri/France]]
|-
|g2eufrlor
|wicri-lor.fr
|[[wicri-lor.fr:Catégorie:Serveur d'exploration|Wicri/Lorraine]]
|-
|t312
|wicri-agronomie.fr
|[[wicri-agronomie.fr:Catégorie:Serveur d'exploration|Wicri/Agronomie]]
|-
|t312
|wicri-eau.fr
|[[wicri-eau.fr:Catégorie:Serveur d'exploration|Wicri/Eau]]
|-
|t341
|wicri-archeologie.fr
|[[wicri-archeologie.fr:Catégorie:Serveur d'exploration|Wicri/Archeologie]]
|-
|t342
|wicri.linguistique.fr
|[[wicri-linguistique.fr:Catégorie:Serveur d'exploration|Wicri/Linguistique]]
|-
|t14
|ticri.fr
|[[ticri.fr:Catégorie:Serveur d'exploration|Wicri/Ticri]]
|-
|}
;Wikis communs:''nomenclature en cours de mutation''
* [[wicri-maroc.fr:Catégorie:Serveur d'exploration|Maroc]]
* [[wicri-bresil.fr:Catégorie:Serveur d'exploration|Brésil]]
* [[wicri-europe.fr:Catégorie:Serveur d'exploration|Europe]], [[wicri-lux.fr:Catégorie:Serveur d'exploration|Luxembourg]],
* [[wicri-allemagne.fr:Catégorie:Serveur d'exploration|Allemagne]], [[wicri-sarre.fr:Catégorie:Serveur d'exploration|Sarre]]
* [[wicri-france.fr:Catégorie:Serveur d'exploration|France]], [[wicri-lor.fr:Catégorie:Serveur d'exploration|Lorraine]]
* [[wicri-bois.fr:Catégorie:Serveur d'exploration|Bois]], [[wicri-terre.fr:Catégorie:Serveur d'exploration|Terre]],
* [[ticri.fr:Catégorie:Serveur d'exploration|Ticri]], [[artist.fr:Catégorie:Serveur d'exploration|Artist]], [[ticri-h2ptm.fr:Catégorie:Serveur d'exploration|H2PTM]],
* [[wicri-agronomie.fr:Serveur d'exploration|Agronomie]], [[wicri-archeologie.fr:Serveur d'exploration|Archéologie]], [[wicri-biomasse.fr:Serveur d'exploration|Biomasse]], [[wicri-informatique.fr:Serveur d'exploration|Informatique]], [[wicri-linguistique.fr:Serveur d'exploration|Linguistique]], [[wicri-musique.fr:Serveur d'exploration|Musique]], [[wicri-psycho.fr:Serveur d'exploration|Psychologie]], [[wicri-sante.fr:Serveur d'exploration|Santé]], [[ticri.fr:Serveur d'exploration|Ticri]]
;Wikis associés:
* [[udl-r21-mstr.fr:Catégorie:Serveur d'exploration|R21-MSTR]]
<noinclude>
[[fr:Modèle:Explor lien/Liste des wikis]]
</noinclude>
d88fefc162896b3523863183c263cc5d6a749350
Template:Logo Wicri Arts en
10
142
270
2021-01-04T10:31:43Z
Jacques Ducloy
1
Created page with "File:LogoWicriArts2020En.png"
wikitext
text/x-wiki
File:LogoWicriArts2020En.png
5761683308343d1c5b53cdabc6febd8e0ef78b2e
Template:Browsing Wicri
10
194
374
2021-01-04T11:16:02Z
Jacques Ducloy
1
wikitext
text/x-wiki
{|align=center
|-
|{{Wicri global map (en)
|map size=600
}}
|}
;General and service wikis:
{{Begin 2 columns}}
;For the whole network:
* Wicri/Wicri : [[wicri-wicri.en:Main Page|[en]]], [[wicri-wicri.fr:Accueil|[fr]]],
* Wicri/Man : [[wicri-man.en:Main Page|[en]]], [[wicri-man.fr:Accueil|[fr]]],
* Wicri/Metadata: [[wicri-meta.en:Main Page|[en]]], [[wicri-meta.fr:Accueil|[fr]]],
* Wicri/Tools: [[wicri-outils.en:Main Page|[en]]], [[wicri-outils.fr:Accueil|[fr]]],
* Wicri/Incubateur : [[wicri-incub.fr:Accueil|[fr]]], [[wicri-incub.priv:Accueil|[privé]]].
;Domain <code>wicri.demo.istex.fr</code> :
* Wicri/Home Demo.Istex : [[wic-demo.istex.fr:Main Page|[en]]]
* Wicri/Pool Demo.Istex : [[wic-demo.istex.pool:Main Page|[en]]]
{{Jump 2 columns}}
;Domain <code>lorexplor.istex.fr</code> :
* Wicri/Root : [[wicri-root.en:Main Page|[en]]], [[wicri-source.fr:Accueil|[fr]]] (''Source'')
;MediaWiki, stable versions:
* Wicri/Base 1.28 : [[wicri-base128.en:Main Page|[en]]], [[wicri-base128.fr:Accueil|[fr]]], [[wicri-base128.de:Accueil|[de]]], [[wicri-base128.pt:Main Page|[pt]]]
* Wicri/Base 1.31 : [[wicri-base131.fr:Accueil|[fr]]], [[wicri-base131.en:Main Page|[en]]], [[wicri-base131.de:Hauptseite|[de]]], [[wicri-base131.pt:Página principal|[pt]]]
{{End 2 columns}}
;Regional wikis:
{{Begin 3 columns}}
;France:
* Wicri/France : [[wicri-france.en:Main Page|[en]]], [[wicri-france.fr:Accueil|[fr]]], [[wicri-france.de:Hauptseite|[de]]],
* Wicri/Ïle-de-France : [[wic-iledefrance.en:Main Page|[en]]], [[wic-iledefrance.fr:Accueil|[fr]]],
* Wicri/Grand Est : [[wic-grand.est.en:Main Page|[en]]], [[wic-grand.est.fr:Accueil|[fr]]],
:* Wicri/Alsace : [[wicri-als.en:Main Page|[en]]], [[wicri-als.fr:Accueil|[fr]]],
:*Wicri/Lorraine : [[wicri-lor.fr:Accueil|[fr]]], [[wicri-lor.en:Main Page|[en]]], [[wicri-lor.de:Hauptseite|[de]]], [[wicri-lor.priv:Accueil|[privé]]].
:**Wicri/Histoire Lorraine : [[wic-hist.lor.fr:Accueil|[fr]]],
:**Wicri/Nancy : [[wicri-nancy.fr:Accueil|[fr]]], [[wicri-nancy.en:Main Page|[en]]], [[wicri-nancy.priv:Accueil|[privé]]] ;
:*Wicri/Sociétés Grand Est : [[wic-soc.grandest.fr:Accueil|[fr]]].
{{Jump 3 columns}}
;Europe:
{{Jump 3 columns}}
;Africa;
;Americas;
;Asia:
;Oceania:
* Wicri/Oceania : [[wicri-oceania.en:Main Page|[en]]], [[wicri-oceanie.fr:Accueil|[fr]]].
{{End 3 columns}}
;Thematic wikis:
{{Begin 3 columns}}
{{Jump 3 columns}}
{{Jump 3 columns}}
{{End 3 columns}}
;The kernel of Wicri network:
{{Begin 3 columns}}
;For the whole network:
{{Jump 3 columns}}
;For LorExplor website:
* Wicri/Pool LorExplor : [[wicri-pool-lorexplor:Main Page|[en]]]
{{Jump 3 columns}}
;For Ticri website:
* Wicri/Wicri : [[wicri.en:Main Page|[en]]], [[wicri.fr:Accueil|[fr]]], [[wicri.de:Hauptseite|[de]]], [[wicri.pt:Página principal|[pt]]], [[wicri.priv:Accueil|[priv.]]].
* Wicri/Base: [[wicri-base.en:Main Page|[en]]], [[wicri-base.fr:Accueil|[fr]]], [[wicri-base.de:Hauptseite|[de]]], [[wicri-base.pt:Página principal|[pt]]].
* Wicri/Pool Ticri : [[wicri-pool-ticri:Main Page|[en]]]
{{End 3 columns}}
;Regional wikis:
{{Begin 3 columns}}
;France Network:
* Wicri/France: [[wicri-france.en:Accueil|[en]]], [[wicri-france.fr:Accueil|[fr]]], [[wicri-france.de:Hauptseite|[de]]], [[wicri-france.priv:Accueil|[privé]]],
:* Wicri/Alsace: [[wicri-alsace.en:Main Page|[en]]], [[wicri-als.fr:Accueil|[fr]]], [[wicri-als.priv:Accueil|[priv]]]
:*Wicri/Lorraine: [[wicri-lor.fr:Accueil|[fr]]], [[wicri-lor.en:Main Page|[en]]], [[wicri-lor.de:Hauptseite|[de]]], [[wicri-lor.priv:Accueil|[priv.]]].
{{Jump 3 columns}}
;Europe:
*Wicri/Europe: [[wicri-europe.en:Main Page|[en]]], [[wicri-europe.fr:Accueil|[fr]]], [[wicri-europa.de:Hauptseite|[de]]],[[wicri-europe.priv:Accueil|[priv]]],
**Wicri/Wicri/Greater Region: [[wicri-gr.de:Hauptseite|[de]]], [[wicri-gr.en:Main Page|[en]]], [[wicri-gr.fr:Accueil|[fr]]],
**Wicri/Belgium: [[wicri-belgium.en:Main Page|[en]]], [[wicri-belgique.fr:Accueil|[fr]]],
*** Wicri/Wallonia: [[wicri-wallonie.fr:Main Page|[en]]], [[wicri-wallonie.fr:Accueil|[fr]]],
**Wicri/Germany: [[wicri-germany.en:Main Page|[en]]], [[wicri-deutschland.de:Hauptseite|[de]]], [[wicri-allemagne.fr:Accueil|[fr]]],
***Wicri/Rhineland Palatinate [[wicri-rhin-pal.en:Main Page|[en]]], [[wicri-rhen-pal.fr:Accueil|[fr]]]
***Wicri/Saarland: [[wicri-saarland.en:Main Page|[en]]], [[wicri-sarre.fr:Accueil|[fr]]], [[wicri-saarland.de:Hauptseite|[de]]]
**Wicri/Luxembourg: [[wicri-lux.en:Main Page|[en]]], [[wicri-lux.fr:Accueil|[fr]]],
{{Jump 3 columns}}
;Africa:
*Wicri/Africa: [[wicri-africa.en:Main Page|[en]]], [[wicri-afrique.fr:Accueil|[fr]]], , [[wicri-afrika.de:Hauptseite|[de]]],
** Wicri/Morocco: [[wicri-morocco.en:Main Page|[en]]], [[wicri-maroc.fr:Accueil|[fr]]],
;Americas:
* Wicri/Americas : [[wicri-amerique.fr:Accueil|[fr]]], [[wicri-americas.en:Main Page|[en]]], [[wicri-amerika.de:Hauptseite|[de]]], [[wicri-america.pt:Página principal|[pt]]],
** Wicri/Brazil: [[wicri-bresil.fr:Accueil|[fr]]], [[wicri-brazil.en:Main Page|[en]]], [[wicri-brasil.pt:Página principal|[pt]]],
** Wicri/Canada: [[wicri-canada.fr:Accueil|[fr]]], [[wicri-canada.en:Main Page|[en]]]
;Asia network:
* Wicri/Asia: ''& Oceania'' [[wicri-asie.fr:Accueil|[fr]]], [[wicri-asia.en:Main Page|[en]]], [[wicri-asien.de:Hauptseite|[de]]],
{{End 3 columns}}
;Thematics wikis:
{{Begin 3 columns}}
;Engineering and e-Science:
* Wicri/Computer science: [[wic-informatique.fr:Main Page|[en]]], [[wic-informatique.fr:Accueil|[fr]]],
* Wicri/Engineering: [[wicri-engin.en:Main Page|[en]]], [[wicri-ingen.fr:Accueil|[fr]]],
* Wicri/Ticri: [[ticri.en:Main Page|[en]]], [[ticri.fr:Accueil|[fr]]], [[ticri.priv:Accueil|[priv]]].
:* Wicri/Artist: [[artist.en:Main Page|[en]]], [[artist.fr:Accueil|[fr]]], [[artist.priv:Accueil|[priv.]]],
<div style="background-color:#F5F6CE;">
:* Ticri/CIDE : [[ticri-cide.fr:Accueil|[fr]]],
:* Ticri/H<sup>2</sup>PTM : [[ticri-h2ptm.fr:Accueil|[fr]]], [[ticri-h2ptm.priv:Accueil|[priv]]],
:* Ticri/VSST : [[ticri-vsst.fr:Accueil|[fr]]],
</div>
{{Jump 3 columns}}
;Thematic network Natural environment:
* Wicri/Agronomy: [[wicri-agronomy.en:Main Page|[en]]], [[wicri-agronomie.fr:Accueil|[fr]]],
<div style="background-color:#F5F6CE;">
:*Les mots de l'agronomie : [[mots-agronomie.fr:Accueil|[fr]]], [[dico-agro.priv:Accueil|[privé]]],
</div>
*Wicri/Biomass: [[wicri-t-biomasse.en:Main Page|[en]]], [[wicri-t-biomasse.fr:Accueil|[fr]]], [[wicri-t-biomasse.priv:Accueil|[priv]]]
* Wicri/Earth : [[wicri-terre.fr:Accueil|[fr]]], [[wicri-earth.en:Main Page|[en]]].
* Wicri/Urban soils : [[wicri-t-sols-urbains.fr:Accueil|[fr]]], [[wicri-t-sols-urbains.en:Main Page|[en]]], [[wicri-t-sols-urbains.priv:Accueil|[priv.]]]
<div style="background-color:#F5F6CE;">
::* Gisfi : [[gisfi.fr:Accueil|[fr]]], [[gisfi.en:Main Page|[en]]], [[gisfi.priv:Accueil|[privé]]],
</div>
* Wicri/Water: [[wicri-t-eau.fr:Accueil|[fr]]], [[wicri-t-eau.en:Main Page|[en]]], [[wicri-wasser.de:Hauptseite|[de]]], [[wicri-t-eau.priv:Accueil|[priv.]]]
* Wicri/Wood and Forests: [[wicri-t-bois.fr:Accueil|[fr]]], [[wicri-t-bois.en:Main Page|[en]]], [[wicri-t-bois.priv:Main Page|[pr.fr]]], [[wicri-bois.pr.en:Accueil|[pr.en]]].
{{Jump 3 columns}}
;Thematic network Humanities:
*Wicri/Archaeology: [[wicri-archaeology.en:Main Page|[en]]], [[wicri-archeologie.fr:Accueil|[fr]]],[[wicri-archeologie.priv:Accueil|[priv]]]
*Wicri/Lingustics: [[wicri-linguistics.en:Main Page|[en]]], [[wicri-linguistique.fr:Accueil|[fr]]],
*Wicri/Music : [[wicri-music.en:Main Page|[en]]], [[wicri-musique.fr:Accueil|[fr]]],
*Wicri/Psychology : [[wicri-psycho.en:Main Page|[en]]], [[wicri-psycho.fr:Accueil|[fr]]],
*Wicri/Health : [[wicri-health.en:Main Page|[en]]], [[wicri-sante.fr:Accueil|[fr]]].
{{End 3 columns}}
;University of Lorraine:
{{Begin 3 columns}}
<div style="background-color:#F5F6CE;">
:: > CPER (regional agreement) :
::*Cper/IMT-S: [[imt-s.fr:Accueil|[fr]]], [[imt-s.priv:Accueil|[priv]]],
::*Cper/MEPP: [[mepp.fr:Accueil|[fr]]], [[mepp.priv:Accueil|[priv]]],
::*Cper/MISB: [[misn.fr:Accueil|[fr]]], [[misn.priv:Accueil|[priv]]],
::*Cper/H&S: [[prst-msh.fr:Accueil|[fr]]], [[prst-msh.priv:Accueil|[priv]]],
::*Cper/SGE: [[sge.fr:Accueil|[fr]]], [[sge.priv:Accueil|[priv]]]
::*[[fabelor.fr:Accueil|Fabelor]],
:: > State services
::* DRRT Lorraine : [[drrt-lor.fr:Accueil|[fr]]], [[drrt-lor.priv:Accueil|[privé]]], [[drrt-lor.staff:Accueil|[staff]]] ;
::* DIRECCTE : [[direccte.fr:Accueil|[fr]]], [[direccte.priv:Accueil|[priv]]] ;
::*[[lor-sgar-ia.priv:Accueil|SGAR IA]]
:: > Laboratories, applications...
::* DCPR : [[dcpr.fr:Accueil|[fr]]], [[dcpr.en:Main Page|[en]]], [[dcpr.priv:Accueil|[priv]]],
::* Promotech : [[promotech.fr:Accueil|[fr]]], [[promotech.priv:Accueil|[priv]]]
::*[[udl-bul-col.fr:Accueil|Collection Bul]], [[mycor.en:Main Page|Mycor]]
::*[[udl-cpme.priv:Accueil|Compétences PME]]
</div>
{{Jump 3 columns}}
{{Jump 3 columns}}
;National or international cooperation:
:* Médici : [[medici.fr:Accueil|[fr]]], [[medici.priv:Accueil|[priv]]],
:* INTD (TP) : [[intd.tp.fr:Accueil|[fr]]]
<div style="background-color:#F5F6CE;">
::* IHEST : [[ihest.priv.fr:Accueil|[fr]]], [[ihest.priv.pt:Página principal|[pt]]],
</div>
{{End 3 columns}}
<noinclude>
[[fr:Modèle:Navigation Wicri]]
</noinclude>
257782b833bd71d0042c1aa8b23fb2ca6ec5444a
Template:Logo Wicri Oceania en
10
178
342
2021-01-04T11:35:37Z
Jacques Ducloy
1
Created page with "File:LogoWicriOceanieEn.png"
wikitext
text/x-wiki
File:LogoWicriOceanieEn.png
64d9b9aad7db2beb212c7e4d9a7b33eac60ba6b3
Template:Logo Wicri Grand Est en
10
162
310
2021-01-04T11:36:35Z
Jacques Ducloy
1
Created page with "File:LogoWicriGrandEstEn.png"
wikitext
text/x-wiki
File:LogoWicriGrandEstEn.png
57ec7ffb976173ff3aa882081a88016012899d5c
Template:Logo Wicri Base 1.31 en
10
137
260
2021-01-05T13:45:05Z
Jacques Ducloy
1
Created page with "File:WicriLogoBase131V2021En.png"
wikitext
text/x-wiki
File:WicriLogoBase131V2021En.png
f7af79527cfd7afd14c6017dee0823c3541616c4
Template:Logo Wicri Sic en
10
147
280
2021-01-05T14:18:19Z
Jacques Ducloy
1
Created page with "File:LogoWicriSicEn.png"
wikitext
text/x-wiki
File:LogoWicriSicEn.png
ddab90e6c776eb11ee357ec28451d76b5f9650e9
Template:Logo Wicri Man en
10
133
252
2021-01-05T16:21:34Z
Jacques Ducloy
1
wikitext
text/x-wiki
File:LogoWicriMan2021En.png
b3354d8f377ad5eb3444081c140cce8fb88052e6
Template:Logo Wicri Île-de-France en
10
163
312
2021-01-05T17:06:54Z
Jacques Ducloy
1
Created page with "File:LogoWicriIleDeFranceEn.png"
wikitext
text/x-wiki
File:LogoWicriIleDeFranceEn.png
1e8001d3247262d95dfa5a72d8bc68ad97784b5c
Template:Wicri global map (en)
10
124
234
2021-01-05T17:16:28Z
Jacques Ducloy
1
wikitext
text/x-wiki
<noinclude>
Ce modèle affiche une carte globale des wikis communs du réseau Wicri
<pre>
{{Wicri global map (en)
|map size= 550 (default)
|size 1 = 54 (default)
|size 2 = 50 (default)
|size 3 = 43 (default)
|size 4 = 42 (default)
|size 5 = 39 (default)
|private = link to private wiki
}}
</pre>
[[fr:Modèle:Wicri global map]]
[[de:Vorlage:Globale Karte Wicri]]
[[pt:Predefinição:Mapa de rede Wicri Orientação]]
</noinclude><div style="position:relative;width:{{{map size|550}}}px;">
[[File:WicriRéseauGabarit3.png|{{{map size|550}}}px]]
<div style="position: absolute; top: 4%; left: 17%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Base 1.28 en}}|{{{size 3|43}}}px|link=wicri-base128.en:Main Page|Pour aller sur le wiki de service Wicri/Base 1.28 (fr)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 25%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Base 1.31 en}}|{{{size 3|43}}}px|link=wicri-base131.en:Main Page|Going to wiki Wicri/Base 1.31 (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 33%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Pool LorExplor}}|{{{size 3|43}}}px|link=wic-lorexplor.pool:Main Page|Going to images pool on domain lorexplor.istex.fr]]
</div>
</div>
<div style="position: absolute; top: 4%; left:41%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Root en}}|{{{size 3|43}}}px|link=wicri-root.en:Main Page|Going to home wiki for domain lorexplor.ixtex.fr (en)]]
</div>
</div>
<div style="position: absolute; top: 1%; left: 50%;">
<div style="position: absolute; left: -{{#expr: {{{size 1|54}}} / 2}}px;">
[[{{Logo Wicri Wicri en}}|{{{size 1|54}}}px|link=wicri-wicri.en:Main Page|Going to Wicri/Wicri (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 59%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Home Demo.Istex}}|{{{size 3|43}}}px|link=wic-demo.istex.fr:Main Page|Going to home wiki for wicri-demo.istex.fr domain]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 67%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Pool Demo.Istex}}|{{{size 3|43}}}px|link=wic-demo.istex.pool:Main Page|Going to images pool on wicri-demo.istex.fr domain]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 75%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Man en}}|{{{size 3|43}}}px|link=wicri-man.en:Main Page|Going to wiki Wicri/Man (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 93%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Tools en}}|{{{size 3|43}}}px|link=wicri-tools.en:Main Page|Going to Wicri/Tools]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 14%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Arts en}}|{{{size 3|43}}}px|link=wicri-arts.en:Main Page|Going to wiki Wicri/Arts (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 78%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Sic en}}|{{{size 3|43}}}px|link=wicri-sic.en:Main Page|Going to wiki Wicri/Ics (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 71%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Oceania en}}|{{{size 3|43}}}px|link=wicri-oceania.en:Main Page|Going to wiki Wicri/Oceania (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 54%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Grand Est en}}|{{{size 3|43}}}px|link=wic-grand.est.en:Main Page|Going to wiki Wicri/Grand Est (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 92%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Île-de-France en}}|{{{size 3|43}}}px|link=wic-iledefrance.en:Main Page|Going to wiki Wicri/Île-de-France (en)]]
</div>
</div>
</div>
79d540dbb5b67697b5b21b07430dd3ec48686d37
MediaWiki:Alphindex
8
19
25
24
2021-01-05T17:24:05Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
Alphabetical Index
72548f2cd920aff405b7f6d49b73959255281d7a
MediaWiki:Alphindex-url
8
20
27
26
2021-01-05T17:24:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
Special:Allpages
9c4ca57f1c0c45ab625ad8985112b73c94303484
MediaWiki:Sidebar
8
21
29
28
2021-01-05T17:24:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
* navigation
** mainpage|mainpage-description
** portal-url|portal
** currentevents-url|currentevents
** recentchanges-url|recentchanges
** alphindex-url|alphindex
** Topics index|Topics index
** randompage-url|randompage
** helppage|help
* SEARCH
* TOOLBOX
* LANGUAGES
a22f7d50030d38722b41c74b7698e467f66876a9
MediaWiki:Edittools
8
22
31
30
2021-01-05T17:24:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!-- Text here will be shown below edit and upload forms. -->
<!-- Le texte ci-dessous sera visible en-dessous de la fenêtre d'édition.
Attention : pour insérer un lien comportant un espace (ex : « + ») les espaces doivent être des "vrais" insécables (pas des   ou ). On peut aussi utiliser le <nowiki> </nowiki> -->
<div class="plainlinks" style="margin-top:1px;border-width:1px;border-style:solid;border-color:#aaaaaa;padding:5px;">
Special characters:
<charinsert> æ Æ </charinsert>
<charinsert> à À â Â ä Ä </charinsert> ·
<charinsert> ç Ç </charinsert> ·
<charinsert> € é É è È ê Ê ë Ë </charinsert> ·
<charinsert> î Î ï Ï </charinsert> ·
<charinsert> œ Œ </charinsert>
<charinsert> ô Ô ö Ö </charinsert> ·
<charinsert> ù Ù û Û ü Ü </charinsert> ·
<charinsert> ÿ Ÿ </charinsert> ·
<charinsert> <nowiki>« </nowiki>+<nowiki> »</nowiki> <nowiki>{{</nowiki>+<nowiki>}}</nowiki> <nowiki>{{</nowiki>+<nowiki>|}}</nowiki> [[+]] [[+|]] [+] “+”</charinsert> ·
<charinsert> — – • ’ | … ~ # @ </charinsert>
<charinsert> ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁰ ½ </charinsert>
Wiki syntax:
<charinsert> <nowiki>[[Catégorie:</nowiki>+<nowiki>]]</nowiki></charinsert>
<charinsert><nowiki>[[Image:</nowiki>+<nowiki>]]</nowiki></charinsert>
<charinsert><nowiki>#REDIRECT[[</nowiki>+<nowiki>]]</nowiki></charinsert>
<charinsert><nowiki><ref></nowiki>+<nowiki></ref></nowiki></charinsert>
<charinsert><references/></charinsert>
<charinsert><nowiki>{{PAGENAME}}</nowiki></charinsert>
</div>
c00f7b92a56d4ea1a3cfb043d6f3bb6660dedcd7
MediaWiki:Helppage
8
23
33
32
2021-01-05T17:24:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
Help:Main Page
2a24a7688116ef9b3979d91295a3be7d85054160
Topics index
0
24
35
34
2021-01-05T17:24:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==Geographical access==
* [[Africa]]
* [[Americas]]
* [[Asia]]
* [[Europe]] > [[France]]
* [[Oceania]]
==Topics acces with [[EuroVoc]]==
{|
|-
|{{EuroVoc domains - list 1.2}}
|{{Copyright EuroVoc}}
|}
==Categories==
See: [[:Category:Contents]]
* [[archives]]
[[fr:Index thématique]]
160f70a78e081a28d1b58f2058cb1d4303e6f3d1
Semantic Web
0
25
37
36
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
The '''Semantic Web''' provides a common framework that allows data to be shared and reused across application, enterprise, and community boundaries. It is a collaborative effort led by W3C with participation from a large number of researchers and industrial partners. It is based on the Resource Description Framework (RDF)<ref>[http://www.w3.org/2001/sw/ W3C Semantic Web Activity]</ref>.
==Wicri and Semantic Web==
Wicri is using Semantic Web technologies.
Specifically, a set of models are directly inherited from the work of [[Semantic Web (wiki) |SemanticWeb.org]], the wiki of related Worging Groups.
==See also==
===Notes===
<references/>
[[fr:Semantic Web]]
e8222f06f04a57cb39bc766694d0f9a4f33b76b8
EuroVoc
0
26
39
38
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
'''EuroVoc''' is a multilingual, multidisciplinary thesaurus covering the activities of the [[European Union|EU]]
==See also==
===On this wiki===
See:
* Category [[:Category:EuroVoc|EuroVoc]]
===Interwiki links===
See Eurovoc on wikis:
* [[wicri-europe.en:EuroVoc|Wicri/Europe]].
[[fr:Eurovoc]]
8f79afdb3c4138ec65c2d6943a6351e4fa7d7c39
Category:Contents
14
27
41
40
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This category is the root of catagories system in Wicri.
This way of doing is very close to Wikipedia's one.
[[fr:Catégorie:Accueil]]
eafac5c1fda5b08091130cf82684c21973e600ba
Category:Articles
14
28
43
42
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Contents]]
[[fr:Catégorie:type d'article]]
e0fe0f2ea5aaddc529126332b83aa49319b82eac
Category:Template imported from Wikipedia
14
29
45
44
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This category must be used for indexing a template imported from Wikipedia.
[[Category:Import Wikipedia]]
[[Category:Imported template]]
[[fr:Catégorie:Modèle importé de Wikipédia]]
a233ec678d0659def2f973b11832a9a82e913b80
Category:Import Wikipedia
14
30
47
46
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Wikipedia]]
4d8fec0707c0eb49cdbd83ba2e2f50bb2d636f27
Category:Imported template
14
31
49
48
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Catégorie:Modèle importé]]
2195f6ba615978e1d0c841c61b2c74cc20a9dc71
Category:File imported from Wikipedia
14
32
51
50
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Import Wikipedia]]
185ea503f70d79a7f9a3ca4d63dcdbc97cc369ee
Template:Geographical access
10
33
53
52
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Main Page]] > [[Topics index|Topics]] > [[Geographic access|Geographic]]
6113d8f2be2196ba1c13444c99f1dba3cffa98fa
Category:Continent
14
34
55
54
2021-01-05T17:24:32Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Geography]]
[[fr:Catégorie:Continent]]
c83f4c807012586928d0d5e63e0ae2a9f9665840
Asia
0
35
57
56
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Asia]]</small><hr/>
==Countries of Asia==
{{Countries of Asia}}
==See also==
===Pages & articles===
* Categories: [[:Category:Asia|Asia]]
===Interwiki links===
See Asia on:
* [[wicri.en:Asia|Wicri/Wicri]]
[[fr:Asie]]
9a64115509b3f754987b8ce8133eeea25ae75d1c
Category:Asia
14
36
59
58
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
==Interwiki links==
See Category Asia on: [[wicri.en:Category:Asia|Wicri/Wicri]]
[[Category:Continent]]
[[fr:Catégorie:Asie]]
0d1c280c24918f3d3d70c138ef3cddfbdaf7a4ba
Africa
0
37
61
60
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Africa]]</small><hr/>
==Countries of Africa==
{{Countries of Africa}}
==See also==
===Pages & articles===
* Categories: [[:Category:Africa|Africa]]
===Interwiki links===
See Africa on:
* [[wicri.en:Africa|Wicri/Wicri]]
[[fr:Afrique]]
1f1672a466a5e7728d5067638851a46c4327aa47
Category:Africa
14
38
63
62
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Continent]]
[[fr:Catégorie:Afrique]]
0ccf15b1219b836ef7ad734bc6f53377ec3c58ca
Americas
0
39
65
64
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Americas]]</small><hr/>
==Countries of the Americas==
{{Countries of the Americas}}
==See also==
===Pages & articles===
* Categories: [[:Category:Americas|Americas]]
===Interwiki links===
See Americas on:
* [[wicri.en:Americas|Wicri/Wicri]]
[[fr:Amérique]]
2cac227a50d7a46606e165f1447b96bce527cc08
Category:Americas
14
40
67
66
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Continent]]
[[fr:Catégorie:Amérique]]
07ae8c0eedb2e518f297fcf3d56924d39ee9e901
Oceania
0
41
69
68
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Oceania]]</small><hr/>
==Countries and territories of Oceania==
{{Countries and territories of Oceania}}
==See also==
===Pages & articles===
* Categories: [[:Category:Oceania|Oceania]]
===Interwiki links===
See Oceania on:
* [[wicri.en:Oceania|Wicri/Wicri]]
[[fr:Océanie]]
f56345e8989b20e800d9fff26f21843bc94f422c
Category:Oceania
14
42
71
70
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Continent]]
[[fr:Catégorie:Océanie]]
9376b3578c5390d74fbbd700f53d5cb90c70b00b
Europe
0
43
73
72
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Europe]]</small><hr/>
==Countries of Europe==
{{Countries of Europe}}
==See also==
===Pages & articles===
* Categories: [[:Category:Europe|Europe]]
===Interwiki links===
See Europe on:
* [[wicri.en:Europe|Wicri/Wicri]]
[[fr:Europe]]
b4185d443a78b21a470af61079860d606efaeeeb
Category:Europe
14
44
75
74
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Continent]]
[[fr:Catégorie:Europe]]
9b2e7290cce0bed9ba79d46f34049f547e2b48ae
France
0
45
77
76
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Europe]] > [[France]]</small><hr/>
==Regions of France==
{{Regions of France}}
==See also==
===Pages & articles===
* Categories: [[:Category:France|France]]
===Interwiki links===
France on : [[wicri.fr:France|Wicri/Wicri]]
[[fr:France]]
b2876ba9a04039d9eb7e7d4e47d27c42a262c89a
Category:France
14
46
79
78
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
[[Category:Europe]]
[[fr:Catégorie:France]]
c8ed0c2f611c9e237ecd865128e1c42332aff8b1
Eurovoc
0
47
81
80
2021-01-05T17:24:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[EuroVoc]]
d2e59208055016d9b7f3730d1535452ab277fffd
MediaWiki:Common.css
8
48
83
82
2021-01-05T17:25:31Z
Jacques Ducloy
1
1 revision imported
css
text/css
/* CSS placed here will be applied to all skins */
/* Wicri */
.headerWicri {
background:#F0F0F0 url("https://lorexplor.istex.fr/Wicri/cccc.png") no-repeat right;
margin:0;
font-size:120%;
font-weight:bold;
border:1px solid #a3b0bf;
text-align:left;
color:#000;
padding:.15em .4em;
}
/* Reset italic styling set by user agent */
cite, dfn {
font-style: inherit;
}
/* Straight quote marks for <q> */
q {
quotes: '"' '"' "'" "'";
}
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
overflow: hidden;
margin: 1em 0;
padding: 0 40px;
}
/* Prevent the 'double bold' bug in Firefox when using DirectWrite */
strong.selflink {
font-weight: 700;
}
/* Consistent size for <small>, <sub> and <sup> */
small {
font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup,
span.reference /* for Parsoid */ {
font-size: 80%;
}
/* Same spacing for indented and unidented paragraphs on talk pages */
.ns-talk .mw-body-content dd {margin-top:0.4em; margin-bottom:0.4em;}
/* Main page fixes */
#interwiki-completelist {
font-weight: bold;
}
body.page-Main_Page #ca-delete,
body.page-Main_Page #ca-move {
display: none !important;
}
body.page-Main_Page #mp-topbanner {
clear: both;
}
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .mw-special-Watchlist #watchlist-message,
.client-js .collapsible.collapsed > tbody > tr:not(:first-child) {
display: none;
}
/* Tone down 'Changed since last visit' colors */
span.updatedmarker {
background-color: transparent;
color: #006400;
}
/* Edit window toolbar */
#toolbar {
height: 22px;
margin-bottom: 6px;
}
/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
display: none;
}
/* Highlight linked elements (such as clicked references) in blue */
body.action-info .mw-body-content :target,
.citation:target {
background-color: #DEF; /* Fallback */
background-color: rgba(0, 127, 255, 0.133);
}
/* Styling for citations. Breaks long urls, etc., rather than overflowing box */
.citation {
word-wrap: break-word;
}
/* For linked citation numbers and document IDs, where the number need not be shown
on a screen or a handheld, but should be included in the printed version */
@media screen, handheld {
.citation .printonly {
display: none;
}
}
/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
font-size: 90%; /* Default font-size */
margin-bottom: 0.5em;
}
div.refbegin-100 {
font-size: 100%; /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.reflist */
margin-bottom: 0; /* Avoid double margin when nested in dev.reflist */
list-style-type: inherit; /* Enable custom list style types */
}
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
font-weight: normal;
font-style: normal;
}
/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
display: none;
}
/* Hanging indentation for Template:Refbegin */
.refbegin-hanging-indents > ul {
list-style-type: none;
margin-left: 0;
}
.refbegin-hanging-indents > ul > li,
.refbegin-hanging-indents > dl > dd {
margin-left: 0;
padding-left: 3.2em;
text-indent: -3.2em;
list-style: none;
}
/* Reset top margin for lists embedded in columns */
div.columns {
margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
margin-top: 0;
}
/* Avoid elements from breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd dd {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid-column;
}
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
.flowlist ul {
overflow-x: hidden;
margin-left: 0;
padding-left: 1.6em;
}
.flowlist ol {
overflow-x: hidden;
margin-left: 0;
padding-left: 3.2em;
}
.flowlist dl {
overflow-x: hidden;
}
/* Style for horizontal lists (separator following item).
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@revision 8 (2016-05-21)
@author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}
/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ol li,
.plainlist ul li {
margin-bottom: 0;
}
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
.navbox + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.mw-body-content .navbar ul {
line-height: inherit;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
}
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
}
.infobox td,
.infobox th {
vertical-align: top;
/* @noflip */
text-align: left;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
font-weight: normal;
/* @noflip */
text-align: left;
}
/* Lists in data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
/* @noflip */
text-align: left;
}
/* ...unless they also use the hlist class */
.toc.hlist ul,
#toc.hlist ul,
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
text-align: inherit;
}
/* Icons for medialist templates [[Template:Listen]],
[[Template:Multi-listen_start]], [[Template:Video]],
[[Template:Multi-video_start]] */
div.listenlist {
background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
background-size: 30px;
padding-left: 40px;
}
/* Fix for hieroglyphs specificality issue in infoboxes ([[Phabricator:43869]]) */
table.mw-hiero-table td {
vertical-align: middle;
}
/* Style rules for media list templates */
div.medialist {
min-height: 50px;
margin: 1em;
/* @noflip */
background-position: top left;
background-repeat: no-repeat;
}
div.medialist ul {
list-style-type: none;
list-style-image: none;
margin: 0;
}
div.medialist ul li {
padding-bottom: 0.5em;
}
div.medialist ul li li {
font-size: 91%;
padding-bottom: 0;
}
/* Change the external link icon to an Adobe icon for all PDF files
in browsers that support these CSS selectors, like Mozilla and Opera */
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
padding-right: 18px;
}
/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
div.columns-2 div.column {
/* @noflip */
float: left;
width: 50%;
min-width: 300px;
}
div.columns-3 div.column {
/* @noflip */
float: left;
width: 33.3%;
min-width: 200px;
}
div.columns-4 div.column {
/* @noflip */
float: left;
width: 25%;
min-width: 150px;
}
div.columns-5 div.column {
/* @noflip */
float: left;
width: 20%;
min-width: 120px;
}
/* Messagebox templates */
.messagebox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
.messagebox.merge {
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 0;
padding: 2px;
}
.messagebox.small {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
background: #F8EABA;
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
border: none;
/* @noflip */
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0;
width: 1px;
}
/* Article message box styles */
table.ambox {
margin: 0 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
/* @noflip */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
table.ambox-notice {
/* @noflip */
border-left: 10px solid #36c; /* Blue */
}
table.ambox-speedy {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.ambox-delete {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
}
table.ambox-content {
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
/* @noflip */
border-left: 10px solid #fc3; /* Yellow */
}
table.ambox-move {
/* @noflip */
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
/* @noflip */
border-left: 10px solid #a2a9b1; /* Gray-gold */
}
/* Image message box styles */
table.imbox {
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
display: block; /* Fix for webkit to force 100% width. */
}
.mbox-inside .imbox { /* For imboxes inside other templates. */
margin: 4px;
}
table.imbox-notice {
border: 3px solid #36c; /* Blue */
}
table.imbox-speedy {
border: 3px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.imbox-delete {
border: 3px solid #b32424; /* Red */
}
table.imbox-content {
border: 3px solid #f28500; /* Orange */
}
table.imbox-style {
border: 3px solid #fc3; /* Yellow */
}
table.imbox-move {
border: 3px solid #9932cc; /* Purple */
}
table.imbox-protection {
border: 3px solid #a2a9b1; /* Gray-gold */
}
table.imbox-license {
border: 3px solid #88a; /* Dark gray */
background: #f7f8ff; /* Light gray */
}
table.imbox-featured {
border: 3px solid #cba135; /* Brown-gold */
}
/* Category message box styles */
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background: #DFE8FF; /* Default "notice" blue */
}
table.cmbox-notice {
background: #D8E8FF; /* Blue */
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b32424; /* Red */
background: #FFDBDB; /* Pink */
}
table.cmbox-delete {
background: #FFDBDB; /* Red */
}
table.cmbox-content {
background: #FFE7CE; /* Orange */
}
table.cmbox-style {
background: #FFF9DB; /* Yellow */
}
table.cmbox-move {
background: #E4D8FF; /* Purple */
}
table.cmbox-protection {
background: #EFEFE1; /* Gray-gold */
}
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background: #f8f9fa;
}
table.ombox-notice {
border: 1px solid #a2a9b1; /* Gray */
}
table.ombox-speedy {
border: 2px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.ombox-delete {
border: 2px solid #b32424; /* Red */
}
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
table.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
table.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
/* Talk page message box styles */
table.tmbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090; /* Default "notice" gray-brown */
background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */
width: 100%; /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
line-height: 1.5em; /* also "nested", so reset styles that are */
font-size: 100%; /* set in "mbox-small" above. */
}
table.tmbox-speedy {
border: 2px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.tmbox-delete {
border: 2px solid #b32424; /* Red */
}
table.tmbox-content {
border: 2px solid #f28500; /* Orange */
}
table.tmbox-style {
border: 2px solid #fc3; /* Yellow */
}
table.tmbox-move {
border: 2px solid #9932cc; /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #c0c090; /* Gray-brown */
}
/* Disambig and set index box styles */
table.dmbox {
clear: both;
margin: 0.9em 1em;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
background: transparent;
}
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background: #f8f9fa; /* Default "system" gray */
}
table.fmbox-system {
background: #f8f9fa;
}
table.fmbox-warning {
border: 1px solid #bb7070; /* Dark pink */
background: #ffdbdb; /* Pink */
}
table.fmbox-editnotice {
background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning,
div.locked-warning {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background: #ffdbdb;
padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
clear: both;
margin: 0.2em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}
/* These mbox-small classes must be placed after all other
ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small { /* For the "small=yes" option. */
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
html body.mediawiki .mbox-small-left { /* For the "small=left" option. */
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
/* Style for compact ambox */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
display: none;
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
border: none;
border-collapse: collapse;
background: transparent;
margin: 0 0 0 1.6em !important;
padding: 0 !important;
width: auto;
display: block;
}
body.mediawiki .compact-ambox table.mbox-small-left {
font-size: 100%;
width: auto;
margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
padding: 0 !important;
margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
display: list-item;
line-height: 1.5em;
list-style-type: square;
list-style-image: url(/w/skins/MonoBook/bullet.gif);
}
.skin-vector .compact-ambox table .mbox-text-span {
list-style-type: disc;
list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9;
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
display: none;
}
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext {
border: none;
background: transparent;
padding: 0;
}
/* Hide (formatting) elements from screen, but not from screenreaders */
.visualhide {
position: absolute;
left: -10000px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}
/* Bold save button */
#wpSave {
font-weight: bold;
}
/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.hiddenStructure {
display: inline !important;
color: #f00;
background-color: #0f0;
}
/* suppress missing interwiki image links where #ifexist cannot
be used due to high number of requests see .hidden-redlink on
[[m:MediaWiki:Common.css]] */
.check-icon a.new {
display: none;
speak: none;
}
/* Removes underlines from certain links */
.nounderlines a,
.IPA a:link, .IPA a:visited {
text-decoration: none !important;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #a2a9b1;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
div.NavFrame div.NavHead {
line-height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
/* Hatnotes and disambiguation notices */
.hatnote {
font-style: italic;
}
.hatnote i {
font-style: normal;
}
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
margin-top: -0.5em;
}
/* Allow transcluded pages to display in lists rather than a table. */
.listify td { display: list-item; }
.listify tr { display: block; }
.listify table { display: block; }
/* Geographical coordinates defaults. See [[Template:Coord/link]]
for how these are used. The classes "geo", "longitude", and
"latitude" are used by the [[Geo microformat]]. */
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
/* Temporary(!) fix for horizontal TOC in Blink (Chrone/Opera) */
.hlist .tocnumber,
.hlist .toctext {
display: inline;
}
/* When <div class="nonumtoc"> is used on the table of contents,
the ToC will display without numbers */
.nonumtoc .tocnumber {
display: none;
}
.nonumtoc #toc ul,
.nonumtoc .toc ul {
line-height: 1.5em;
list-style: none none;
margin: .3em 0 0;
padding: 0;
}
.hlist.nonumtoc #toc ul ul,
.hlist.nonumtoc .toc ul ul {
/* @noflip */
margin: 0;
}
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/* Styling for Template:Quote */
blockquote.templatequote div.templatequotecite {
line-height: 1.5em;
/* @noflip */
text-align: left;
/* @noflip */
padding-left: 1.6em;
margin-top: 0;
}
/* User block messages */
div.user-block {
padding: 5px;
margin-bottom: 0.5em;
border: 1px solid #A9A9A9;
background-color: #FFEFD5;
}
/* Prevent line breaks in silly places:
1) Where desired
2) Links when we don't want them to
3) Bold "links" to the page itself
4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
white-space: nowrap;
}
.nowrap pre {
white-space: pre;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
/* For template documentation */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
padding: 1em;
}
/* Increase the height of the image upload box */
#wpUploadDescription {
height: 13em;
}
/* Minimum thumb width */
.thumbinner {
min-width: 100px;
}
/* The backgrounds for galleries. */
div#content .gallerybox div.thumb {
/* Light gray padding */
background-color: #f8f9fa;
}
/* Put a chequered background behind images, only visible if they have transparency.
'.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
background: #fff;
}
/* Prevent floating boxes from overlapping any category listings,
file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
clear: both;
}
body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
display: block; /* Override inline block mode */
margin-bottom: 1em;
/* @noflip */
clear: right; /* Clear any info boxes that stick out */
/* @noflip */
float: right; /* Prevents margin collapsing */
}
/* Selectively hide headers in WikiProject banners */
.wpb .wpb-header { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; } /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
.wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */
/* Styling for Abuse Filter tags */
.mw-tag-markers {
font-style:italic;
font-size:90%;
}
/* Hide stuff meant for accounts with special permissions. Made visible again in
[[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]],
[[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */
.sysop-show,
.accountcreator-show,
.templateeditor-show,
.extendedmover-show,
.autoconfirmed-show,
.user-show {
display: none;
}
/**
* Hide the redlink generated by {{Editnotice}},
* this overrides the ".sysop-show { display: none; }" above that applies
* to the same link as well. See [[phab:T45013]]
*
* Hide the images in editnotices to keep them readable in VE view.
* Long term, editnotices should become a core feature so that they can be designed responsive.
*/
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
}
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
list-style: none none;
}
ul.permissions-errors {
margin: 0;
}
/* No linewrap on the labels of the login/signup page */
body.page-Special_UserLogin .mw-label label,
body.page-Special_UserLogin_signup .mw-label label {
white-space: nowrap;
}
/* Pie chart: transparent borders */
.transborder {
border: solid transparent;
}
/* Generic class for Times-based serif, texhtml class for inline math */
.times-serif,
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
}
span.texhtml {
white-space: nowrap;
}
span.texhtml span.texhtml {
font-size: 100%;
}
span.mwe-math-mathml-inline {
font-size: 118%;
}
/* Force tabular and lining display for digits and texhtml */
.digits,
.texhtml {
-moz-font-feature-settings: "lnum", "tnum", "kern" 0;
-webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
font-feature-settings: "lnum", "tnum", "kern" 0;
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
/* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-left: 1.6em !important;
margin-top: 0.6em;
margin-bottom: 0.6em;
}
.mwe-math-mathml-display math {
display: inline;
}
/* Fix styling of transcluded prefindex tables */
table#mw-prefixindex-list-table,
table#mw-prefixindex-nav-table {
width: 98%;
}
/* For portals, added 2011-12-07 -bv
On wide screens, show these as two columns
On narrow and mobile screens, let them collapse into a single column */
.portal-column-left {
float: left;
width: 50%;
}
.portal-column-right {
float: right;
width: 49%;
}
.portal-column-left-wide {
float: left;
width: 60%;
}
.portal-column-right-narrow {
float: right;
width: 39%;
}
.portal-column-left-extra-wide {
float: left;
width: 70%;
}
.portal-column-right-extra-narrow {
float: right;
width: 29%;
}
@media only screen and (max-width: 800px) {
/* Decouple the columns on narrow screens */
.portal-column-left,
.portal-column-right,
.portal-column-left-wide,
.portal-column-right-narrow,
.portal-column-left-extra-wide,
.portal-column-right-extra-narrow {
float: inherit;
width: inherit;
}
}
/* Formerly for announcements, now used intermittently */
#bodyContent .letterhead {
background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
background-repeat:no-repeat;
padding: 2em;
background-color: #faf9f2;
}
/* Tree style lists */
.treeview ul {
padding: 0;
margin: 0;
}
.treeview li {
padding: 0;
margin: 0;
list-style-type: none;
list-style-image: none;
}
.treeview li li {
background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
/* @noflip */
padding-left: 20px;
text-indent: 0.3em;
}
.treeview li li.lastline {
background-position: 0 -5971px
}
.treeview li.emptyline > ul {
/* @noflip */
margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
background-position: 0 9px
}
/* hidden sortkey for tablesorter */
td .sortkey,
th .sortkey {
display: none;
speak: none;
}
/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element,
.inputbox-hidecheckboxes .mw-ui-checkbox {
display: none !important;
}
/* Work-around for [[Phabricator:25965]] (Kaltura advertisement) */
.k-player .k-attribution {
visibility: hidden;
}
/* Move 'play' button of video player to bottom left corner */
.PopUpMediaTransform a .play-btn-large {
margin: 0;
top: auto;
right: auto;
bottom: 0;
left: 0;
}
/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced {
display: none;
}
bcb03abec75b7bc2254f38fd21771376c29bd1df
MediaWiki:Common.js
8
49
85
84
2021-01-05T17:25:32Z
Jacques Ducloy
1
1 revision imported
javascript
text/javascript
/* Any JavaScript here will be loaded for all users on every page load. */
/**
* Collapsible tables
*
* Allows tables to be collapsed, showing only the header. See [[Help:Collapsing]].
*
* @version 2.0.3 (2014-03-14)
* @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-collapsibleTables.js
* @author [[User:R. Koot]]
* @author [[User:Krinkle]]
* @deprecated Since MediaWiki 1.20: Use class="mw-collapsible" instead which
* is supported in MediaWiki core.
*/
var autoCollapse = 2;
var collapseCaption = 'hide';
var expandCaption = 'show';
var tableIndex = 0;
function collapseTable( tableIndex ) {
var Button = document.getElementById( 'collapseButton' + tableIndex );
var Table = document.getElementById( 'collapsibleTable' + tableIndex );
if ( !Table || !Button ) {
return false;
}
var Rows = Table.rows;
var i;
var $row0 = $(Rows[0]);
if ( Button.firstChild.data === collapseCaption ) {
for ( i = 1; i < Rows.length; i++ ) {
Rows[i].style.display = 'none';
}
Button.firstChild.data = expandCaption;
} else {
for ( i = 1; i < Rows.length; i++ ) {
Rows[i].style.display = $row0.css( 'display' );
}
Button.firstChild.data = collapseCaption;
}
}
function createClickHandler( tableIndex ) {
return function ( e ) {
e.preventDefault();
collapseTable( tableIndex );
};
}
function createCollapseButtons( $content ) {
var NavigationBoxes = {};
var $Tables = $content.find( 'table' );
var i;
$Tables.each( function( i, table ) {
if ( $(table).hasClass( 'collapsible' ) ) {
/* only add button and increment count if there is a header row to work with */
var HeaderRow = table.getElementsByTagName( 'tr' )[0];
if ( !HeaderRow ) {
return;
}
var Header = table.getElementsByTagName( 'th' )[0];
if ( !Header ) {
return;
}
NavigationBoxes[ tableIndex ] = table;
table.setAttribute( 'id', 'collapsibleTable' + tableIndex );
var Button = document.createElement( 'span' );
var ButtonLink = document.createElement( 'a' );
var ButtonText = document.createTextNode( collapseCaption );
// Styles are declared in [[MediaWiki:Common.css]]
Button.className = 'collapseButton';
ButtonLink.style.color = Header.style.color;
ButtonLink.setAttribute( 'id', 'collapseButton' + tableIndex );
ButtonLink.setAttribute( 'href', '#' );
$( ButtonLink ).on( 'click', createClickHandler( tableIndex ) );
ButtonLink.appendChild( ButtonText );
Button.appendChild( document.createTextNode( '[' ) );
Button.appendChild( ButtonLink );
Button.appendChild( document.createTextNode( ']' ) );
Header.insertBefore( Button, Header.firstChild );
tableIndex++;
}
} );
for ( i = 0; i < tableIndex; i++ ) {
if ( $( NavigationBoxes[i] ).hasClass( 'collapsed' ) ||
( tableIndex >= autoCollapse && $( NavigationBoxes[i] ).hasClass( 'autocollapse' ) )
) {
collapseTable( i );
}
else if ( $( NavigationBoxes[i] ).hasClass ( 'innercollapse' ) ) {
var element = NavigationBoxes[i];
while ((element = element.parentNode)) {
if ( $( element ).hasClass( 'outercollapse' ) ) {
collapseTable ( i );
break;
}
}
}
}
}
mw.hook( 'wikipage.content' ).add( createCollapseButtons );
/**
* Add support to mw-collapsible for autocollapse, innercollapse and outercollapse
*
* Maintainers: TheDJ
*/
function mwCollapsibleSetup( $collapsibleContent ) {
var $element,
autoCollapseThreshold = 2;
$.each( $collapsibleContent, function (index, element) {
$element = $( element );
if ( $collapsibleContent.length > autoCollapseThreshold && $element.hasClass( 'autocollapse' ) ) {
$element.data( 'mw-collapsible' ).collapse();
} else if ( $element.hasClass( 'innercollapse' ) ) {
if ( $element.parents( '.outercollapse' ).length > 0 ) {
$element.data( 'mw-collapsible' ).collapse();
}
}
} );
}
mw.hook( 'wikipage.collapsibleContent' ).add( mwCollapsibleSetup );
/**
* Dynamic Navigation Bars (experimental)
*
* Description: See [[Wikipedia:NavFrame]].
* Maintainers: UNMAINTAINED
*/
/* set up the words in your language */
var NavigationBarHide = '[' + collapseCaption + ']';
var NavigationBarShow = '[' + expandCaption + ']';
var indexNavigationBar = 0;
/**
* Shows and hides content and picture (if available) of navigation bars
* Parameters:
* indexNavigationBar: the index of navigation bar to be toggled
**/
window.toggleNavigationBar = function ( indexNavigationBar, event ) {
var NavToggle = document.getElementById( 'NavToggle' + indexNavigationBar );
var NavFrame = document.getElementById( 'NavFrame' + indexNavigationBar );
var NavChild;
if ( !NavFrame || !NavToggle ) {
return false;
}
/* if shown now */
if ( NavToggle.firstChild.data === NavigationBarHide ) {
for ( NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling ) {
if ( $( NavChild ).hasClass( 'NavContent' ) || $( NavChild ).hasClass( 'NavPic' ) ) {
NavChild.style.display = 'none';
}
}
NavToggle.firstChild.data = NavigationBarShow;
/* if hidden now */
} else if ( NavToggle.firstChild.data === NavigationBarShow ) {
for ( NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling ) {
if ( $( NavChild ).hasClass( 'NavContent' ) || $( NavChild ).hasClass( 'NavPic' ) ) {
NavChild.style.display = 'block';
}
}
NavToggle.firstChild.data = NavigationBarHide;
}
event.preventDefault();
};
/* adds show/hide-button to navigation bars */
function createNavigationBarToggleButton( $content ) {
var NavChild;
/* iterate over all < div >-elements */
var $divs = $content.find( 'div' );
$divs.each( function ( i, NavFrame ) {
/* if found a navigation bar */
if ( $( NavFrame ).hasClass( 'NavFrame' ) ) {
indexNavigationBar++;
var NavToggle = document.createElement( 'a' );
NavToggle.className = 'NavToggle';
NavToggle.setAttribute( 'id', 'NavToggle' + indexNavigationBar );
NavToggle.setAttribute( 'href', '#' );
$( NavToggle ).on( 'click', $.proxy( window.toggleNavigationBar, window, indexNavigationBar ) );
var isCollapsed = $( NavFrame ).hasClass( 'collapsed' );
/**
* Check if any children are already hidden. This loop is here for backwards compatibility:
* the old way of making NavFrames start out collapsed was to manually add style="display:none"
* to all the NavPic/NavContent elements. Since this was bad for accessibility (no way to make
* the content visible without JavaScript support), the new recommended way is to add the class
* "collapsed" to the NavFrame itself, just like with collapsible tables.
*/
for ( NavChild = NavFrame.firstChild; NavChild != null && !isCollapsed; NavChild = NavChild.nextSibling ) {
if ( $( NavChild ).hasClass( 'NavPic' ) || $( NavChild ).hasClass( 'NavContent' ) ) {
if ( NavChild.style.display === 'none' ) {
isCollapsed = true;
}
}
}
if ( isCollapsed ) {
for ( NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling ) {
if ( $( NavChild ).hasClass( 'NavPic' ) || $( NavChild ).hasClass( 'NavContent' ) ) {
NavChild.style.display = 'none';
}
}
}
var NavToggleText = document.createTextNode( isCollapsed ? NavigationBarShow : NavigationBarHide );
NavToggle.appendChild( NavToggleText );
/* Find the NavHead and attach the toggle link (Must be this complicated because Moz's firstChild handling is borked) */
for( var j = 0; j < NavFrame.childNodes.length; j++ ) {
if ( $( NavFrame.childNodes[j] ).hasClass( 'NavHead' ) ) {
NavToggle.style.color = NavFrame.childNodes[j].style.color;
NavFrame.childNodes[j].appendChild( NavToggle );
}
}
NavFrame.setAttribute( 'id', 'NavFrame' + indexNavigationBar );
}
} );
}
mw.hook( 'wikipage.content' ).add( createNavigationBarToggleButton );
/**
* Uploadwizard_newusers
* Switches in a message for non-autoconfirmed users at [[Wikipedia:Upload]]
*
* Maintainers: [[User:Krimpet]]
*/
function uploadwizard_newusers() {
if ( mw.config.get( 'wgNamespaceNumber' ) === 4 && mw.config.get( 'wgTitle' ) === 'Upload' && mw.config.get( 'wgAction' ) === 'view' ) {
var oldDiv = document.getElementById( 'autoconfirmedusers' ),
newDiv = document.getElementById( 'newusers' );
if ( oldDiv && newDiv ) {
var userGroups = mw.config.get( 'wgUserGroups' );
if ( userGroups ) {
for ( var i = 0; i < userGroups.length; i++ ) {
if ( userGroups[i] === 'autoconfirmed' ) {
oldDiv.style.display = 'block';
newDiv.style.display = 'none';
return;
}
}
}
oldDiv.style.display = 'none';
newDiv.style.display = 'block';
return;
}
}
}
4ba12b1881475de83e5cf0b739b1ac4525800e67
Template:Clear
10
50
87
86
2021-01-05T17:25:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div style="clear:{{{1|both}}};"></div><noinclude>
{{documentation}}
</noinclude>
38bab3e3d7fbd3d6800d46556e60bc6bac494d72
Template:Clr
10
51
89
88
2021-01-05T17:25:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Clear]]
275fae600d37d8811f7441d0c6e8fbb0c2d1cfa3
Template:Clear/doc
10
52
91
90
2021-01-05T17:25:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{high-risk| 1610000+ }}
{{Template shortcut|-|Br|Clr}}
This template adds <code><div style="clear:both;"></div></code>, <code><div style="clear:left;"></div></code>, or <code><div style="clear:right;"></div></code>;
for technical XHTML details, see [[Template talk:Clear]].
{{tlx|clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
==Usage==
{{Nosubst|The markup provided will be confusing to many editors, and as this template provides documentation for itself, there is little justification for substitution.}}
<nowiki>{{clear}}</nowiki>
<nowiki>{{clear|left}}</nowiki>
<nowiki>{{clear|right}}</nowiki>
===Example without {{tlf|clear}}===
[[File:HeidelbergTun.jpg|200px|left]]
{{Lorem}}
====New section without template====
See how this section starts at the right of the image?
{{clear}}
===Example that uses {{tlf|clear}}===
[[File:HeidelbergTun.jpg|200px|left]]
{{Lorem}}<br/>'''{{tnull|clear}}'''
{{clear}}
====New section with template====
See how this section appears below the image?
{{#ifeq:{{FULLPAGENAME}}|Template:Clear|
===TemplateData===
{{TemplateDataHeader}}
<templatedata>{
"description": "Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images, so text will appear on a full width line under the image.",
"params": {
"1": {
"label": "side",
"description": "can be 'right' or 'left' so content is delayed until just the right or left column is complete. The default clears both columns.",
"type": "string",
"required": false
}
}
}</templatedata>
}}
==See also==
* {{tl|Clear left}}
* {{tl|Clear right}}
* {{tl|Float}}
* {{tl|Stack}}
<includeonly>
[[Category:Line-handling templates]]
[[Category:Wikipedia XHTML tag-replacing templates]]
</includeonly>
f36bf19e6524fb1617b62de8cf19df9b644b08bc
Template:Documentation
10
53
93
92
2021-01-05T17:25:33Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
ce7fd93f18c46b4fa871bf679afd05cbda72d8c4
Module:Documentation
828
54
95
94
2021-01-05T17:25:34Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module implements {{documentation}}.
-- Get required modules.
local getArgs = require('Module:Arguments').getArgs
local messageBox = require('Module:Message box')
-- Get the config table.
local cfg = mw.loadData('Module:Documentation/config')
local p = {}
-- Often-used functions.
local ugsub = mw.ustring.gsub
----------------------------------------------------------------------------
-- Helper functions
--
-- These are defined as local functions, but are made available in the p
-- table for testing purposes.
----------------------------------------------------------------------------
local function message(cfgKey, valArray, expectType)
--[[
-- Gets a message from the cfg table and formats it if appropriate.
-- The function raises an error if the value from the cfg table is not
-- of the type expectType. The default type for expectType is 'string'.
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message "foo-message" had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
--]]
local msg = cfg[cfgKey]
expectType = expectType or 'string'
if type(msg) ~= expectType then
error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2)
end
if not valArray then
return msg
end
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4)
end
local ret = ugsub(msg, '$([1-9][0-9]*)', getMessageVal)
return ret
end
p.message = message
local function makeWikilink(page, display)
if display then
return mw.ustring.format('[[%s|%s]]', page, display)
else
return mw.ustring.format('[[%s]]', page)
end
end
p.makeWikilink = makeWikilink
local function makeCategoryLink(cat, sort)
local catns = mw.site.namespaces[14].name
return makeWikilink(catns .. ':' .. cat, sort)
end
p.makeCategoryLink = makeCategoryLink
local function makeUrlLink(url, display)
return mw.ustring.format('[%s %s]', url, display)
end
p.makeUrlLink = makeUrlLink
local function makeToolbar(...)
local ret = {}
local lim = select('#', ...)
if lim < 1 then
return nil
end
for i = 1, lim do
ret[#ret + 1] = select(i, ...)
end
return '<small style="font-style: normal;">(' .. table.concat(ret, ' | ') .. ')</small>'
end
p.makeToolbar = makeToolbar
----------------------------------------------------------------------------
-- Argument processing
----------------------------------------------------------------------------
local function makeInvokeFunc(funcName)
return function (frame)
local args = getArgs(frame, {
valueFunc = function (key, value)
if type(value) == 'string' then
value = value:match('^%s*(.-)%s*$') -- Remove whitespace.
if key == 'heading' or value ~= '' then
return value
else
return nil
end
else
return value
end
end
})
return p[funcName](args)
end
end
----------------------------------------------------------------------------
-- Main function
----------------------------------------------------------------------------
p.main = makeInvokeFunc('_main')
function p._main(args)
--[[
-- This function defines logic flow for the module.
-- @args - table of arguments passed by the user
--
-- Messages:
-- 'main-div-id' --> 'template-documentation'
-- 'main-div-classes' --> 'template-documentation iezoomfix'
--]]
local env = p.getEnvironment(args)
local root = mw.html.create()
root
:wikitext(p.protectionTemplate(env))
:wikitext(p.sandboxNotice(args, env))
-- This div tag is from {{documentation/start box}}, but moving it here
-- so that we don't have to worry about unclosed tags.
:tag('div')
:attr('id', message('main-div-id'))
:addClass(message('main-div-classes'))
:newline()
:wikitext(p._startBox(args, env))
:wikitext(p._content(args, env))
:tag('div')
:css('clear', 'both') -- So right or left floating items don't stick out of the doc box.
:newline()
:done()
:done()
:wikitext(p._endBox(args, env))
:wikitext(p.addTrackingCategories(env))
return tostring(root)
end
----------------------------------------------------------------------------
-- Environment settings
----------------------------------------------------------------------------
function p.getEnvironment(args)
--[[
-- Returns a table with information about the environment, including title objects and other namespace- or
-- path-related data.
-- @args - table of arguments passed by the user
--
-- Title objects include:
-- env.title - the page we are making documentation for (usually the current title)
-- env.templateTitle - the template (or module, file, etc.)
-- env.docTitle - the /doc subpage.
-- env.sandboxTitle - the /sandbox subpage.
-- env.testcasesTitle - the /testcases subpage.
-- env.printTitle - the print version of the template, located at the /Print subpage.
--
-- Data includes:
-- env.protectionLevels - the protection levels table of the title object.
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value
-- returned will be nil.
--]]
local env, envFuncs = {}, {}
-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value
-- returned by that function is memoized in the env table so that we don't call any of the functions
-- more than once. (Nils won't be memoized.)
setmetatable(env, {
__index = function (t, key)
local envFunc = envFuncs[key]
if envFunc then
local success, val = pcall(envFunc)
if success then
env[key] = val -- Memoise the value.
return val
end
end
return nil
end
})
function envFuncs.title()
-- The title object for the current page, or a test page passed with args.page.
local title
local titleArg = args.page
if titleArg then
title = mw.title.new(titleArg)
else
title = mw.title.getCurrentTitle()
end
return title
end
function envFuncs.templateTitle()
--[[
-- The template (or module, etc.) title object.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
-- 'testcases-subpage' --> 'testcases'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local subpage = title.subpageText
if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') then
return mw.title.makeTitle(subjectSpace, title.baseText)
else
return mw.title.makeTitle(subjectSpace, title.text)
end
end
function envFuncs.docTitle()
--[[
-- Title object of the /doc subpage.
-- Messages:
-- 'doc-subpage' --> 'doc'
--]]
local title = env.title
local docname = args[1] -- User-specified doc page.
local docpage
if docname then
docpage = docname
else
docpage = env.docpageBase .. '/' .. message('doc-subpage')
end
return mw.title.new(docpage)
end
function envFuncs.sandboxTitle()
--[[
-- Title object for the /sandbox subpage.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage'))
end
function envFuncs.testcasesTitle()
--[[
-- Title object for the /testcases subpage.
-- Messages:
-- 'testcases-subpage' --> 'testcases'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage'))
end
function envFuncs.printTitle()
--[[
-- Title object for the /Print subpage.
-- Messages:
-- 'print-subpage' --> 'Print'
--]]
return env.templateTitle:subPageTitle(message('print-subpage'))
end
function envFuncs.protectionLevels()
-- The protection levels table of the title object.
return env.title.protectionLevels
end
function envFuncs.subjectSpace()
-- The subject namespace number.
return mw.site.namespaces[env.title.namespace].subject.id
end
function envFuncs.docSpace()
-- The documentation namespace number. For most namespaces this is the same as the
-- subject namespace. However, pages in the Article, File, MediaWiki or Category
-- namespaces must have their /doc, /sandbox and /testcases pages in talk space.
local subjectSpace = env.subjectSpace
if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then
return subjectSpace + 1
else
return subjectSpace
end
end
function envFuncs.docpageBase()
-- The base page of the /doc, /sandbox, and /testcases subpages.
-- For some namespaces this is the talk page, rather than the template page.
local templateTitle = env.templateTitle
local docSpace = env.docSpace
local docSpaceText = mw.site.namespaces[docSpace].name
-- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon.
return docSpaceText .. ':' .. templateTitle.text
end
function envFuncs.compareUrl()
-- Diff link between the sandbox and the main template using [[Special:ComparePages]].
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
if templateTitle.exists and sandboxTitle.exists then
local compareUrl = mw.uri.fullUrl(
'Special:ComparePages',
{page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText}
)
return tostring(compareUrl)
else
return nil
end
end
return env
end
----------------------------------------------------------------------------
-- Auxiliary templates
----------------------------------------------------------------------------
function p.sandboxNotice(args, env)
--[=[
-- Generates a sandbox notice for display above sandbox pages.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-notice-image' --> '[[Image:Sandbox.svg|50px|alt=|link=]]'
-- 'sandbox-notice-blurb' --> 'This is the $1 for $2.'
-- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).'
-- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page'
-- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module sandbox]] page'
-- 'sandbox-notice-pagetype-other' --> 'sandbox page'
-- 'sandbox-notice-compare-link-display' --> 'diff'
-- 'sandbox-notice-testcases-blurb' --> 'See also the companion subpage for $1.'
-- 'sandbox-notice-testcases-link-display' --> 'test cases'
-- 'sandbox-category' --> 'Template sandboxes'
--]=]
local title = env.title
local sandboxTitle = env.sandboxTitle
local templateTitle = env.templateTitle
local subjectSpace = env.subjectSpace
if not (subjectSpace and title and sandboxTitle and templateTitle and mw.title.equals(title, sandboxTitle)) then
return nil
end
-- Build the table of arguments to pass to {{ombox}}. We need just two fields, "image" and "text".
local omargs = {}
omargs.image = message('sandbox-notice-image')
-- Get the text. We start with the opening blurb, which is something like
-- "This is the template sandbox for [[Template:Foo]] (diff)."
local text = ''
local pagetype
if subjectSpace == 10 then
pagetype = message('sandbox-notice-pagetype-template')
elseif subjectSpace == 828 then
pagetype = message('sandbox-notice-pagetype-module')
else
pagetype = message('sandbox-notice-pagetype-other')
end
local templateLink = makeWikilink(templateTitle.prefixedText)
local compareUrl = env.compareUrl
if compareUrl then
local compareDisplay = message('sandbox-notice-compare-link-display')
local compareLink = makeUrlLink(compareUrl, compareDisplay)
text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink})
else
text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})
end
-- Get the test cases page blurb if the page exists. This is something like
-- "See also the companion subpage for [[Template:Foo/testcases|test cases]]."
local testcasesTitle = env.testcasesTitle
if testcasesTitle and testcasesTitle.exists then
if testcasesTitle.namespace == mw.site.namespaces.Module.id then
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink})
else
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-blurb', {testcasesLink})
end
end
-- Add the sandbox to the sandbox category.
text = text .. makeCategoryLink(message('sandbox-category'))
omargs.text = text
local ret = '<div style="clear: both;"></div>'
ret = ret .. messageBox.main('ombox', omargs)
return ret
end
function p.protectionTemplate(env)
-- Generates the padlock icon in the top right.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'protection-template' --> 'pp-template'
-- 'protection-template-args' --> {docusage = 'yes'}
local protectionLevels, mProtectionBanner
local title = env.title
protectionLevels = env.protectionLevels
if not protectionLevels then
return nil
end
local editProt = protectionLevels.edit and protectionLevels.edit[1]
local moveProt = protectionLevels.move and protectionLevels.move[1]
if editProt then
-- The page is edit-protected.
mProtectionBanner = require('Module:Protection banner')
local reason = message('protection-reason-edit')
return mProtectionBanner._main{reason, small = true}
elseif moveProt and moveProt ~= 'autoconfirmed' then
-- The page is move-protected but not edit-protected. Exclude move
-- protection with the level "autoconfirmed", as this is equivalent to
-- no move protection at all.
mProtectionBanner = require('Module:Protection banner')
return mProtectionBanner._main{action = 'move', small = true}
else
return nil
end
end
----------------------------------------------------------------------------
-- Start box
----------------------------------------------------------------------------
p.startBox = makeInvokeFunc('_startBox')
function p._startBox(args, env)
--[[
-- This function generates the start box.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make
-- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox
-- which generate the box HTML.
--]]
env = env or p.getEnvironment(args)
local links
local content = args.content
if not content then
-- No need to include the links if the documentation is on the template page itself.
local linksData = p.makeStartBoxLinksData(args, env)
if linksData then
links = p.renderStartBoxLinks(linksData)
end
end
-- Generate the start box html.
local data = p.makeStartBoxData(args, env, links)
if data then
return p.renderStartBox(data)
else
-- User specified no heading.
return nil
end
end
function p.makeStartBoxLinksData(args, env)
--[[
-- Does initial processing of data to make the [view] [edit] [history] [purge] links.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'view-link-display' --> 'view'
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'purge-link-display' --> 'purge'
-- 'file-docpage-preload' --> 'Template:Documentation/preload-filespace'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'docpage-preload' --> 'Template:Documentation/preload'
-- 'create-link-display' --> 'create'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local docTitle = env.docTitle
if not title or not docTitle then
return nil
end
local data = {}
data.title = title
data.docTitle = docTitle
-- View, display, edit, and purge links if /doc exists.
data.viewLinkDisplay = message('view-link-display')
data.editLinkDisplay = message('edit-link-display')
data.historyLinkDisplay = message('history-link-display')
data.purgeLinkDisplay = message('purge-link-display')
-- Create link if /doc doesn't exist.
local preload = args.preload
if not preload then
if subjectSpace == 6 then -- File namespace
preload = message('file-docpage-preload')
elseif subjectSpace == 828 then -- Module namespace
preload = message('module-preload')
else
preload = message('docpage-preload')
end
end
data.preload = preload
data.createLinkDisplay = message('create-link-display')
return data
end
function p.renderStartBoxLinks(data)
--[[
-- Generates the [view][edit][history][purge] or [create] links from the data table.
-- @data - a table of data generated by p.makeStartBoxLinksData
--]]
local function escapeBrackets(s)
-- Escapes square brackets with HTML entities.
s = s:gsub('%[', '[') -- Replace square brackets with HTML entities.
s = s:gsub('%]', ']')
return s
end
local ret
local docTitle = data.docTitle
local title = data.title
if docTitle.exists then
local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)
local editLink = makeUrlLink(docTitle:fullUrl{action = 'edit'}, data.editLinkDisplay)
local historyLink = makeUrlLink(docTitle:fullUrl{action = 'history'}, data.historyLinkDisplay)
local purgeLink = makeUrlLink(title:fullUrl{action = 'purge'}, data.purgeLinkDisplay)
ret = '[%s] [%s] [%s] [%s]'
ret = escapeBrackets(ret)
ret = mw.ustring.format(ret, viewLink, editLink, historyLink, purgeLink)
else
local createLink = makeUrlLink(docTitle:fullUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay)
ret = '[%s]'
ret = escapeBrackets(ret)
ret = mw.ustring.format(ret, createLink)
end
return ret
end
function p.makeStartBoxData(args, env, links)
--[=[
-- Does initial processing of data to pass to the start-box render function, p.renderStartBox.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error.
--
-- Messages:
-- 'documentation-icon-wikitext' --> '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- 'template-namespace-heading' --> 'Template documentation'
-- 'module-namespace-heading' --> 'Module documentation'
-- 'file-namespace-heading' --> 'Summary'
-- 'other-namespaces-heading' --> 'Documentation'
-- 'start-box-linkclasses' --> 'mw-editsection-like plainlinks'
-- 'start-box-link-id' --> 'doc_editlinks'
-- 'testcases-create-link-display' --> 'create'
--]=]
local subjectSpace = env.subjectSpace
if not subjectSpace then
-- Default to an "other namespaces" namespace, so that we get at least some output
-- if an error occurs.
subjectSpace = 2
end
local data = {}
-- Heading
local heading = args.heading -- Blank values are not removed.
if heading == '' then
-- Don't display the start box if the heading arg is defined but blank.
return nil
end
if heading then
data.heading = heading
elseif subjectSpace == 10 then -- Template namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('template-namespace-heading')
elseif subjectSpace == 828 then -- Module namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('module-namespace-heading')
elseif subjectSpace == 6 then -- File namespace
data.heading = message('file-namespace-heading')
else
data.heading = message('other-namespaces-heading')
end
-- Heading CSS
local headingStyle = args['heading-style']
if headingStyle then
data.headingStyleText = headingStyle
elseif subjectSpace == 10 then
-- We are in the template or template talk namespaces.
data.headingFontWeight = 'bold'
data.headingFontSize = '125%'
else
data.headingFontSize = '150%'
end
-- Data for the [view][edit][history][purge] or [create] links.
if links then
data.linksClass = message('start-box-linkclasses')
data.linksId = message('start-box-link-id')
data.links = links
end
return data
end
function p.renderStartBox(data)
-- Renders the start box html.
-- @data - a table of data generated by p.makeStartBoxData.
local sbox = mw.html.create('div')
sbox
:css('padding-bottom', '3px')
:css('border-bottom', '1px solid #aaa')
:css('margin-bottom', '1ex')
:newline()
:tag('span')
:cssText(data.headingStyleText)
:css('font-weight', data.headingFontWeight)
:css('font-size', data.headingFontSize)
:wikitext(data.heading)
local links = data.links
if links then
sbox:tag('span')
:addClass(data.linksClass)
:attr('id', data.linksId)
:wikitext(links)
end
return tostring(sbox)
end
----------------------------------------------------------------------------
-- Documentation content
----------------------------------------------------------------------------
p.content = makeInvokeFunc('_content')
function p._content(args, env)
-- Displays the documentation contents
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
local content = args.content
if not content and docTitle and docTitle.exists then
content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText}
end
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
-- of docs are interpreted correctly.
return '\n' .. (content or '') .. '\n'
end
p.contentTitle = makeInvokeFunc('_contentTitle')
function p._contentTitle(args, env)
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
if not args.content and docTitle and docTitle.exists then
return docTitle.prefixedText
else
return ''
end
end
----------------------------------------------------------------------------
-- End box
----------------------------------------------------------------------------
p.endBox = makeInvokeFunc('_endBox')
function p._endBox(args, env)
--[=[
-- This function generates the end box (also known as the link box).
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'fmbox-id' --> 'documentation-meta-data'
-- 'fmbox-style' --> 'background-color: #ecfcf4'
-- 'fmbox-textstyle' --> 'font-style: italic'
--
-- The HTML is generated by the {{fmbox}} template, courtesy of [[Module:Message box]].
--]=]
-- Get environment data.
env = env or p.getEnvironment(args)
local subjectSpace = env.subjectSpace
local docTitle = env.docTitle
if not subjectSpace or not docTitle then
return nil
end
-- Check whether we should output the end box at all. Add the end
-- box by default if the documentation exists or if we are in the
-- user, module or template namespaces.
local linkBox = args['link box']
if linkBox == 'off'
or not (
docTitle.exists
or subjectSpace == 2
or subjectSpace == 828
or subjectSpace == 10
)
then
return nil
end
-- Assemble the arguments for {{fmbox}}.
local fmargs = {}
fmargs.id = message('fmbox-id') -- Sets 'documentation-meta-data'
fmargs.image = 'none'
fmargs.style = message('fmbox-style') -- Sets 'background-color: #ecfcf4'
fmargs.textstyle = message('fmbox-textstyle') -- 'font-style: italic;'
-- Assemble the fmbox text field.
local text = ''
if linkBox then
text = text .. linkBox
else
text = text .. (p.makeDocPageBlurb(args, env) or '') -- "This documentation is transcluded from [[Foo]]."
if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then
-- We are in the user, template or module namespaces.
-- Add sandbox and testcases links.
-- "Editors can experiment in this template's sandbox and testcases pages."
text = text .. (p.makeExperimentBlurb(args, env) or '')
text = text .. '<br />'
if not args.content and not args[1] then
-- "Please add categories to the /doc subpage."
-- Don't show this message with inline docs or with an explicitly specified doc page,
-- as then it is unclear where to add the categories.
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template"
local printBlurb = p.makePrintBlurb(args, env) -- Two-line blurb about print versions of templates.
if printBlurb then
text = text .. '<br />' .. printBlurb
end
end
end
fmargs.text = text
return messageBox.main('fmbox', fmargs)
end
function p.makeDocPageBlurb(args, env)
--[=[
-- Makes the blurb "This documentation is transcluded from [[Template:Foo]] (edit, history)".
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'transcluded-from-blurb' -->
-- 'The above [[Wikipedia:Template documentation|documentation]]
-- is [[Wikipedia:Transclusion|transcluded]] from $1.'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'create-link-display' --> 'create'
-- 'create-module-doc-blurb' -->
-- 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
--]=]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local ret
if docTitle.exists then
-- /doc exists; link to it.
local docLink = makeWikilink(docTitle.prefixedText)
local editUrl = docTitle:fullUrl{action = 'edit'}
local editDisplay = message('edit-link-display')
local editLink = makeUrlLink(editUrl, editDisplay)
local historyUrl = docTitle:fullUrl{action = 'history'}
local historyDisplay = message('history-link-display')
local historyLink = makeUrlLink(historyUrl, historyDisplay)
ret = message('transcluded-from-blurb', {docLink})
.. ' '
.. makeToolbar(editLink, historyLink)
.. '<br />'
elseif env.subjectSpace == 828 then
-- /doc does not exist; ask to create it.
local createUrl = docTitle:fullUrl{action = 'edit', preload = message('module-preload')}
local createDisplay = message('create-link-display')
local createLink = makeUrlLink(createUrl, createDisplay)
ret = message('create-module-doc-blurb', {createLink})
.. '<br />'
end
return ret
end
function p.makeExperimentBlurb(args, env)
--[[
-- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-link-display' --> 'sandbox'
-- 'sandbox-edit-link-display' --> 'edit'
-- 'compare-link-display' --> 'diff'
-- 'module-sandbox-preload' --> 'Template:Documentation/preload-module-sandbox'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'sandbox-create-link-display' --> 'create'
-- 'mirror-edit-summary' --> 'Create sandbox version of $1'
-- 'mirror-link-display' --> 'mirror'
-- 'mirror-link-preload' --> 'Template:Documentation/mirror'
-- 'sandbox-link-display' --> 'sandbox'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display'--> 'edit'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'testcases-create-link-display' --> 'create'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display' --> 'edit'
-- 'module-testcases-preload' --> 'Template:Documentation/preload-module-testcases'
-- 'template-testcases-preload' --> 'Template:Documentation/preload-testcases'
-- 'experiment-blurb-module' --> 'Editors can experiment in this module's $1 and $2 pages.'
-- 'experiment-blurb-template' --> 'Editors can experiment in this template's $1 and $2 pages.'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
local testcasesTitle = env.testcasesTitle
local templatePage = templateTitle.prefixedText
if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then
return nil
end
-- Make links.
local sandboxLinks, testcasesLinks
if sandboxTitle.exists then
local sandboxPage = sandboxTitle.prefixedText
local sandboxDisplay = message('sandbox-link-display')
local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay)
local sandboxEditUrl = sandboxTitle:fullUrl{action = 'edit'}
local sandboxEditDisplay = message('sandbox-edit-link-display')
local sandboxEditLink = makeUrlLink(sandboxEditUrl, sandboxEditDisplay)
local compareUrl = env.compareUrl
local compareLink
if compareUrl then
local compareDisplay = message('compare-link-display')
compareLink = makeUrlLink(compareUrl, compareDisplay)
end
sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink)
else
local sandboxPreload
if subjectSpace == 828 then
sandboxPreload = message('module-sandbox-preload')
else
sandboxPreload = message('template-sandbox-preload')
end
local sandboxCreateUrl = sandboxTitle:fullUrl{action = 'edit', preload = sandboxPreload}
local sandboxCreateDisplay = message('sandbox-create-link-display')
local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay)
local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)})
local mirrorPreload = message('mirror-link-preload')
local mirrorUrl = sandboxTitle:fullUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary}
if subjectSpace == 828 then
mirrorUrl = sandboxTitle:fullUrl{action = 'edit', preload = templateTitle.prefixedText, summary = mirrorSummary}
end
local mirrorDisplay = message('mirror-link-display')
local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay)
sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink)
end
if testcasesTitle.exists then
local testcasesPage = testcasesTitle.prefixedText
local testcasesDisplay = message('testcases-link-display')
local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay)
local testcasesEditUrl = testcasesTitle:fullUrl{action = 'edit'}
local testcasesEditDisplay = message('testcases-edit-link-display')
local testcasesEditLink = makeUrlLink(testcasesEditUrl, testcasesEditDisplay)
-- for Modules, add testcases run link if exists
if subjectSpace == 828 and testcasesTitle.talkPageTitle and testcasesTitle.talkPageTitle.exists then
local testcasesRunLinkDisplay = message('testcases-run-link-display')
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink, testcasesRunLink)
else
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink)
end
else
local testcasesPreload
if subjectSpace == 828 then
testcasesPreload = message('module-testcases-preload')
else
testcasesPreload = message('template-testcases-preload')
end
local testcasesCreateUrl = testcasesTitle:fullUrl{action = 'edit', preload = testcasesPreload}
local testcasesCreateDisplay = message('testcases-create-link-display')
local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay)
testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink)
end
local messageName
if subjectSpace == 828 then
messageName = 'experiment-blurb-module'
else
messageName = 'experiment-blurb-template'
end
return message(messageName, {sandboxLinks, testcasesLinks})
end
function p.makeCategoriesBlurb(args, env)
--[[
-- Generates the text "Please add categories to the /doc subpage."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'doc-link-display' --> '/doc'
-- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.'
--]]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display'))
return message('add-categories-blurb', {docPathLink})
end
function p.makeSubpagesBlurb(args, env)
--[[
-- Generates the "Subpages of this template" link.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'template-pagetype' --> 'template'
-- 'module-pagetype' --> 'module'
-- 'default-pagetype' --> 'page'
-- 'subpages-link-display' --> 'Subpages of this $1'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
if not subjectSpace or not templateTitle then
return nil
end
local pagetype
if subjectSpace == 10 then
pagetype = message('template-pagetype')
elseif subjectSpace == 828 then
pagetype = message('module-pagetype')
else
pagetype = message('default-pagetype')
end
local subpagesLink = makeWikilink(
'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/',
message('subpages-link-display', {pagetype})
)
return message('subpages-blurb', {subpagesLink})
end
function p.makePrintBlurb(args, env)
--[=[
-- Generates the blurb displayed when there is a print version of the template available.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'print-link-display' --> '/Print'
-- 'print-blurb' --> 'A [[Help:Books/for experts#Improving the book layout|print version]]'
-- .. ' of this template exists at $1.'
-- .. ' If you make a change to this template, please update the print version as well.'
-- 'display-print-category' --> true
-- 'print-category' --> 'Templates with print versions'
--]=]
local printTitle = env.printTitle
if not printTitle then
return nil
end
local ret
if printTitle.exists then
local printLink = makeWikilink(printTitle.prefixedText, message('print-link-display'))
ret = message('print-blurb', {printLink})
local displayPrintCategory = message('display-print-category', nil, 'boolean')
if displayPrintCategory then
ret = ret .. makeCategoryLink(message('print-category'))
end
end
return ret
end
----------------------------------------------------------------------------
-- Tracking categories
----------------------------------------------------------------------------
function p.addTrackingCategories(env)
--[[
-- Check if {{documentation}} is transcluded on a /doc or /testcases page.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'display-strange-usage-category' --> true
-- 'doc-subpage' --> 'doc'
-- 'testcases-subpage' --> 'testcases'
-- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage'
--
-- /testcases pages in the module namespace are not categorised, as they may have
-- {{documentation}} transcluded automatically.
--]]
local title = env.title
local subjectSpace = env.subjectSpace
if not title or not subjectSpace then
return nil
end
local subpage = title.subpageText
local ret = ''
if message('display-strange-usage-category', nil, 'boolean')
and (
subpage == message('doc-subpage')
or subjectSpace ~= 828 and subpage == message('testcases-subpage')
)
then
ret = ret .. makeCategoryLink(message('strange-usage-category'))
end
return ret
end
return p
a63d1b5b0f61a188d1f167ce1d4c03fe26d5f1dc
Module:Documentation/config
828
55
97
96
2021-01-05T17:25:35Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
----------------------------------------------------------------------------------------------------
--
-- Configuration for Module:Documentation
--
-- Here you can set the values of the parameters and messages used in Module:Documentation to
-- localise it to your wiki and your language. Unless specified otherwise, values given here
-- should be string values.
----------------------------------------------------------------------------------------------------
local cfg = {} -- Do not edit this line.
----------------------------------------------------------------------------------------------------
-- Protection template configuration
----------------------------------------------------------------------------------------------------
-- cfg['protection-reason-edit']
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-reason-edit'] = 'template'
--[[
----------------------------------------------------------------------------------------------------
-- Sandbox notice configuration
--
-- On sandbox pages the module can display a template notifying users that the current page is a
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a
-- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the
-- messages that the notices contains.
----------------------------------------------------------------------------------------------------
--]]
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[Image:Sandbox.svg|50px|alt=|link=]]'
--[[
-- cfg['sandbox-notice-pagetype-template']
-- cfg['sandbox-notice-pagetype-module']
-- cfg['sandbox-notice-pagetype-other']
-- The page type of the sandbox page. The message that is displayed depends on the current subject
-- namespace. This message is used in either cfg['sandbox-notice-blurb'] or
-- cfg['sandbox-notice-diff-blurb'].
--]]
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page'
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'
--[[
-- cfg['sandbox-notice-blurb']
-- cfg['sandbox-notice-diff-blurb']
-- cfg['sandbox-notice-diff-display']
-- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence
-- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page
-- type, which is either cfg['sandbox-notice-pagetype-template'],
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between
-- the sandbox and the main template. The display value of the diff link is set by
-- cfg['sandbox-notice-compare-link-display'].
--]]
cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.'
cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).'
cfg['sandbox-notice-compare-link-display'] = 'diff'
--[[
-- cfg['sandbox-notice-testcases-blurb']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-run-blurb']
-- cfg['sandbox-notice-testcases-run-link-display']
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link.
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test
-- cases page, and $2 is a link to the page to run it.
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test
-- cases.
--]]
cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.'
cfg['sandbox-notice-testcases-link-display'] = 'test cases'
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
-- cfg['sandbox-category']
-- A category to add to all template sandboxes.
cfg['sandbox-category'] = 'Template sandboxes'
----------------------------------------------------------------------------------------------------
-- Start box configuration
----------------------------------------------------------------------------------------------------
-- cfg['documentation-icon-wikitext']
-- The wikitext for the icon shown at the top of the template.
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- cfg['template-namespace-heading']
-- The heading shown in the template namespace.
cfg['template-namespace-heading'] = 'Template documentation'
-- cfg['module-namespace-heading']
-- The heading shown in the module namespace.
cfg['module-namespace-heading'] = 'Module documentation'
-- cfg['file-namespace-heading']
-- The heading shown in the file namespace.
cfg['file-namespace-heading'] = 'Summary'
-- cfg['other-namespaces-heading']
-- The heading shown in other namespaces.
cfg['other-namespaces-heading'] = 'Documentation'
-- cfg['view-link-display']
-- The text to display for "view" links.
cfg['view-link-display'] = 'view'
-- cfg['edit-link-display']
-- The text to display for "edit" links.
cfg['edit-link-display'] = 'edit'
-- cfg['history-link-display']
-- The text to display for "history" links.
cfg['history-link-display'] = 'history'
-- cfg['purge-link-display']
-- The text to display for "purge" links.
cfg['purge-link-display'] = 'purge'
-- cfg['create-link-display']
-- The text to display for "create" links.
cfg['create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Link box (end box) configuration
----------------------------------------------------------------------------------------------------
-- cfg['transcluded-from-blurb']
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from $1.'
--[[
-- cfg['create-module-doc-blurb']
-- Notice displayed in the module namespace when the documentation subpage does not exist.
-- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the
-- display cfg['create-link-display'].
--]]
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
----------------------------------------------------------------------------------------------------
-- Experiment blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['experiment-blurb-template']
-- cfg['experiment-blurb-module']
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.
-- It is only shown in the template and module namespaces. With the default English settings, it
-- might look like this:
--
-- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
--
-- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links.
--
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending
-- on what namespace we are in.
--
-- Parameters:
--
-- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display'])
--
-- If the sandbox doesn't exist, it is in the format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display'])
--
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload']
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display']
-- loads a default edit summary of cfg['mirror-edit-summary'].
--
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:
--
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display'])
--
-- If the test cases page doesn't exist, it is in the format:
--
-- cfg['testcases-link-display'] (cfg['testcases-create-link-display'])
--
-- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the
-- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current
-- namespace.
--]]
cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages."
cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages."
----------------------------------------------------------------------------------------------------
-- Sandbox link configuration
----------------------------------------------------------------------------------------------------
-- cfg['sandbox-subpage']
-- The name of the template subpage typically used for sandboxes.
cfg['sandbox-subpage'] = 'sandbox'
-- cfg['template-sandbox-preload']
-- Preload file for template sandbox pages.
cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox'
-- cfg['module-sandbox-preload']
-- Preload file for Lua module sandbox pages.
cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox'
-- cfg['sandbox-link-display']
-- The text to display for "sandbox" links.
cfg['sandbox-link-display'] = 'sandbox'
-- cfg['sandbox-edit-link-display']
-- The text to display for sandbox "edit" links.
cfg['sandbox-edit-link-display'] = 'edit'
-- cfg['sandbox-create-link-display']
-- The text to display for sandbox "create" links.
cfg['sandbox-create-link-display'] = 'create'
-- cfg['compare-link-display']
-- The text to display for "compare" links.
cfg['compare-link-display'] = 'diff'
-- cfg['mirror-edit-summary']
-- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the
-- template page.
cfg['mirror-edit-summary'] = 'Create sandbox version of $1'
-- cfg['mirror-link-display']
-- The text to display for "mirror" links.
cfg['mirror-link-display'] = 'mirror'
-- cfg['mirror-link-preload']
-- The page to preload when a user clicks the "mirror" link.
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'
----------------------------------------------------------------------------------------------------
-- Test cases link configuration
----------------------------------------------------------------------------------------------------
-- cfg['testcases-subpage']
-- The name of the template subpage typically used for test cases.
cfg['testcases-subpage'] = 'testcases'
-- cfg['template-testcases-preload']
-- Preload file for template test cases pages.
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases'
-- cfg['module-testcases-preload']
-- Preload file for Lua module test cases pages.
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases'
-- cfg['testcases-link-display']
-- The text to display for "testcases" links.
cfg['testcases-link-display'] = 'testcases'
-- cfg['testcases-edit-link-display']
-- The text to display for test cases "edit" links.
cfg['testcases-edit-link-display'] = 'edit'
-- cfg['testcases-run-link-display']
-- The text to display for test cases "run" links.
cfg['testcases-run-link-display'] = 'run'
-- cfg['testcases-create-link-display']
-- The text to display for test cases "create" links.
cfg['testcases-create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Add categories blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['add-categories-blurb']
-- Text to direct users to add categories to the /doc subpage. Not used if the "content" or
-- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = 'Please add categories to the $1 subpage.'
-- cfg['doc-link-display']
-- The text to display when linking to the /doc subpage.
cfg['doc-link-display'] = '/doc'
----------------------------------------------------------------------------------------------------
-- Subpages link configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['subpages-blurb']
-- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a
-- display value of cfg['subpages-link-display']. In the English version this blurb is simply
-- the link followed by a period, and the link display provides the actual text.
--]]
cfg['subpages-blurb'] = '$1.'
--[[
-- cfg['subpages-link-display']
-- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'],
-- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in
-- the template namespace, the module namespace, or another namespace.
--]]
cfg['subpages-link-display'] = 'Subpages of this $1'
-- cfg['template-pagetype']
-- The pagetype to display for template pages.
cfg['template-pagetype'] = 'template'
-- cfg['module-pagetype']
-- The pagetype to display for Lua module pages.
cfg['module-pagetype'] = 'module'
-- cfg['default-pagetype']
-- The pagetype to display for pages other than templates or Lua modules.
cfg['default-pagetype'] = 'page'
----------------------------------------------------------------------------------------------------
-- Doc link configuration
----------------------------------------------------------------------------------------------------
-- cfg['doc-subpage']
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
-- cfg['file-docpage-preload']
-- Preload file for documentation page in the file namespace.
cfg['file-docpage-preload'] = 'Template:Documentation/preload-filespace'
-- cfg['docpage-preload']
-- Preload file for template documentation pages in all namespaces.
cfg['docpage-preload'] = 'Template:Documentation/preload'
-- cfg['module-preload']
-- Preload file for Lua module documentation pages.
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'
----------------------------------------------------------------------------------------------------
-- Print version configuration
----------------------------------------------------------------------------------------------------
-- cfg['print-subpage']
-- The name of the template subpage used for print versions.
cfg['print-subpage'] = 'Print'
-- cfg['print-link-display']
-- The text to display when linking to the /Print subpage.
cfg['print-link-display'] = '/Print'
-- cfg['print-blurb']
-- Text to display if a /Print subpage exists. $1 is a link to the subpage with a display value of cfg['print-link-display'].
cfg['print-blurb'] = 'A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at $1.'
.. ' If you make a change to this template, please update the print version as well.'
-- cfg['display-print-category']
-- Set to true to enable output of cfg['print-category'] if a /Print subpage exists.
-- This should be a boolean value (either true or false).
cfg['display-print-category'] = true
-- cfg['print-category']
-- Category to output if cfg['display-print-category'] is set to true, and a /Print subpage exists.
cfg['print-category'] = 'Templates with print versions'
----------------------------------------------------------------------------------------------------
-- HTML and CSS configuration
----------------------------------------------------------------------------------------------------
-- cfg['main-div-id']
-- The "id" attribute of the main HTML "div" tag.
cfg['main-div-id'] = 'template-documentation'
-- cfg['main-div-classes']
-- The CSS classes added to the main HTML "div" tag.
cfg['main-div-classes'] = 'template-documentation iezoomfix'
-- cfg['start-box-linkclasses']
-- The CSS classes used for the [view][edit][history] or [create] links in the start box.
cfg['start-box-linkclasses'] = 'mw-editsection-like plainlinks'
-- cfg['start-box-link-id']
-- The HTML "id" attribute for the links in the start box.
cfg['start-box-link-id'] = 'doc_editlinks'
----------------------------------------------------------------------------------------------------
-- {{fmbox}} template configuration
----------------------------------------------------------------------------------------------------
-- cfg['fmbox-id']
-- The id sent to the "id" parameter of the {{fmbox}} template.
cfg['fmbox-id'] = 'documentation-meta-data'
-- cfg['fmbox-style']
-- The value sent to the style parameter of {{fmbox}}.
cfg['fmbox-style'] = 'background-color: #ecfcf4'
-- cfg['fmbox-textstyle']
-- The value sent to the "textstyle parameter of {{fmbox}}.
cfg['fmbox-textstyle'] = 'font-style: italic'
----------------------------------------------------------------------------------------------------
-- Tracking category configuration
----------------------------------------------------------------------------------------------------
-- cfg['display-strange-usage-category']
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage
-- or a /testcases subpage. This should be a boolean value (either true or false).
cfg['display-strange-usage-category'] = true
-- cfg['strange-usage-category']
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'
--[[
----------------------------------------------------------------------------------------------------
-- End configuration
--
-- Don't edit anything below this line.
----------------------------------------------------------------------------------------------------
--]]
return cfg
37a2dfddf613853a4d472db0179b6fe844360519
Module:Arguments
828
56
99
98
2021-01-05T17:25:36Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local arguments = {}
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
if type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val == '' then
return nil
else
return val
end
else
return val
end
end
local function tidyValTrimOnly(key, val)
if type(val) == 'string' then
return val:match('^%s*(.-)%s*$')
else
return val
end
end
local function tidyValRemoveBlanksOnly(key, val)
if type(val) == 'string' then
if val:find('%S') then
return val
else
return nil
end
else
return val
end
end
local function tidyValNoChange(key, val)
return val
end
local function matchesTitle(given, title)
local tp = type( given )
return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title
end
local translate_mt = { __index = function(t, k) return k end }
function arguments.getArgs(frame, options)
checkType('getArgs', 1, frame, 'table', true)
checkType('getArgs', 2, options, 'table', true)
frame = frame or {}
options = options or {}
--[[
-- Set up argument translation.
--]]
options.translate = options.translate or {}
if getmetatable(options.translate) == nil then
setmetatable(options.translate, translate_mt)
end
if options.backtranslate == nil then
options.backtranslate = {}
for k,v in pairs(options.translate) do
options.backtranslate[v] = k
end
end
if options.backtranslate and getmetatable(options.backtranslate) == nil then
setmetatable(options.backtranslate, {
__index = function(t, k)
if options.translate[k] ~= k then
return nil
else
return k
end
end
})
end
--[[
-- Get the argument tables. If we were passed a valid frame object, get the
-- frame arguments (fargs) and the parent frame arguments (pargs), depending
-- on the options set and on the parent frame's availability. If we weren't
-- passed a valid frame object, we are being called from another Lua module
-- or from the debug console, so assume that we were passed a table of args
-- directly, and assign it to a new variable (luaArgs).
--]]
local fargs, pargs, luaArgs
if type(frame.args) == 'table' and type(frame.getParent) == 'function' then
if options.wrappers then
--[[
-- The wrappers option makes Module:Arguments look up arguments in
-- either the frame argument table or the parent argument table, but
-- not both. This means that users can use either the #invoke syntax
-- or a wrapper template without the loss of performance associated
-- with looking arguments up in both the frame and the parent frame.
-- Module:Arguments will look up arguments in the parent frame
-- if it finds the parent frame's title in options.wrapper;
-- otherwise it will look up arguments in the frame object passed
-- to getArgs.
--]]
local parent = frame:getParent()
if not parent then
fargs = frame.args
else
local title = parent:getTitle():gsub('/sandbox$', '')
local found = false
if matchesTitle(options.wrappers, title) then
found = true
elseif type(options.wrappers) == 'table' then
for _,v in pairs(options.wrappers) do
if matchesTitle(v, title) then
found = true
break
end
end
end
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.frameOnly == false then
pargs = parent.args
end
if not found or options.parentOnly == false then
fargs = frame.args
end
end
else
-- options.wrapper isn't set, so check the other options.
if not options.parentOnly then
fargs = frame.args
end
if not options.frameOnly then
local parent = frame:getParent()
pargs = parent and parent.args or nil
end
end
if options.parentFirst then
fargs, pargs = pargs, fargs
end
else
luaArgs = frame
end
-- Set the order of precedence of the argument tables. If the variables are
-- nil, nothing will be added to the table, which is how we avoid clashes
-- between the frame/parent args and the Lua args.
local argTables = {fargs}
argTables[#argTables + 1] = pargs
argTables[#argTables + 1] = luaArgs
--[[
-- Generate the tidyVal function. If it has been specified by the user, we
-- use that; if not, we choose one of four functions depending on the
-- options chosen. This is so that we don't have to call the options table
-- every time the function is called.
--]]
local tidyVal = options.valueFunc
if tidyVal then
if type(tidyVal) ~= 'function' then
error(
"bad value assigned to option 'valueFunc'"
.. '(function expected, got '
.. type(tidyVal)
.. ')',
2
)
end
elseif options.trim ~= false then
if options.removeBlanks ~= false then
tidyVal = tidyValDefault
else
tidyVal = tidyValTrimOnly
end
else
if options.removeBlanks ~= false then
tidyVal = tidyValRemoveBlanksOnly
else
tidyVal = tidyValNoChange
end
end
--[[
-- Set up the args, metaArgs and nilArgs tables. args will be the one
-- accessed from functions, and metaArgs will hold the actual arguments. Nil
-- arguments are memoized in nilArgs, and the metatable connects all of them
-- together.
--]]
local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}
setmetatable(args, metatable)
local function mergeArgs(tables)
--[[
-- Accepts multiple tables as input and merges their keys and values
-- into one table. If a value is already present it is not overwritten;
-- tables listed earlier have precedence. We are also memoizing nil
-- values, which can be overwritten if they are 's' (soft).
--]]
for _, t in ipairs(tables) do
for key, val in pairs(t) do
if metaArgs[key] == nil and nilArgs[key] ~= 'h' then
local tidiedVal = tidyVal(key, val)
if tidiedVal == nil then
nilArgs[key] = 's'
else
metaArgs[key] = tidiedVal
end
end
end
end
end
--[[
-- Define metatable behaviour. Arguments are memoized in the metaArgs table,
-- and are only fetched from the argument tables once. Fetching arguments
-- from the argument tables is the most resource-intensive step in this
-- module, so we try and avoid it where possible. For this reason, nil
-- arguments are also memoized, in the nilArgs table. Also, we keep a record
-- in the metatable of when pairs and ipairs have been called, so we do not
-- run pairs and ipairs on the argument tables more than once. We also do
-- not run ipairs on fargs and pargs if pairs has already been run, as all
-- the arguments will already have been copied over.
--]]
metatable.__index = function (t, key)
--[[
-- Fetches an argument when the args table is indexed. First we check
-- to see if the value is memoized, and if not we try and fetch it from
-- the argument tables. When we check memoization, we need to check
-- metaArgs before nilArgs, as both can be non-nil at the same time.
-- If the argument is not present in metaArgs, we also check whether
-- pairs has been run yet. If pairs has already been run, we return nil.
-- This is because all the arguments will have already been copied into
-- metaArgs by the mergeArgs function, meaning that any other arguments
-- must be nil.
--]]
if type(key) == 'string' then
key = options.translate[key]
end
local val = metaArgs[key]
if val ~= nil then
return val
elseif metatable.donePairs or nilArgs[key] then
return nil
end
for _, argTable in ipairs(argTables) do
local argTableVal = tidyVal(key, argTable[key])
if argTableVal ~= nil then
metaArgs[key] = argTableVal
return argTableVal
end
end
nilArgs[key] = 'h'
return nil
end
metatable.__newindex = function (t, key, val)
-- This function is called when a module tries to add a new value to the
-- args table, or tries to change an existing value.
if type(key) == 'string' then
key = options.translate[key]
end
if options.readOnly then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; the table is read-only',
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; overwriting existing arguments is not permitted',
2
)
elseif val == nil then
--[[
-- If the argument is to be overwritten with nil, we need to erase
-- the value in metaArgs, so that __index, __pairs and __ipairs do
-- not use a previous existing value, if present; and we also need
-- to memoize the nil in nilArgs, so that the value isn't looked
-- up in the argument tables if it is accessed again.
--]]
metaArgs[key] = nil
nilArgs[key] = 'h'
else
metaArgs[key] = val
end
end
local function translatenext(invariant)
local k, v = next(invariant.t, invariant.k)
invariant.k = k
if k == nil then
return nil
elseif type(k) ~= 'string' or not options.backtranslate then
return k, v
else
local backtranslate = options.backtranslate[k]
if backtranslate == nil then
-- Skip this one. This is a tail call, so this won't cause stack overflow
return translatenext(invariant)
else
return backtranslate, v
end
end
end
metatable.__pairs = function ()
-- Called when pairs is run on the args table.
if not metatable.donePairs then
mergeArgs(argTables)
metatable.donePairs = true
end
return translatenext, { t = metaArgs }
end
local function inext(t, i)
-- This uses our __index metamethod
local v = t[i + 1]
if v ~= nil then
return i + 1, v
end
end
metatable.__ipairs = function (t)
-- Called when ipairs is run on the args table.
return inext, t, 0
end
return args
end
return arguments
3134ecce8429b810d445e29eae115e2ae4c36c53
Module:Message box
828
57
101
100
2021-01-05T17:25:37Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This is a meta-module for producing message box templates, including
-- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}.
-- Load necessary modules.
require('Module:No globals')
local getArgs
local categoryHandler = require('Module:Category handler')._main
local yesno = require('Module:Yesno')
-- Get a language object for formatDate and ucfirst.
local lang = mw.language.getContentLanguage()
-- Define constants
local CONFIG_MODULE = 'Module:Message box/configuration'
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getTitleObject(...)
-- Get the title object, passing the function through pcall
-- in case we are over the expensive function count limit.
local success, title = pcall(mw.title.new, ...)
if success then
return title
end
end
local function union(t1, t2)
-- Returns the union of two arrays.
local vals = {}
for i, v in ipairs(t1) do
vals[v] = true
end
for i, v in ipairs(t2) do
vals[v] = true
end
local ret = {}
for k in pairs(vals) do
table.insert(ret, k)
end
table.sort(ret)
return ret
end
local function getArgNums(args, prefix)
local nums = {}
for k, v in pairs(args) do
local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$')
if num then
table.insert(nums, tonumber(num))
end
end
table.sort(nums)
return nums
end
--------------------------------------------------------------------------------
-- Box class definition
--------------------------------------------------------------------------------
local MessageBox = {}
MessageBox.__index = MessageBox
function MessageBox.new(boxType, args, cfg)
args = args or {}
local obj = {}
-- Set the title object and the namespace.
obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()
-- Set the config for our box type.
obj.cfg = cfg[boxType]
if not obj.cfg then
local ns = obj.title.namespace
-- boxType is "mbox" or invalid input
if ns == 0 then
obj.cfg = cfg.ambox -- main namespace
elseif ns == 6 then
obj.cfg = cfg.imbox -- file namespace
elseif ns == 14 then
obj.cfg = cfg.cmbox -- category namespace
else
local nsTable = mw.site.namespaces[ns]
if nsTable and nsTable.isTalk then
obj.cfg = cfg.tmbox -- any talk namespace
else
obj.cfg = cfg.ombox -- other namespaces or invalid input
end
end
end
-- Set the arguments, and remove all blank arguments except for the ones
-- listed in cfg.allowBlankParams.
do
local newArgs = {}
for k, v in pairs(args) do
if v ~= '' then
newArgs[k] = v
end
end
for i, param in ipairs(obj.cfg.allowBlankParams or {}) do
newArgs[param] = args[param]
end
obj.args = newArgs
end
-- Define internal data structure.
obj.categories = {}
obj.classes = {}
return setmetatable(obj, MessageBox)
end
function MessageBox:addCat(ns, cat, sort)
if not cat then
return nil
end
if sort then
cat = string.format('[[Category:%s|%s]]', cat, sort)
else
cat = string.format('[[Category:%s]]', cat)
end
self.categories[ns] = self.categories[ns] or {}
table.insert(self.categories[ns], cat)
end
function MessageBox:addClass(class)
if not class then
return nil
end
table.insert(self.classes, class)
end
function MessageBox:setParameters()
local args = self.args
local cfg = self.cfg
-- Get type data.
self.type = args.type
local typeData = cfg.types[self.type]
self.invalidTypeError = cfg.showInvalidTypeError
and self.type
and not typeData
typeData = typeData or cfg.types[cfg.default]
self.typeClass = typeData.class
self.typeImage = typeData.image
-- Find if the box has been wrongly substituted.
self.isSubstituted = cfg.substCheck and args.subst == 'SUBST'
-- Find whether we are using a small message box.
self.isSmall = cfg.allowSmall and (
cfg.smallParam and args.small == cfg.smallParam
or not cfg.smallParam and yesno(args.small)
)
-- Add attributes, classes and styles.
self.id = args.id
if yesno(args.plainlinks) ~= false then
self:addClass('plainlinks')
end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
end
if self.isSmall then
self:addClass(cfg.smallClass or 'mbox-small')
end
self:addClass(self.typeClass)
self:addClass(args.class)
self.style = args.style
self.attrs = args.attrs
-- Set text style.
self.textstyle = args.textstyle
-- Find if we are on the template page or not. This functionality is only
-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory
-- and cfg.templateCategoryRequireName are set.
self.useCollapsibleTextFields = cfg.useCollapsibleTextFields
if self.useCollapsibleTextFields
or cfg.templateCategory
and cfg.templateCategoryRequireName
then
self.name = args.name
if self.name then
local templateName = mw.ustring.match(
self.name,
'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
) or self.name
templateName = 'Template:' .. templateName
self.templateTitle = getTitleObject(templateName)
end
self.isTemplatePage = self.templateTitle
and mw.title.equals(self.title, self.templateTitle)
end
-- Process data for collapsible text fields. At the moment these are only
-- used in {{ambox}}.
if self.useCollapsibleTextFields then
-- Get the self.issue value.
if self.isSmall and args.smalltext then
self.issue = args.smalltext
else
local sect
if args.sect == '' then
sect = 'This ' .. (cfg.sectionDefault or 'page')
elseif type(args.sect) == 'string' then
sect = 'This ' .. args.sect
end
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
text = type(text) == 'string' and text or nil
local issues = {}
table.insert(issues, sect)
table.insert(issues, issue)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
end
-- Get the self.talk value.
local talk = args.talk
-- Show talk links on the template page or template subpages if the talk
-- parameter is blank.
if talk == ''
and self.templateTitle
and (
mw.title.equals(self.templateTitle, self.title)
or self.title:isSubpageOf(self.templateTitle)
)
then
talk = '#'
elseif talk == '' then
talk = nil
end
if talk then
-- If the talk value is a talk page, make a link to that page. Else
-- assume that it's a section heading, and make a link to the talk
-- page of the current page with that section heading.
local talkTitle = getTitleObject(talk)
local talkArgIsTalkPage = true
if not talkTitle or not talkTitle.isTalkPage then
talkArgIsTalkPage = false
talkTitle = getTitleObject(
self.title.text,
mw.site.namespaces[self.title.namespace].talk.id
)
end
if talkTitle and talkTitle.exists then
local talkText = 'Relevant discussion may be found on'
if talkArgIsTalkPage then
talkText = string.format(
'%s [[%s|%s]].',
talkText,
talk,
talkTitle.prefixedText
)
else
talkText = string.format(
'%s the [[%s#%s|talk page]].',
talkText,
talkTitle.prefixedText,
talk
)
end
self.talk = talkText
end
end
-- Get other values.
self.fix = args.fix ~= '' and args.fix or nil
local date
if args.date and args.date ~= '' then
date = args.date
elseif args.date == '' and self.isTemplatePage then
date = lang:formatDate('F Y')
end
if date then
self.date = string.format(" <small>''(%s)''</small>", date)
end
self.info = args.info
if yesno(args.removalnotice) then
self.removalNotice = cfg.removalNotice
end
end
-- Set the non-collapsible text field. At the moment this is used by all box
-- types other than ambox, and also by ambox when small=yes.
if self.isSmall then
self.text = args.smalltext or args.text
else
self.text = args.text
end
-- Set the below row.
self.below = cfg.below and args.below
-- General image settings.
self.imageCellDiv = not self.isSmall and cfg.imageCellDiv
self.imageEmptyCell = cfg.imageEmptyCell
if cfg.imageEmptyCellStyle then
self.imageEmptyCellStyle = 'border:none;padding:0px;width:1px'
end
-- Left image settings.
local imageLeft = self.isSmall and args.smallimage or args.image
if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
or not cfg.imageCheckBlank and imageLeft ~= 'none'
then
self.imageLeft = imageLeft
if not imageLeft then
local imageSize = self.isSmall
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s|link=|alt=]]', self.typeImage
or 'Imbox notice.png', imageSize)
end
end
-- Right image settings.
local imageRight = self.isSmall and args.smallimageright or args.imageright
if not (cfg.imageRightNone and imageRight == 'none') then
self.imageRight = imageRight
end
end
function MessageBox:setMainspaceCategories()
local args = self.args
local cfg = self.cfg
if not cfg.allowMainspaceCategories then
return nil
end
local nums = {}
for _, prefix in ipairs{'cat', 'category', 'all'} do
args[prefix .. '1'] = args[prefix]
nums = union(nums, getArgNums(args, prefix))
end
-- The following is roughly equivalent to the old {{Ambox/category}}.
local date = args.date
date = type(date) == 'string' and date
local preposition = 'from'
for _, num in ipairs(nums) do
local mainCat = args['cat' .. tostring(num)]
or args['category' .. tostring(num)]
local allCat = args['all' .. tostring(num)]
mainCat = type(mainCat) == 'string' and mainCat
allCat = type(allCat) == 'string' and allCat
if mainCat and date and date ~= '' then
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
self:addCat(0, catTitle)
catTitle = getTitleObject('Category:' .. catTitle)
if not catTitle or not catTitle.exists then
self:addCat(0, 'Articles with invalid date parameter in template')
end
elseif mainCat and (not date or date == '') then
self:addCat(0, mainCat)
end
if allCat then
self:addCat(0, allCat)
end
end
end
function MessageBox:setTemplateCategories()
local args = self.args
local cfg = self.cfg
-- Add template categories.
if cfg.templateCategory then
if cfg.templateCategoryRequireName then
if self.isTemplatePage then
self:addCat(10, cfg.templateCategory)
end
elseif not self.title.isSubpage then
self:addCat(10, cfg.templateCategory)
end
end
-- Add template error categories.
if cfg.templateErrorCategory then
local templateErrorCategory = cfg.templateErrorCategory
local templateCat, templateSort
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif self.isTemplatePage then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
for i, param in ipairs(paramsToCheck) do
if not args[param] then
count = count + 1
end
end
if count > 0 then
templateCat = templateErrorCategory
templateSort = tostring(count)
end
if self.categoryNums and #self.categoryNums > 0 then
templateCat = templateErrorCategory
templateSort = 'C'
end
end
self:addCat(10, templateCat, templateSort)
end
end
function MessageBox:setAllNamespaceCategories()
-- Set categories for all namespaces.
if self.invalidTypeError then
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
end
if self.isSubstituted then
self:addCat('all', 'Pages with incorrectly substituted templates')
end
end
function MessageBox:setCategories()
if self.title.namespace == 0 then
self:setMainspaceCategories()
elseif self.title.namespace == 10 then
self:setTemplateCategories()
end
self:setAllNamespaceCategories()
end
function MessageBox:renderCategories()
-- Convert category tables to strings and pass them through
-- [[Module:Category handler]].
return categoryHandler{
main = table.concat(self.categories[0] or {}),
template = table.concat(self.categories[10] or {}),
all = table.concat(self.categories.all or {}),
nocat = self.args.nocat,
page = self.args.page
}
end
function MessageBox:export()
local root = mw.html.create()
-- Add the subst check error.
if self.isSubstituted and self.name then
root:tag('b')
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
-- Create the box table.
local boxTable = root:tag('table')
boxTable:attr('id', self.id or nil)
for i, class in ipairs(self.classes or {}) do
boxTable:addClass(class or nil)
end
boxTable
:cssText(self.style or nil)
:attr('role', 'presentation')
if self.attrs then
boxTable:attr(self.attrs)
end
-- Add the left-hand image.
local row = boxTable:tag('tr')
if self.imageLeft then
local imageLeftCell = row:tag('td'):addClass('mbox-image')
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
-- is inside it. Divs use style="width: 52px;", which limits the
-- image width to 52px. If any images in a div are wider than that,
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):css('width', '52px')
end
imageLeftCell:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and
-- some don't. The old template code in templates where empty cells are
-- specified gives the following hint: "No image. Cell with some width
-- or padding necessary for text cell to have 100% width."
row:tag('td')
:addClass('mbox-empty-cell')
:cssText(self.imageEmptyCellStyle or nil)
end
-- Add the text.
local textCell = row:tag('td'):addClass('mbox-text')
if self.useCollapsibleTextFields then
-- The message box uses advanced text parameters that allow things to be
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellSpan = textCell:tag('span')
textCellSpan
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) and not self.isSmall then
textCellSpan:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellSpan:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellSpan
:tag('span')
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
if self.removalNotice then
textCellSpan:tag('small')
:addClass('hide-when-compact')
:tag('i')
:wikitext(string.format(" (%s)", self.removalNotice))
end
else
-- Default text formatting - anything goes.
textCell
:cssText(self.textstyle or nil)
:wikitext(self.text or nil)
end
-- Add the right-hand image.
if self.imageRight then
local imageRightCell = row:tag('td'):addClass('mbox-imageright')
if self.imageCellDiv then
-- If we are using a div, redefine imageRightCell so that the image
-- is inside it.
imageRightCell = imageRightCell:tag('div'):css('width', '52px')
end
imageRightCell
:wikitext(self.imageRight or nil)
end
-- Add the below row.
if self.below then
boxTable:tag('tr')
:tag('td')
:attr('colspan', self.imageRight and '3' or '2')
:addClass('mbox-text')
:cssText(self.textstyle or nil)
:wikitext(self.below or nil)
end
-- Add error message for invalid type parameters.
if self.invalidTypeError then
root:tag('div')
:css('text-align', 'center')
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
self.type or ''
))
end
-- Add categories.
root:wikitext(self:renderCategories() or nil)
return tostring(root)
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p, mt = {}, {}
function p._exportClasses()
-- For testing.
return {
MessageBox = MessageBox
}
end
function p.main(boxType, args, cfgTables)
local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))
box:setParameters()
box:setCategories()
return box:export()
end
function mt.__index(t, k)
return function (frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
end
end
return setmetatable(p, mt)
8fa1c9943ddcaf7bea934dd5ff80c273f27215c8
Module:Message box/configuration
828
58
103
102
2021-01-05T17:25:38Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ambox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ambox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ambox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'ambox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = 'article',
allowMainspaceCategories = true,
templateCategory = 'Article message templates',
templateCategoryRequireName = true,
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'cmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Ambox warning pn.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon4.svg'
},
system = {
class = 'fmbox-system',
image = 'Information icon4.svg'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'imbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'imbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Padlock-silver-medium.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox license.png' -- @todo We need an SVG version of this
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg'
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes'
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ombox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ombox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ombox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'ombox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'tmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'tmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'tmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Padlock-silver-medium.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCellStyle = true,
templateCategory = 'Talk message boxes'
}
}
0a35f7ed72823141fd5c661fd96cfa6d7a3a823a
Module:No globals
828
59
105
104
2021-01-05T17:25:39Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
local mt = getmetatable(_G) or {}
function mt.__index (t, k)
if k ~= 'arg' then
error('Tried to read nil global ' .. tostring(k), 2)
end
return nil
end
function mt.__newindex(t, k, v)
if k ~= 'arg' then
error('Tried to write global ' .. tostring(k), 2)
end
rawset(t, k, v)
end
setmetatable(_G, mt)
8ce3969f7d53b08bd00dabe4cc9780bc6afd412a
Module:Category handler
828
60
107
106
2021-01-05T17:25:40Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- --
-- CATEGORY HANDLER --
-- --
-- This module implements the {{category handler}} template in Lua, --
-- with a few improvements: all namespaces and all namespace aliases --
-- are supported, and namespace names are detected automatically for --
-- the local wiki. This module requires [[Module:Namespace detect]] --
-- and [[Module:Yesno]] to be available on the local wiki. It can be --
-- configured for different wikis by altering the values in --
-- [[Module:Category handler/config]], and pages can be blacklisted --
-- from categorisation by using [[Module:Category handler/blacklist]]. --
-- --
--------------------------------------------------------------------------------
-- Load required modules
local yesno = require('Module:Yesno')
-- Lazily load things we don't always need
local mShared, mappings
local p = {}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function trimWhitespace(s, removeBlanks)
if type(s) ~= 'string' then
return s
end
s = s:match('^%s*(.-)%s*$')
if removeBlanks then
if s ~= '' then
return s
else
return nil
end
else
return s
end
end
--------------------------------------------------------------------------------
-- CategoryHandler class
--------------------------------------------------------------------------------
local CategoryHandler = {}
CategoryHandler.__index = CategoryHandler
function CategoryHandler.new(data, args)
local obj = setmetatable({ _data = data, _args = args }, CategoryHandler)
-- Set the title object
do
local pagename = obj:parameter('demopage')
local success, titleObj
if pagename then
success, titleObj = pcall(mw.title.new, pagename)
end
if success and titleObj then
obj.title = titleObj
if titleObj == mw.title.getCurrentTitle() then
obj._usesCurrentTitle = true
end
else
obj.title = mw.title.getCurrentTitle()
obj._usesCurrentTitle = true
end
end
-- Set suppression parameter values
for _, key in ipairs{'nocat', 'categories'} do
local value = obj:parameter(key)
value = trimWhitespace(value, true)
obj['_' .. key] = yesno(value)
end
do
local subpage = obj:parameter('subpage')
local category2 = obj:parameter('category2')
if type(subpage) == 'string' then
subpage = mw.ustring.lower(subpage)
end
if type(category2) == 'string' then
subpage = mw.ustring.lower(category2)
end
obj._subpage = trimWhitespace(subpage, true)
obj._category2 = trimWhitespace(category2) -- don't remove blank values
end
return obj
end
function CategoryHandler:parameter(key)
local parameterNames = self._data.parameters[key]
local pntype = type(parameterNames)
if pntype == 'string' or pntype == 'number' then
return self._args[parameterNames]
elseif pntype == 'table' then
for _, name in ipairs(parameterNames) do
local value = self._args[name]
if value ~= nil then
return value
end
end
return nil
else
error(string.format(
'invalid config key "%s"',
tostring(key)
), 2)
end
end
function CategoryHandler:isSuppressedByArguments()
return
-- See if a category suppression argument has been set.
self._nocat == true
or self._categories == false
or (
self._category2
and self._category2 ~= self._data.category2Yes
and self._category2 ~= self._data.category2Negative
)
-- Check whether we are on a subpage, and see if categories are
-- suppressed based on our subpage status.
or self._subpage == self._data.subpageNo and self.title.isSubpage
or self._subpage == self._data.subpageOnly and not self.title.isSubpage
end
function CategoryHandler:shouldSkipBlacklistCheck()
-- Check whether the category suppression arguments indicate we
-- should skip the blacklist check.
return self._nocat == false
or self._categories == true
or self._category2 == self._data.category2Yes
end
function CategoryHandler:matchesBlacklist()
if self._usesCurrentTitle then
return self._data.currentTitleMatchesBlacklist
else
mShared = mShared or require('Module:Category handler/shared')
return mShared.matchesBlacklist(
self.title.prefixedText,
mw.loadData('Module:Category handler/blacklist')
)
end
end
function CategoryHandler:isSuppressed()
-- Find if categories are suppressed by either the arguments or by
-- matching the blacklist.
return self:isSuppressedByArguments()
or not self:shouldSkipBlacklistCheck() and self:matchesBlacklist()
end
function CategoryHandler:getNamespaceParameters()
if self._usesCurrentTitle then
return self._data.currentTitleNamespaceParameters
else
if not mappings then
mShared = mShared or require('Module:Category handler/shared')
mappings = mShared.getParamMappings(true) -- gets mappings with mw.loadData
end
return mShared.getNamespaceParameters(
self.title,
mappings
)
end
end
function CategoryHandler:namespaceParametersExist()
-- Find whether any namespace parameters have been specified.
-- We use the order "all" --> namespace params --> "other" as this is what
-- the old template did.
if self:parameter('all') then
return true
end
if not mappings then
mShared = mShared or require('Module:Category handler/shared')
mappings = mShared.getParamMappings(true) -- gets mappings with mw.loadData
end
for ns, params in pairs(mappings) do
for i, param in ipairs(params) do
if self._args[param] then
return true
end
end
end
if self:parameter('other') then
return true
end
return false
end
function CategoryHandler:getCategories()
local params = self:getNamespaceParameters()
local nsCategory
for i, param in ipairs(params) do
local value = self._args[param]
if value ~= nil then
nsCategory = value
break
end
end
if nsCategory ~= nil or self:namespaceParametersExist() then
-- Namespace parameters exist - advanced usage.
if nsCategory == nil then
nsCategory = self:parameter('other')
end
local ret = {self:parameter('all')}
local numParam = tonumber(nsCategory)
if numParam and numParam >= 1 and math.floor(numParam) == numParam then
-- nsCategory is an integer
ret[#ret + 1] = self._args[numParam]
else
ret[#ret + 1] = nsCategory
end
if #ret < 1 then
return nil
else
return table.concat(ret)
end
elseif self._data.defaultNamespaces[self.title.namespace] then
-- Namespace parameters don't exist, simple usage.
return self._args[1]
end
return nil
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p = {}
function p._exportClasses()
-- Used for testing purposes.
return {
CategoryHandler = CategoryHandler
}
end
function p._main(args, data)
data = data or mw.loadData('Module:Category handler/data')
local handler = CategoryHandler.new(data, args)
if handler:isSuppressed() then
return nil
end
return handler:getCategories()
end
function p.main(frame, data)
data = data or mw.loadData('Module:Category handler/data')
local args = require('Module:Arguments').getArgs(frame, {
wrappers = data.wrappers,
valueFunc = function (k, v)
v = trimWhitespace(v)
if type(k) == 'number' then
if v ~= '' then
return v
else
return nil
end
else
return v
end
end
})
return p._main(args, data)
end
return p
b74dd63857b24904ac452429b11213f18647471f
Module:Category handler/data
828
61
109
108
2021-01-05T17:25:41Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module assembles data to be passed to [[Module:Category handler]] using
-- mw.loadData. This includes the configuration data and whether the current
-- page matches the title blacklist.
local data = require('Module:Category handler/config')
local mShared = require('Module:Category handler/shared')
local blacklist = require('Module:Category handler/blacklist')
local title = mw.title.getCurrentTitle()
data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(
title.prefixedText,
blacklist
)
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
title,
mShared.getParamMappings()
)
return data
abbc68048ff698e88dda06b64ecf384bbf583120
Module:Category handler/config
828
62
111
110
2021-01-05T17:25:42Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- [[Module:Category handler]] configuration data --
-- Language-specific parameter names and values can be set here. --
-- For blacklist config, see [[Module:Category handler/blacklist]]. --
--------------------------------------------------------------------------------
local cfg = {} -- Don't edit this line.
--------------------------------------------------------------------------------
-- Start configuration data --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Parameter names --
-- These configuration items specify custom parameter names. --
-- To add one extra name, you can use this format: --
-- --
-- foo = 'parameter name', --
-- --
-- To add multiple names, you can use this format: --
-- --
-- foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'}, --
--------------------------------------------------------------------------------
cfg.parameters = {
-- The nocat and categories parameter suppress
-- categorisation. They are used with Module:Yesno, and work as follows:
--
-- cfg.nocat:
-- Result of yesno() Effect
-- true Categorisation is suppressed
-- false Categorisation is allowed, and
-- the blacklist check is skipped
-- nil Categorisation is allowed
--
-- cfg.categories:
-- Result of yesno() Effect
-- true Categorisation is allowed, and
-- the blacklist check is skipped
-- false Categorisation is suppressed
-- nil Categorisation is allowed
nocat = 'nocat',
categories = 'categories',
-- The parameter name for the legacy "category2" parameter. This skips the
-- blacklist if set to the cfg.category2Yes value, and suppresses
-- categorisation if present but equal to anything other than
-- cfg.category2Yes or cfg.category2Negative.
category2 = 'category2',
-- cfg.subpage is the parameter name to specify how to behave on subpages.
subpage = 'subpage',
-- The parameter for data to return in all namespaces.
all = 'all',
-- The parameter name for data to return if no data is specified for the
-- namespace that is detected.
other = 'other',
-- The parameter name used to specify a page other than the current page;
-- used for testing and demonstration.
demopage = 'page',
}
--------------------------------------------------------------------------------
-- Parameter values --
-- These are set values that can be used with certain parameters. Only one --
-- value can be specified, like this: --
-- --
-- cfg.foo = 'value name' -- --
--------------------------------------------------------------------------------
-- The following settings are used with the cfg.category2 parameter. Setting
-- cfg.category2 to cfg.category2Yes skips the blacklist, and if cfg.category2
-- is present but equal to anything other than cfg.category2Yes or
-- cfg.category2Negative then it supresses cateogrisation.
cfg.category2Yes = 'yes'
cfg.category2Negative = '¬'
-- The following settings are used with the cfg.subpage parameter.
-- cfg.subpageNo is the value to specify to not categorise on subpages;
-- cfg.subpageOnly is the value to specify to only categorise on subpages.
cfg.subpageNo = 'no'
cfg.subpageOnly = 'only'
--------------------------------------------------------------------------------
-- Default namespaces --
-- This is a table of namespaces to categorise by default. The keys are the --
-- namespace numbers. --
--------------------------------------------------------------------------------
cfg.defaultNamespaces = {
[ 0] = true, -- main
[ 6] = true, -- file
[ 12] = true, -- help
[ 14] = true, -- category
[100] = true, -- portal
[108] = true, -- book
}
--------------------------------------------------------------------------------
-- Wrappers --
-- This is a wrapper template or a list of wrapper templates to be passed to --
-- [[Module:Arguments]]. --
--------------------------------------------------------------------------------
cfg.wrappers = 'Template:Category handler'
--------------------------------------------------------------------------------
-- End configuration data --
--------------------------------------------------------------------------------
return cfg -- Don't edit this line.
373cd107b13a5b00e6a1b7e66a749f12502c849d
Module:Category handler/shared
828
63
113
112
2021-01-05T17:25:43Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module contains shared functions used by [[Module:Category handler]]
-- and its submodules.
local p = {}
function p.matchesBlacklist(page, blacklist)
for i, pattern in ipairs(blacklist) do
local match = mw.ustring.match(page, pattern)
if match then
return true
end
end
return false
end
function p.getParamMappings(useLoadData)
local dataPage = 'Module:Namespace detect/data'
if useLoadData then
return mw.loadData(dataPage).mappings
else
return require(dataPage).mappings
end
end
function p.getNamespaceParameters(titleObj, mappings)
-- We don't use title.nsText for the namespace name because it adds
-- underscores.
local mappingsKey
if titleObj.isTalkPage then
mappingsKey = 'talk'
else
mappingsKey = mw.site.namespaces[titleObj.namespace].name
end
mappingsKey = mw.ustring.lower(mappingsKey)
return mappings[mappingsKey] or {}
end
return p
d2d5de1a031e6ce97c242cbfa8afe7a92cb9eca5
Module:Category handler/blacklist
828
64
115
114
2021-01-05T17:25:44Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module contains the blacklist used by [[Module:Category handler]].
-- Pages that match Lua patterns in this list will not be categorised unless
-- categorisation is explicitly requested.
return {
'^Main Page$', -- don't categorise the main page.
-- Don't categorise the following pages or their subpages.
-- "%f[/\0]" matches if the next character is "/" or the end of the string.
'^Wikipedia:Cascade%-protected items%f[/\0]',
'^User:UBX%f[/\0]', -- The userbox "template" space.
'^User talk:UBX%f[/\0]',
-- Don't categorise subpages of these pages, but allow
-- categorisation of the base page.
'^Wikipedia:Template messages/.*$',
-- Don't categorise archives.
'/[aA]rchive',
"^Wikipedia:Administrators' noticeboard/IncidentArchive%d+$",
}
99582c2055a4d265f2760cc524c710b6f5d55d1a
Module:Namespace detect/data
828
65
117
116
2021-01-05T17:25:45Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Namespace detect data --
-- This module holds data for [[Module:Namespace detect]] to be loaded per --
-- page, rather than per #invoke, for performance reasons. --
--------------------------------------------------------------------------------
local cfg = require('Module:Namespace detect/config')
local function addKey(t, key, defaultKey)
if key ~= defaultKey then
t[#t + 1] = key
end
end
-- Get a table of parameters to query for each default parameter name.
-- This allows wikis to customise parameter names in the cfg table while
-- ensuring that default parameter names will always work. The cfg table
-- values can be added as a string, or as an array of strings.
local defaultKeys = {
'main',
'talk',
'other',
'subjectns',
'demospace',
'demopage'
}
local argKeys = {}
for i, defaultKey in ipairs(defaultKeys) do
argKeys[defaultKey] = {defaultKey}
end
for defaultKey, t in pairs(argKeys) do
local cfgValue = cfg[defaultKey]
local cfgValueType = type(cfgValue)
if cfgValueType == 'string' then
addKey(t, cfgValue, defaultKey)
elseif cfgValueType == 'table' then
for i, key in ipairs(cfgValue) do
addKey(t, key, defaultKey)
end
end
cfg[defaultKey] = nil -- Free the cfg value as we don't need it any more.
end
local function getParamMappings()
--[[
-- Returns a table of how parameter names map to namespace names. The keys
-- are the actual namespace names, in lower case, and the values are the
-- possible parameter names for that namespace, also in lower case. The
-- table entries are structured like this:
-- {
-- [''] = {'main'},
-- ['wikipedia'] = {'wikipedia', 'project', 'wp'},
-- ...
-- }
--]]
local mappings = {}
local mainNsName = mw.site.subjectNamespaces[0].name
mainNsName = mw.ustring.lower(mainNsName)
mappings[mainNsName] = mw.clone(argKeys.main)
mappings['talk'] = mw.clone(argKeys.talk)
for nsid, ns in pairs(mw.site.subjectNamespaces) do
if nsid ~= 0 then -- Exclude main namespace.
local nsname = mw.ustring.lower(ns.name)
local canonicalName = mw.ustring.lower(ns.canonicalName)
mappings[nsname] = {nsname}
if canonicalName ~= nsname then
table.insert(mappings[nsname], canonicalName)
end
for _, alias in ipairs(ns.aliases) do
table.insert(mappings[nsname], mw.ustring.lower(alias))
end
end
end
return mappings
end
return {
argKeys = argKeys,
cfg = cfg,
mappings = getParamMappings()
}
d224f42a258bc308ef3ad8cc8686cd7a4f47d005
Module:Namespace detect/config
828
66
119
118
2021-01-05T17:25:46Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Namespace detect configuration data --
-- --
-- This module stores configuration data for Module:Namespace detect. Here --
-- you can localise the module to your wiki's language. --
-- --
-- To activate a configuration item, you need to uncomment it. This means --
-- that you need to remove the text "-- " at the start of the line. --
--------------------------------------------------------------------------------
local cfg = {} -- Don't edit this line.
--------------------------------------------------------------------------------
-- Parameter names --
-- These configuration items specify custom parameter names. Values added --
-- here will work in addition to the default English parameter names. --
-- To add one extra name, you can use this format: --
-- --
-- cfg.foo = 'parameter name' --
-- --
-- To add multiple names, you can use this format: --
-- --
-- cfg.foo = {'parameter name 1', 'parameter name 2', 'parameter name 3'} --
--------------------------------------------------------------------------------
---- This parameter displays content for the main namespace:
-- cfg.main = 'main'
---- This parameter displays in talk namespaces:
-- cfg.talk = 'talk'
---- This parameter displays content for "other" namespaces (namespaces for which
---- parameters have not been specified):
-- cfg.other = 'other'
---- This parameter makes talk pages behave as though they are the corresponding
---- subject namespace. Note that this parameter is used with [[Module:Yesno]].
---- Edit that module to change the default values of "yes", "no", etc.
-- cfg.subjectns = 'subjectns'
---- This parameter sets a demonstration namespace:
-- cfg.demospace = 'demospace'
---- This parameter sets a specific page to compare:
cfg.demopage = 'page'
--------------------------------------------------------------------------------
-- Table configuration --
-- These configuration items allow customisation of the "table" function, --
-- used to generate a table of possible parameters in the module --
-- documentation. --
--------------------------------------------------------------------------------
---- The header for the namespace column in the wikitable containing the list of
---- possible subject-space parameters.
-- cfg.wikitableNamespaceHeader = 'Namespace'
---- The header for the wikitable containing the list of possible subject-space
---- parameters.
-- cfg.wikitableAliasesHeader = 'Aliases'
--------------------------------------------------------------------------------
-- End of configuration data --
--------------------------------------------------------------------------------
return cfg -- Don't edit this line.
0e4ff08d13c4b664d66b32c232deb129b77c1a56
Module:Yesno
828
67
121
120
2021-01-05T17:25:47Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to the template {{yesno}}.
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you
-- should replace "val:lower()" with "mw.ustring.lower(val)" in the
-- following line.
val = type(val) == 'string' and val:lower() or val
if val == nil then
return nil
elseif val == true
or val == 'yes'
or val == 'y'
or val == 'true'
or val == 't'
or tonumber(val) == 1
then
return true
elseif val == false
or val == 'no'
or val == 'n'
or val == 'false'
or val == 'f'
or tonumber(val) == 0
then
return false
else
return default
end
end
12981c9a31eb2b0af1be4f16fc0642e180eac8c2
Template:Documentation subpage
10
68
123
122
2021-01-05T17:25:47Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><!--
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
| <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
</includeonly><!--
-->{{#ifeq:{{{doc-notice|show}}} |show
| {{Mbox
| type = notice
| style = margin-bottom:1.0em;
| image = [[File:Edit-copy green.svg|40px|alt=|link=]]
| text =
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
}}
}}<!--
-->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
-->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
| <includeonly><!--
-->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
| [[Category:Documentation subpages without corresponding pages]]
}}<!--
--></includeonly>
}}<!--
(completing initial #ifeq: at start of template:)
--><includeonly>
| <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}<!--
--></includeonly><noinclude>{{Documentation}}</noinclude>
a1dda2f5e5ddf9097546af5acd7a7bad14fdac9d
Template:!-
10
69
125
124
2021-01-05T17:25:48Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
|-<noinclude>
{{documentation}}
</noinclude>
19a1b27b5273caa6fd83a1208fb704afa9ee7c04
Template:Begin box
10
70
127
126
2021-01-05T17:25:48Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><div style="width:{{{width|auto}}};margin-bottom:1.25em;border:1px solid #{{#switch:{{{1|}}}|blue=8898BF|green=97BF87|yellow=AAAA66|gold=777777|orange=AA8833|violet=7755AA|salmon=AA8866|tan=AA9955|emerald=88BB55|darkblue=1144AA|red=AA8866|scarlet=AAAAAA|transp=transparent|#default=AAAAAA}}; background:{{{back|transparent}}};padding:0">
<div style="height:{{{hauteur|8px}}};margin:{{{margindiv|0}}};border:0;border-bottom:1px solid #{{#switch:{{{1|}}}|blue=8898BF|green=97BF87|yellow=AAAA66|gold=777777|orange=AA8833|violet=7755AA|salmon=AA8866|tan=AA9955|emerald=88BB55|darkblue=1144AA|red=AA8866|scarlet=AAAAAA|transp=transparent|#default=AAAAAA}};background: #{{#switch:{{{1|}}}|blue=C8D8FF|green=D7FFC7|yellow=FFFFB9|gold=FFE040|orange=FFDD88|violet=C9AEF1|salmon=FBDFBE|tan=F1E2AE|emerald=99CC66|darkblue=003399|red=FFDAB9|scarlet=FF3333|transp=transparent|#default=E0E0E0}};font-size:1px"></div>
<div style="padding:5px;padding-bottom:{{{2|5}}}px;font-size:{{{font|small}}}"></includeonly><noinclude>
{{Documentation}}
[[fr:Modèle:Début cadre]]
</noinclude>
eff7bf3df9c4b3e7f84949add291611946fb3b41
Template:Begin box/doc
10
71
129
128
2021-01-05T17:25:48Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{Template imported from Wikipedia in French
|adaptation=page
}}
This Template draws a box with a colored border. It must be associated with: {{Tl|End box}}.
Le premier paramètre (optionnel) peut être : bleu, vert, jaune, or, orange, violet, saumon, sable, vertmoyen, bleufoncé, rouge, écarlate, et par défaut, gris.
----
{|width="100%" cellspacing="8" cellpadding="0"
|-
|width="20%"|{{Begin box|blue}}<nowiki>{{</nowiki>Begin box|blue}}<br>...<br><nowiki>{{End box}}</nowiki>{{End box}}
|width="20%"|{{Begin box|green}}<nowiki>{{</nowiki>Begin box|green}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|yellow}}<nowiki>{{</nowiki>Begin box|yellow}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|gold}}<nowiki>{{</nowiki>Begin box|gold}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|orange}}<nowiki>{{</nowiki>Begin box|orange}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|-
|width="20%"|{{Begin box|violet}}<nowiki>{{</nowiki>Begin box|violet}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|salmon}}<nowiki>{{</nowiki>Begin box|salmon}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|tan}}<nowiki>{{</nowiki>Begin box|tan}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|emerald}}<nowiki>{{</nowiki>Begin box|emerald}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|
|-
|width="20%"|{{Begin box|darkblue}}<nowiki>{{</nowiki>Begin box|darkblue}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|red}}<nowiki>{{</nowiki>Begin box|red}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|scarlet}}<nowiki>{{</nowiki>Begin box|scarlet}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box|transp}}<nowiki>{{</nowiki>Begin box|transp}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="20%"|{{Begin box}}<nowiki>{{</nowiki>Begin box}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|}
D’autre part, la couleur du fond, par défaut « transparent », peut être changée en utilisant l’argument fond=''couleur'' (couleur en anglais). Exemple :
{|width="100%" cellspacing="8" cellpadding="0"
|-
|width="25%"|{{Begin box|violet|back=lightblue}}<nowiki>{{</nowiki>Begin box|violet|back=lightblue}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="25%"|{{Begin box|darkblue|back=yellow}}<nowiki>{{</nowiki>Begin box|darkblue|back=yellow}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="25%"|{{Begin box|red|back=#CCFFFF}}<nowiki>{{</nowiki>Begin box|red|back=#CCFFFF}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|width="25%"|{{Begin box|transp|back=transparent}}<nowiki>{{</nowiki>Begin box|transp|back=transparent}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|}
De plus, la largeur, par défaut ''100%'', peut être changée en utilisant l’argument width=''largeur'''px''''' ou width=''largeur'''%'''''. Exemple :
{|width="100%" cellspacing="8" cellpadding="0"
|{{Begin box|violet|back=lightblue|width=400px}}<nowiki>{{</nowiki>Begin box|violet|back=lightblue|width=400px}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|-
|{{Begin box|darkblue|back=yellow|width=50%}}<nowiki>{{</nowiki>Begin box|darkblue|back=yellow|width=50%}}<br>...<br><nowiki>{{</nowiki>End box}}{{End box}}
|}
<includeonly>
[[Catégorie:Modèle cadre|{{PAGENAME}}]]
</includeonly>
3302d0f10c1f3ab939d99107981d0f3a1358fcb9
Template talk:Begin box
11
72
131
130
2021-01-05T17:25:48Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This template comes from French Wikipédia, first used in Wicri (fr) and now translated in English.
[[fr:Discussion Modèle:Début cadre]]
dbc4dcc7ad29541792da17b1eef3e37d86377ba1
Template:End box
10
73
133
132
2021-01-05T17:25:48Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly></div></div></includeonly><noinclude>
Must be used with [[:Template:Begin box]].
[[fr:Modèle:Fin cadre]]
</noinclude>
b6033f4489b6cdf9fcf6c6c1e615f6656d7cd9f4
Template:Ambox
10
74
135
134
2021-01-05T17:25:48Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|ambox}}{{#ifeq:{{{small}}}|left|[[Category:Articles using small message boxes]]}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
a2c8099e3f9edd2e67527dd554f50790a79fff03
Template:Ambox/doc
10
75
137
136
2021-01-05T17:25:49Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{High-risk| 1230000+ }}
{{Lua|Module:Message box}}
{{Mbox templates (small)}}
This is the {{tl|Ambox}} (['''A''']rticle ['''m''']essage ['''box''']) metatemplate.
It is used to build ''article message box'' templates such as {{tl|Underlinked}}. It offers several different colours, uses default images if no image parameter is given, and has some other features.
== Common parameters ==
The box below shows the most common parameters that are accepted by {{Tl|Ambox}}. The purpose of each is described below.
<pre>
{{Ambox
| name =
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| small = {{{small|}}}
| type =
| image =
| sect = {{{1|}}}
| issue =
| talk = {{{talk|}}}
| fix =
| date = {{{date|}}}
| cat =
| all =
}}
</pre>
=== ''name'' ===
The ''name'' parameter specifies the name of the template, without the Template namespace prefix. For example {{Tl|Underlinked}} specifies {{Para|name|Underlinked}}.
This parameter should be updated if the template is ever moved. The purpose of this parameter is twofold:
* If incorrectly [[Wikipedia:Substitution|substituted]], it allows the meta-template to notify the name of the template which has been substituted, which may help editors to fix the problem.
* It allows the template to have a more useful display on its template page, for example to show the date even when not specified, and to apply categorisation of the template itself.
=== ''subst'' ===
The ''subst'' parameter allows the meta-template to detect whether the template has been incorrectly substituted, and give an appropriate warning. It will also add such pages to [[:Category:Pages with incorrectly substituted templates]]. Just copy the code exactly as it appears in the box.
=== ''small'' ===
The ''small'' parameter should be passed through the template, as this will allow editors to use the small format by specifying {{para|small|left}} on an article:
{{Ambox|nocat=true|small=left|text=This is the small left-aligned Ambox format.}}
Otherwise the standard format will be produced:
{{Ambox|nocat=true|text=This is the standard Ambox format.}}
Other variations:
* For templates which should ''never'' be small, specify {{Para|small|no}} or do not pass the small parameter at all.
* For templates which should ''always'' be small, just specify {{Para|small|left}}.
* For templates which should ''default to small'', try {{para|small|<nowiki>{{{small|left}}}</nowiki>}}. This will allow an editor to override by using {{para|small|no}} on an article.
See {{sectionlink||sect}}, below, for information on how to limit {{para|small}} display to cases when the template is being used for a section instead of the whole article (recommended, to prevent inconsistent top-of-article display).
=== ''type'' ===
The ''type'' parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.
{{Ambox
|nocat=true
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion issues, such as {{tl|db-g1}} and {{tl|db-g3}}.
}}
{{Ambox
|nocat=true
| type = delete
| text = type=<u>delete</u> – Deletion issues, such as {{tl|article for deletion}} and {{tl|proposed deletion}}.
}}
{{Ambox
|nocat=true
| type = content
| text = type=<u>content</u> – Content issues, such as {{tl|POV}} and {{tl|globalize}}.
}}
{{Ambox
|nocat=true
| type = style
| text = type=<u>style</u> – Style issues, such as {{tl|cleanup}} and {{tl|underlinked}}.
}}
{{ambox
|nocat=true
| type = notice
| text = type=<u>notice</u> – Article notices, such as {{tl|current}} and {{tl|in use}}.
}}
{{Ambox
|nocat=true
| type = move
| text = type=<u>move</u> – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to Wiktionary}}.
}}
{{Ambox
|nocat=true
| type = protection
| text = type=<u>protection</u> – Protection notices, such as {{tl|pp-vandalism}} and {{tl|pp-protected}}.
}}
If no ''type'' parameter is given the template defaults to {{para|type|notice}}.
=== ''image'' ===
You can choose a specific image to use for the template by using the ''image'' parameter. Images are specified using the standard syntax for inserting files in Wikipedia (see [[Wikipedia:Manual of Style/Images#How to place an image]].) Widths of 40-50px are typical. For example:
* {{Tl|POV}} specifies {{Para|image|<nowiki>[[File:Unbalanced scales.svg|40px|link=|alt=]]</nowiki>}} and looks like this:
{{POV|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* {{tl|underlinked}} specifies {{para|image|<nowiki>[[File:Ambox wikify.svg|50x40px|link=|alt=]]</nowiki>}} and looks like this:
{{underlinked|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
Please note:
* If no image is specified then the default image corresponding to the ''type'' is used. (See [[#type]] above.)
* If {{para|image|none}} is specified, then no image is used and the text uses the whole message box area.
* If an icon is [[Wikipedia:Alternative text for images#Purely decorative images|purely decorative]] and also in the [[Wikipedia:Image use policy#Public_domain|public domain]], [[Wikipedia:Manual of Style/Accessibility|accessibility]] can be improved by suppressing the link to the file page by adding "{{para|link}}{{para|alt}}" as seen above.
=== ''sect'' ===
Many article message templates begin with the text '''This article ...''' and it is often desirable that this wording change to '''This section ...''' if the template is used on a section instead. The value of this parameter will replace the word "article". Various possibilities for use include: {{para|sect|list}}, {{para|sect|table}}, {{para|sect|"In popular culture" material}}, etc.
{{em|If using this feature, be sure to remove the first two words ("This article") from the template's text, otherwise it will be duplicated.}}
A common way to facilitate this functionality is to pass {{para|sect|<nowiki>{{{1|}}}</nowiki>}}. This will allow editors to type <kbd>section</kbd>, for example, as the first unnamed parameter of the template to change the wording. For example, {{tlx|Advert|section}} produces:
{{Advert|section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
Another approach is to pass {{para|sect|<nowiki>{{{section|{{{sect|}}}}}}</nowiki>}} to provide a named value. Another is to use {{tlx|Yesno}} to parse the value for a positive, and pass {{para|sect|section}} if true.
{{em|These approaches can be combined}}, and this is recommended. The following ready-to-use code:
{{block indent|1=<code><nowiki>| sect = {{#ifeq:{{yesno|def=|1={{{sect|{{{section}}}}}} }}|yes|section|{{{sect|{{{section|{{{1|}}}}}}}}} }}</nowiki></code>}}
enables the following:
* Any positive value that {{tlx|Yesno}} can detect will be used with the named parameter in the ambox-based template to get "section" instead of "article": {{para|section|y}}, {{para|sect|True}}, etc. It is recommended to allow both {{para|sect}} and {{para|section}} so that editors do not have to guess which one will work. The sample code above does this for you.
* Any other value passed, in any manner, will replace "article": {{para||section and its subsections}}, {{para|1|list}}, {{para|sect|section}}, {{para|section|table}}, etc.
It is also advisable to restrict use of the {{para|small}} parameter so that it is made contingent upon the template being applied to a section (or whatever) rather than the whole article, to prevent the small version of the template being used at the top of the article where it would be inconsistent with other article-wide cleanup/dispute banners:
{{block indent|1=<code><nowiki>| small = {{#if:{{{sect|{{{section|{{{1|}}}}}}}}}|{{#if:{{{small|{{{left|}}}}}}|left}} }}</nowiki></code>}}
(In this case, any value of {{para|small}} or {{para|left}} will trigger the small, left display, as long as some value of {{para|sect}} or one of its aliases in that template has also been provided.) This code can be copy-pasted and used with the above code block. See, e.g., [[Template:Trivia]] and its [[Template:Trivia/testcases]] to observe the combined functionality.
=== ''issue'' and ''fix'' ===
The ''issue'' parameter is used to describe the issue with the article. Try to keep it short and to-the-point (approximately 10-20 words) and be sure to include a link to a relevant [[Wikipedia:Policies and guidelines|policy or guideline]].
The ''fix'' parameter contains some text which describes what should be done to improve the article. It may be longer than the text in ''issue'', but should not usually be more than two sentences.
When the template is in its compact form (when placed inside {{tl|multiple issues}}) or small form (when using {{para|small|left}}), the ''issue'' is the only text that will be displayed. For example, {{Tl|Citation style}} defines
* <code>|issue=<nowiki>This article '''has an unclear citation style'''.</nowiki></code>
* <code>|fix=<nowiki>The references used may be made clearer with a different or consistent style of [[Wikipedia:Citing sources|citation]], [[Wikipedia:Footnotes|footnoting]], or [[Wikipedia:External links|external linking]].</nowiki></code>
When used stand-alone it produces the whole text:
{{Citation style|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
But when used inside {{Tl|Multiple issues}} or with {{Para|small|left}} it displays only the issue:
{{Multiple issues <!-- Even though there's only one "issue", please don't remove this {{Multiple issues}} template. It is a demonstration of the formatting. --> |{{Citation style|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}}}
{{Citation style|small=left|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
=== ''talk'' ===
Some article message templates include a link to the talk page, and allow an editor to specify a section heading to link directly to the relevant section. To achieve this functionality, simply pass the ''talk'' parameter through, i.e. {{para|talk|<nowiki>{{{talk|}}}</nowiki>}}
This parameter may then be used by an editor as follows:
* {{para|talk|SECTION HEADING}} - the link will point to the specified section on the article's talk page, e.g. {{para|talk|Foo}}
* {{para|talk|FULL PAGE NAME}} - the template will link to the page specified (which may include a [[Help:Link#Section linking (anchors)|section anchor]]), e.g. {{para|talk|Talk:Banana#Foo}}
Notes:
* When this parameter is used by a template, the talk page link will appear on the template itself (in order to demonstrate the functionality) but this will only display on articles if the parameter is actually defined.
* In order to make sure there is always a link to the talk page, you can use {{para|talk|<nowiki>{{{talk|#}}}</nowiki>}}.
* If the talk page does not exist, there will be no link, whatever the value of the parameter.
=== ''date'' ===
Passing the ''date'' parameter through to the meta-template means that the date that the article is tagged may be specified by an editor (or more commonly a [[Wikipedia:Bots|bot]]). This will be displayed after the message in a smaller font.
Passing this parameter also enables [[:Category:Wikipedia maintenance categories sorted by month|monthly cleanup categorisation]] when the ''cat'' parameter is also defined.
=== ''info'' ===
This parameter is for specifying additional information. Whatever you add here will appear after the date, and will not be displayed if the template is being wrapped in {{tl|multiple issues}}.
=== ''removalnotice'' ===
If you specify {{para|removalnotice|yes}}, then the following notice will be displayed after the date and after the ''info'' text:
* <small>[[Help:Maintenance template removal|Learn how and when to remove this template message]].</small>
This will not be displayed if the template is being wrapped in {{tl|multiple issues}}.
=== ''cat'' ===
This parameter defines a monthly cleanup category. If {{para|cat|CATEGORY}} then:
* articles will be placed in '''Category:CATEGORY from DATE''' if {{para|date|DATE}} is specified.
* articles will be placed in '''Category:CATEGORY''' if the date is not specified.
For example, {{Tl|No footnotes}} specifies {{Para|cat|Articles lacking in-text citations}} and so an article with the template {{Tlx|No footnotes|2=date=June 2010}} will be placed in [[:Category:Articles lacking in-text citations from June 2010]].
The ''cat'' parameter should not be linked, nor should the prefix <code>Category:</code> be used.
=== ''all'' ===
The ''all'' parameter defines a category into which all articles should be placed.
The ''all'' parameter should not be linked, nor should the prefix <code>Category:</code> be used.
== Other parameters ==
The box on the right shows all possible parameters for this template. However, it is not recommended to copy this, because it will never be required to use all parameters simultaneously.
{| class="wikitable" align="right" style="background:transparent; width=40%"
!All parameters
|-
|<pre style="font-size:90%; width=40%">
{{Ambox
| name =
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| small = {{{small|}}}
| type =
| image =
| imageright =
| smallimage =
| smallimageright =
| class =
| style =
| textstyle =
| sect = {{{1|}}}
| issue =
| talk = {{{talk|}}}
| fix =
| date = {{{date|}}}
| text =
| smalltext =
| plainlinks = no
| cat =
| all =
| cat2 =
| all2 =
| cat3 =
| all3 =
}}<noinclude>
{{Documentation}}
</noinclude>
</pre>
|}
=== ''imageright'' ===
An image on the right side of the message box may be specified using this parameter. The syntax is the same as for the ''image'' parameter, except that the default is no image.
=== ''smallimage'' and ''smallimageright'' ===
Images for the small format box may be specified using these parameters. They will have no effect unless {{para|small|left}} is specified.
=== ''class'' ===
A custom [[Cascading Style Sheets|CSS]] class to apply to the box.
=== ''style'' and ''textstyle'' ===
Optional CSS values may be defined, without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>.
* ''style'' specifies the style used by the entire message box table.
* ''textstyle'' relates to the text cell.
=== ''text'' and ''smalltext'' ===
Instead of specifying the ''issue'' and the ''fix'' it is possible to use the ''text'' parameter instead.
Customised text for the small format can be defined using ''smalltext''.
=== ''plainlinks'' ===
Normally on Wikipedia, external links have an arrow icon next to them, like this: [http://www.example.com Example.com]. However, in message boxes, the arrow icon is suppressed by default, like this: <span class="plainlinks">[http://www.example.com Example.com]</span>. To get the normal style of external link with the arrow icon, use {{para|plainlinks|no}}.
=== Additional categorisation parameters ===
* ''cat2'' and ''cat3'' provide additional monthly categories; see [[#cat]].
* ''all2'' and ''all3'' provide additional categories into which all articles are placed, just like [[#all]].
== Technical notes ==
* This meta-template uses the ambox CSS classes in [[MediaWiki:Common.css]]. The classes can also be used directly in a [[Help:Table|wikitable]] if special functionality is needed. See the [[Wikipedia:Ambox classes|how-to guide]] for that.
* If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{Ambox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe &#124; and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{Ambox
|nocat=true
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe | and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
* The <code><div></code> tags that surround the text in the example above are usually not needed. But if the text contains line breaks then sometimes we get weird line spacing. This especially happens when using vertical dotted lists. Then use the div tags to fix that.
* This template uses CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
* This template calls [[Module:Message box]] which holds most of the code for {{Tl|Ambox}}, while {{Tl|Ambox}} itself does parameter preprocessing.
* Internally, this meta-template uses HTML markup instead of wikimarkup for the table code. That is the usual way meta-templates are made, since wikimarkup has several drawbacks. For instance, it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and some special characters in parameters.
* The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.
* For more technical details see the [[Template talk:Ambox|talk page]] and the "See also" links below. Since this template works almost exactly like {{Tl|Tmbox}}, {{Tl|Imbox}}, {{Tl|Cmbox}} and {{Tl|Ombox}} their talk pages and related pages might also contain more details.
== See also ==
{{Mbox templates see also}}
Other pages:
* [[Wikipedia:Ambox CSS classes]] – Describes how to use the ambox CSS classes directly in [[Help:Table|wikitable]]s and [[HTML element#Tables|HTML tables]].
* [[Wikipedia:Article message boxes]] – The style guideline for creating article message boxes.
* [[Wikipedia talk:Article message boxes]] – For discussion about these matters.
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Article message templates| ]]
[[Category:Mbox and messagebox templates]]
[[Category:Exclude in print]]
}}</includeonly>
f25141c44ee33463084218861ead9bf997f2a5b5
Template:Ambox/core
10
76
139
138
2021-01-05T17:25:49Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}" role="presentation">
<tr>{{#switch:{{{image|}}}
|blank
|none = <td class="mbox-empty-cell"></td>
|#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}}
|{{{image}}}
|[[File:{{#switch:{{{type|}}}
|speedy = Ambox speedy deletion.png
|delete = Ambox deletion.png
|content = Ambox content.png
|style = Edit-clear.svg
|move = Ambox move.png
|protection = Ambox protection.png
|notice|#default = Ambox notice.png
}}|40x40px|link=|alt=]]
}}</div></td>
}}<td class="mbox-text" style="{{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}<span class="hide-when-compact"> {{#if:{{{talk|}}}
|{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
|{{{talk}}}
|{{TALKPAGENAME}}
}}
| Relevant discussion may be found on {{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
|[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]]
|the [[{{TALKPAGENAME}}#{{{talk}}}|talk page]]
}}.
}}
}} {{{fix|}}}</span>{{#if:{{{date|}}}
| <small>''({{{date}}})''</small>
}}<span class="hide-when-compact"> {{{info|}}}</span></span></td>{{#switch:{{{imageright|}}}
|none =
|=
|#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td>
}}</tr></table><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
23f5ada43b086478b9c9047a6563e7eb4b8debea
Template:Ombox
10
77
141
140
2021-01-05T17:25:50Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|ombox}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
0e54065432d540737b9e56c4e3a8e7f74d4534ea
Template:Ombox/doc
10
78
143
142
2021-01-05T17:25:50Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{High-risk|430,000+}}
{{used in system}}
{{Lua|Module:Message box}}
{{intricate template}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
{{Mbox templates (small)}}
This is the {{tl|Ombox}} (['''O''']ther pages ['''m''']essage ['''box''']) metatemplate.
It is used to build message box templates for pages of the types User, Wikipedia, MediaWiki, Template, Help, Portal and any new future namespaces; i.e. for page types not covered by {{tl|Ambox}}, {{tl|Tmbox}}, {{tl|Imbox}} or {{tl|Cmbox}}. Thus, it should ''not'' be used for boxes for articles, talk pages, image pages or category pages.
This template works almost exactly like {{tl|Ambox}} and uses the same parameters.
=== Introduction ===
{{anchor|We are deploying!}}
As noted above, this template should be used for message boxes that are not articles, talk pages, image pages or category pages. Some message boxes for other pages may incorrectly use one of those four mentioned. Feel free to convert any message boxes used on "other pages" to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.
When this template is used to build other pages message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here.
=== Usage ===
Simple usage example:
<pre>
{{ombox | text = Some text.}}
</pre>
{{ombox | text = Some text.}}
{{clear}}
Complex example:
<pre>
{{ombox
| type = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
</pre>
{{ombox
| type = style
| image = [[Image:Emblem-question-yellow.svg|40px]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = The message body text.
}}
{{clear}}
=== Other pages message box types ===
The following examples use different '''type''' parameters but use no image parameters; thus, they use the default images for each type.
{{ombox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates.
}}
{{ombox
| type = delete
| text = type=<u>delete</u> – Deletion templates.
}}
{{ombox
| type = content
| text = type=<u>content</u> – Major warnings and problems, such as {{tl|high-risk}}.
}}
{{ombox
| type = style
| text = type=<u>style</u> – Minor warnings and problems. {{tl|intricate}} should perhaps use this type.
}}
{{ombox
| type = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary. Such as {{tl|guideline}} and {{tl|Wikipedia how to}}.
}}
{{ombox
| type = move
| text = type=<u>move</u> – Merge, split, rename and transwiki messages and proposals.
}}
{{ombox
| type = protection
| text = type=<u>protection</u> – Protection templates such as {{tl|pp-protected}} when shown on "other pages".
}}
=== Examples ===
Some examples using the "notice" style:
{{ombox
| text = No type and no image given ('''default''')
}}
{{ombox
| image = none
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{ombox
| image = [[Image:Gnome globe current event.svg|42px]]
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]
| text = image = <nowiki>[[Image:Gnome globe current event.svg|42px]]</nowiki> <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.svg|40px]]</nowiki>
}}
{{ombox
| type = notice
| image = [[Image:Blue check.svg|30px]]
| imageright = {{shortcut|WP:SHORT}}
| text =
'''This page documents an English Wikipedia [[Wikipedia:Policies and guidelines|guideline]].''' It is a generally accepted standard that editors should follow, though it should be treated with [[Wikipedia:Use common sense|common sense]] and the [[Wikipedia:Ignore all rules|occasional exception]]. When editing this page, please ensure that your revision reflects [[Wikipedia:Consensus|consensus]]. When in doubt, discuss on the [[{{TALKPAGENAME}}|talk page]].
}}
{{ombox
| type = notice
| image = [[Image:Nutshell.png|30px]]
| text =
'''This page in a nutshell:''' This template is used to build message boxes for all pages that are ''not'' articles, talk pages, image pages or category pages.
}}
=== Parameters ===
List of all parameters:
<pre>
{{ombox
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| plainlinks = no
| text = The message body text.
| small = {{{small|}}} / yes
| smallimage = none / [[Image:Some image.svg|30px]]
| smallimageright = none / [[Image:Some image.svg|30px]]
| smalltext = A shorter message body text.
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a gray border.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[Image:Crystal package settings.png|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''style'''
:Optional [[Cascading Style Sheets|CSS]] values used by the entire message box table. Without quotation marks <code>" "</code> but with the ending semicolons <code>;</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
'''textstyle'''
:Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''plainlinks'''
:Normally on Wikipedia, external links have an arrow icon next to them, like this: [http://www.example.com Example.com]. However, in message boxes, the arrow icon is suppressed by default, like this: <span class="plainlinks">[http://www.example.com Example.com]</span>. To get the normal style of external link with the arrow icon, use {{para|plainlinks|no}}.
'''text'''
:The message body text.
==== The small parameters ====
{{ombox
| small = yes
| text = small = yes
}}
{{ombox
| type = style
| small = yes
| text = type = style <br> small = yes
}}
'''small'''
:'''yes''' = Makes it a smaller right floating message box. This also makes the default images smaller. Note that any data fed to the '''smallimage''', '''smallimageright''' and '''smalltext''' parameters is only used if "small=yes". To make it so your template also understands the small parameter you can use this code:
::<code><nowiki>small = {{{small|}}}</nowiki></code>
{{ombox
| small = yes
| image = [[Image:Replacement filing cabinet.svg|50px]]
| smallimage = [[Image:Replacement filing cabinet.svg|32px]]
| text =
small = yes <br> image = <nowiki>[[Image:Replacement filing cabinet.svg|50px]]</nowiki> <br> smallimage = <nowiki>[[Image:Replacement filing cabinet.svg|32px]]</nowiki>
}}
'''smallimage'''
:'''No parameter''' = If no '''smallimage''' parameter is given then this template falls back to use the '''image''' parameter. If the '''image''' parameter also is empty then a small default image is used.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimage = [[Image:Replacement filing cabinet.svg|30px]]</nowiki></code>
:'''none''' = Means that no image is used. This overrides any image fed to '''image''', when "small=yes".
{{ombox
| small = yes
| imageright = [[Image:Nuvola apps bookcase.png|50px]]
| smallimageright = none
| text =
small = yes <br> imageright = <nowiki>[[Image:Nuvola apps bookcase.png|50px]]</nowiki> <br> smallimageright = none
}}
'''smallimageright'''
:'''No parameter''' = If no '''smallimageright''' parameter is given then this template falls back to use the '''imageright''' parameter. If the '''imageright''' parameter also is empty then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 30px width is usually about right. For example:
::<code><nowiki>smallimageright = [[Image:Nuvola apps bookcase.png|30px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
:'''none''' = Means that no right side image is used. This overrides any image fed to '''imageright''', when "small=yes".
'''smalltext'''
:A shorter version of the message body text. If no '''smalltext''' parameter is given then this template falls back to use the '''text''' parameter.
=== Technical details ===
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{ombox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{ombox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
This template uses the ombox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
This template calls {{tl|ombox/core}} which holds most of the code for {{tl|ombox}}, while {{tl|ombox}} itself does parameter preprocessing.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.
For more technical details see the [[Template talk:Ombox|talk page]]. Since this template works almost exactly like {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}} and {{tl|cmbox}} their talk pages and related pages might also contain more details.
===See also===
{{Mbox templates see also}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Mbox and messagebox templates]]
[[Category:Exclude in print]]
}}</includeonly>
795df1a7a5319d2ec4f91d1b911c37be45353dff
Template:Ombox/core
10
79
145
144
2021-01-05T17:25:51Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}
{{#switch:{{{type|}}}
| speedy = ombox-speedy
| delete = ombox-delete
| content = ombox-content
| style = ombox-style
| move = ombox-move
| protection = ombox-protection
| notice <!-- notice = default -->
| #default = ombox-notice
}} {{{class|}}}" style="{{{style|}}}" role="presentation">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| [[Image:{{#switch:{{{type|}}}
| speedy = Imbox speedy deletion.png
| delete = Imbox deletion.png
| content = Imbox content.png
| style = Edit-clear.svg
| move = Imbox move.png
| protection = Imbox protection.png
| notice <!-- notice = default -->
| #default = Imbox notice.png
}} | {{#ifeq:{{{small|}}}|yes
| 30x30px
| 40x40px
}}|link=|alt=]]
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
}}
</tr>
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
338abffb76ddab754db12b7c335fbe7f0a1677db
Template:Imbox
10
80
147
146
2021-01-05T17:25:51Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|imbox}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
4d46e2eee16ad5fba44d200a3b26b401f2fd6710
Template:Imbox/doc
10
81
149
148
2021-01-05T17:25:52Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<includeonly>{{High-risk| 850,000+ }}</includeonly>
{{Lua|Module:Message box}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Mbox templates (small)}}
This is the {{tl|Imbox}} (['''I''']mage ['''m''']essage ['''box''']) metatemplate.
It is used to build message box templates for file (image) pages, such as {{tl|cleanup-image}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features.
This template works almost exactly like {{tl|Ambox}} and uses the same parameters.
<!--
===We are deploying!===
After long discussion on the [[Template talk:Imbox|talk page]] of this template and at other places we are finally deploying this template. Feel free to convert any message boxes used on file pages to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.
When this template is used to build image message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here.
-->
===Usage===
Simple usage example:
<pre>
{{Imbox |text=Some text.}}
</pre>
{{Imbox |text=Some text.}}
Complex example:
<pre>
{{Imbox
| type = style
| style = width:400px;
| image = [[File:Emblem-question-yellow.svg|40px]]
| textstyle = font-style:italic; font-weight:bold; color:red;
| text = The message body text.
}}
</pre>
{{Imbox
| type = style
| style = width:400px;
| image = [[File:Emblem-question-yellow.svg|40px]]
| textstyle = font-style:italic; font-weight:bold; color:red;
| text = The message body text.
}}
===Image message box types===
The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type.
{{Imbox
| type = speedy
| text = type=<u>speedy</u> – Speedy deletion templates such as {{tl|isd}}.
}}
{{Imbox
| type = delete
| text = type=<u>delete</u> – Deletion templates such as {{tl|ifd}}.
}}
{{Imbox
| type = content
| text = type=<u>content</u> – Major warnings and problems, such as {{tl|non-free reduce}}.
}}
{{Imbox
| type = style
| text = type=<u>style</u> – Minor warnings and problems, such as {{tl|cleanup-image}}.
}}
{{Imbox
| type = notice
| text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary.
}}
{{Imbox
| type = move
| text = type=<u>move</u> – Move and rename messages and proposals, such as {{tl|Requested move}}.
}}
{{Imbox
| type = protection
| text = type=<u>protection</u> – Protection templates such as {{tl|pp-protected}} when shown on an image page.
}}
{{Imbox
| type = license
| text = type=<u>license</u> – License templates such as {{tl|GFDL}}.
}}
{{Imbox
| type = featured
| text = type=<u>featured</u> – Featured image templates such as {{tl|FeaturedPicture}}.
}}
===Other images===
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the '''image''' parameter to specify an image other than the default images.
{{Imbox
| type = style
| image = [[File:Gnome-dev-camera.svg|42px]]
| text = type = style<br/>image = <nowiki>[[File:Gnome-dev-camera.svg|42px]]</nowiki><br/>This image is used for {{tl|cleanup-image}}.
}}
{{Imbox
| type = move
| image = [[File:To Commons.svg|52px]]
| text = type = move<br/>image = <nowiki>[[File:To Commons.svg|52px]]</nowiki><br/>This image is used for {{tl|copy to Wikimedia Commons}}.
}}
{{Imbox
| type = license
| image = [[File:Heckert GNU white.svg|48px]]
| text = type = license<br/>image = <nowiki>[[File:Heckert GNU white.svg|48px]]</nowiki><br/>This image is used for the GFDL license templates such as {{tl|GFDL}}.
}}
===Special===
Some other parameter combinations.
{{Imbox
| text = No type and no image given ('''default''')
}}
{{Imbox
| image = none
| text = No type and '''image=none''' – No image is used and the '''text''' uses the whole message box area.
}}
{{Imbox
| type = license
| image = [[File:Imbox license.svg|40px]]<br/>[[File:Ambox warning yellow.svg|40px]]
| imageright = [[File:Shuttle.svg|30px]]
| text = type = license<br/>image = <nowiki>[[File:Imbox license.svg|40px]]<br/>[[File:Ambox warning yellow.svg|40px]]</nowiki><br/>imageright = <nowiki>[[File:Shuttle.svg|30px]]</nowiki>
}}
{{Imbox
| type = license
| image = [[File:Imbox license.svg|40px]]<br/>[[File:Ambox warning yellow.svg|40px]]
| imageright = [[File:Shuttle.svg|30px]]
| text = '''This file is in the [[public domain]] because it was created by [[NASA]].'''<br/>Note that use of NASA logos, insignia and emblems are restricted per US law.
}}
{{Imbox
| type = license
| image = [[File:Imbox license.svg|40px]]
| text =
type = license<br/>image = <nowiki>[[File:Imbox license.svg|40px]]</nowiki><br/>below = <nowiki>{{Imbox |type=content |text='''This license tag is deprecated!'''}}</nowiki>
| below = {{Imbox |type=content |text='''This license tag is deprecated!'''}}
}}
===Parameters===
List of all parameters:
<pre>
{{Imbox
| type = speedy / delete / content / style / notice /
move / protection / license / featured
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS value
| textstyle = CSS value
| text = The message body text.
| below = More text or another imbox.
| plainlinks = no
}}
</pre>
'''type'''
:If no '''type''' parameter is given the template defaults to type '''notice'''. That means it gets a blue border.
'''image'''
:'''No parameter''' = If no '''image''' parameter is given the template uses a default image. Which default image it uses depends on the '''type''' parameter.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>image = [[File:Gnome-dev-camera.svg|40px]]</nowiki></code>
:'''none''' = Means that no image is used.
'''imageright'''
:'''No parameter''' = If no '''imageright''' parameter is given then no image is shown on the right side.
:'''An image''' = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (But the message box can handle images of any size.) For example:
::<code><nowiki>imageright = [[File:Nuvola apps bookcase.png|40px]]</nowiki></code>
:'''Anything''' = Any other object that you want to show on the right side.
'''style'''
:An optional [[Cascading Style Sheets|CSS]] value used by the entire message box table. Without quotation marks <code>" "</code>. For example:
::<code>style = margin-bottom: 0.5em;</code>
'''textstyle'''
:An optional [[Cascading Style Sheets|CSS]] value used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''text'''
:The message body text.
'''below'''
:A full width area below the images and text area. Can take a text or any kind of object, for instance another imbox:
::<code><nowiki>below = {{Imbox |type=content |text=This license tag is deprecated.}}</nowiki></code>
'''plainlinks'''
:Defaults to yes. If external link arrows - [[File:External.svg|10px]] - are desired, specify:
::<code><nowiki>plainlinks = no</nowiki></code>
===Technical details===
Namespace "File:" was renamed to "File:" on 11 December 2008. This template was created long before that, and that is why it is named "imbox" as in "image message box".
If you need to use special characters in the text parameter then you need to escape them like this:
<pre>
{{Imbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
</pre>
{{Imbox
| text = <div>
Equal sign = and a start and end brace { } work fine as they are.
But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>.
And now a pipe and end braces <nowiki>|}}</nowiki>.
</div>
}}
This template uses the imbox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent png images. For those older browsers these png images have been modified so that the color of their default backgrounds match the background color of the template. The default background that MediaWiki renders for svg images is always white. This creates a white box around the images when displayed in older browsers.
For more technical details see the [[Template talk:Imbox|talk page]]. Since this template works almost exactly like the other mboxes their talk pages and related pages might also contain more details, see the "See also" section below.
===See also===
{{Mbox templates see also}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- CATEGORIES BELOW THIS LINE, PLEASE -->
[[Category:Mbox and messagebox templates]]
[[Category:File namespace templates|*]]
}}</includeonly>
e9ba27c948ec32049c8d1b7e4f065ab487e0f851
Template:Namespace detect
10
82
151
150
2021-01-05T17:25:52Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Namespace detect|main}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
3fab1d6b31536b0f9c4b4aad3d2240d90d5a6d22
Module:Namespace detect
828
83
153
152
2021-01-05T17:25:53Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--[[
--------------------------------------------------------------------------------
-- --
-- NAMESPACE DETECT --
-- --
-- This module implements the {{namespace detect}} template in Lua, with a --
-- few improvements: all namespaces and all namespace aliases are supported, --
-- and namespace names are detected automatically for the local wiki. The --
-- module can also use the corresponding subject namespace value if it is --
-- used on a talk page. Parameter names can be configured for different wikis --
-- by altering the values in the "cfg" table in --
-- Module:Namespace detect/config. --
-- --
--------------------------------------------------------------------------------
--]]
local data = mw.loadData('Module:Namespace detect/data')
local argKeys = data.argKeys
local cfg = data.cfg
local mappings = data.mappings
local yesno = require('Module:Yesno')
local mArguments -- Lazily initialise Module:Arguments
local mTableTools -- Lazily initilalise Module:TableTools
local ustringLower = mw.ustring.lower
local p = {}
local function fetchValue(t1, t2)
-- Fetches a value from the table t1 for the first key in array t2 where
-- a non-nil value of t1 exists.
for i, key in ipairs(t2) do
local value = t1[key]
if value ~= nil then
return value
end
end
return nil
end
local function equalsArrayValue(t, value)
-- Returns true if value equals a value in the array t. Otherwise
-- returns false.
for i, arrayValue in ipairs(t) do
if value == arrayValue then
return true
end
end
return false
end
function p.getPageObject(page)
-- Get the page object, passing the function through pcall in case of
-- errors, e.g. being over the expensive function count limit.
if page then
local success, pageObject = pcall(mw.title.new, page)
if success then
return pageObject
else
return nil
end
else
return mw.title.getCurrentTitle()
end
end
-- Provided for backward compatibility with other modules
function p.getParamMappings()
return mappings
end
local function getNamespace(args)
-- This function gets the namespace name from the page object.
local page = fetchValue(args, argKeys.demopage)
if page == '' then
page = nil
end
local demospace = fetchValue(args, argKeys.demospace)
if demospace == '' then
demospace = nil
end
local subjectns = fetchValue(args, argKeys.subjectns)
local ret
if demospace then
-- Handle "demospace = main" properly.
if equalsArrayValue(argKeys.main, ustringLower(demospace)) then
ret = mw.site.namespaces[0].name
else
ret = demospace
end
else
local pageObject = p.getPageObject(page)
if pageObject then
if pageObject.isTalkPage then
-- Get the subject namespace if the option is set,
-- otherwise use "talk".
if yesno(subjectns) then
ret = mw.site.namespaces[pageObject.namespace].subject.name
else
ret = 'talk'
end
else
ret = pageObject.nsText
end
else
return nil -- return nil if the page object doesn't exist.
end
end
ret = ret:gsub('_', ' ')
return ustringLower(ret)
end
function p._main(args)
-- Check the parameters stored in the mappings table for any matches.
local namespace = getNamespace(args) or 'other' -- "other" avoids nil table keys
local params = mappings[namespace] or {}
local ret = fetchValue(args, params)
--[[
-- If there were no matches, return parameters for other namespaces.
-- This happens if there was no text specified for the namespace that
-- was detected or if the demospace parameter is not a valid
-- namespace. Note that the parameter for the detected namespace must be
-- completely absent for this to happen, not merely blank.
--]]
if ret == nil then
ret = fetchValue(args, argKeys.other)
end
return ret
end
function p.main(frame)
mArguments = require('Module:Arguments')
local args = mArguments.getArgs(frame, {removeBlanks = false})
local ret = p._main(args)
return ret or ''
end
function p.table(frame)
--[[
-- Create a wikitable of all subject namespace parameters, for
-- documentation purposes. The talk parameter is optional, in case it
-- needs to be excluded in the documentation.
--]]
-- Load modules and initialise variables.
mTableTools = require('Module:TableTools')
local namespaces = mw.site.namespaces
local cfg = data.cfg
local useTalk = type(frame) == 'table'
and type(frame.args) == 'table'
and yesno(frame.args.talk) -- Whether to use the talk parameter.
-- Get the header names.
local function checkValue(value, default)
if type(value) == 'string' then
return value
else
return default
end
end
local nsHeader = checkValue(cfg.wikitableNamespaceHeader, 'Namespace')
local aliasesHeader = checkValue(cfg.wikitableAliasesHeader, 'Aliases')
-- Put the namespaces in order.
local mappingsOrdered = {}
for nsname, params in pairs(mappings) do
if useTalk or nsname ~= 'talk' then
local nsid = namespaces[nsname].id
-- Add 1, as the array must start with 1; nsid 0 would be lost otherwise.
nsid = nsid + 1
mappingsOrdered[nsid] = params
end
end
mappingsOrdered = mTableTools.compressSparseArray(mappingsOrdered)
-- Build the table.
local ret = '{| class="wikitable"'
.. '\n|-'
.. '\n! ' .. nsHeader
.. '\n! ' .. aliasesHeader
for i, params in ipairs(mappingsOrdered) do
for j, param in ipairs(params) do
if j == 1 then
ret = ret .. '\n|-'
.. '\n| <code>' .. param .. '</code>'
.. '\n| '
elseif j == 2 then
ret = ret .. '<code>' .. param .. '</code>'
else
ret = ret .. ', <code>' .. param .. '</code>'
end
end
end
ret = ret .. '\n|-'
.. '\n|}'
return ret
end
return p
a4757000273064f151f0f22dc0e139092e5ff443
Template:Namespace detect/doc
10
84
155
154
2021-01-05T17:25:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{High-use|58000+}}
{{Lua|Module:Namespace detect}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
This is the {{tl|Namespace detect}} meta-template. It helps other templates detect what type of page they are on.
It detects and groups all the different [[Wikipedia:Namespace#Enumeration|namespaces]] used on Wikipedia into several types:
; main : Main (i.e. article) space, where normal Wikipedia articles are kept.
; talk : Any talk space, including page names that start with "Talk:", "User talk:", "File talk:", etc.
'''{{hlist|user|wikipedia|file|mediawiki|template|help|category|portal|book}}'''
: The remaining namespaces.
; other : Any namespaces that were not specified as a parameter to the template (see explanation below).
For backwards compatibility, this template handles '''image''' as if '''file'''. '''image''' (<nowiki>[[Image:...]]</nowiki>) is now deprecated.
'''Note:''' For most cases it may be better to use the simpler namespace detection templates (see the [[#See also|see also]] section below). This template is more prone to human errors such as misspelling parameter names.
== Usage ==
This template takes one or more parameters named after the different page types as listed above. Like this:
<pre>
{{Namespace detect
| main = Article text
| talk = Talk page text
| other = Other pages text
}}
</pre>
If the template is on a main (article) page, it will return this:
: {{Namespace detect |demospace=main
| main = Article text
| talk = Talk page text
| other = Other pages text
}}
If the template is on any other page than an article or a talk page, it will return this:
: {{Namespace detect
| main = Article text
| talk = Talk page text
| other = Other pages text
}}
The example above made the template return something for all page types. But if we don't use the '''other''' parameter or leave it empty, it will not return anything for the other page types. Like this:
<pre>
{{Namespace detect
| file = File page text
| category = Category page text
| other =
}}
</pre>
On any pages other than file and category pages the code above will render nothing.
<!-- Do not remove this one. It is supposed to render nothing, but we have it here for testing purposes. -->
: {{Namespace detect
| file = File page text
| category = Category page text
| other =
}}
By using an empty parameter, you can make it so the template doesn't render anything for some specific page type. Like this:
<pre>
{{Namespace detect
| main =
| other = Other pages text
}}
</pre>
The code above will render nothing when on mainspace (article) pages, but will return this when on other pages:
: {{Namespace detect
| main =
| other = Other pages text
}}
== Demospace and page ==
For testing and demonstration purposes, this template can take two parameters named '''demospace''' and '''page'''.
'''demospace''' understands any of the page type names used by this template, including the '''other''' type. It tells the template to behave like it is on some specific type of page. Like this:
<pre>
{{Namespace detect
| main = Article text
| other = Other pages text
| demospace = main
}}
</pre>
No matter on what kind of page the code above is used, it will return this:
: {{Namespace detect
| main = Article text
| other = Other pages text
| demospace = main
}}
The '''page''' parameter instead takes a normal pagename, making this template behave exactly as if on that page. The pagename doesn't have to be an existing page. Like this:
<pre>
{{Namespace detect
| user = User page text
| other = Other pages text
| page = User:Example
}}
</pre>
No matter on what kind of page the code above is used, it will return this:
: {{Namespace detect
| user = User page text
| other = Other pages text
| page = User:Example
}}
It can be convenient to let your template understand the '''demospace''' and/or '''page''' parameter and send it on to the {{tl|Namespace detect}} template. Like this:
<pre>
{{Namespace detect
| main = Article text
| other = Other pages text
| demospace = {{{demospace|}}}
| page = {{{page|}}}
}}
</pre>
If both the '''demospace''' and '''page''' parameters are empty or undefined, the template will detect page types as usual.
== Parameters ==
List of all parameters:
<pre>
{{Namespace detect
| main =
...
| other =
| demospace = {{{demospace|}}} / main / talk / user /
wikipedia / file / mediawiki / template /
help / category / portal / book / other
| page = {{{page|}}} / User:Example
}}
</pre>
Note: Empty values to the "main" ... "book" parameters have special meaning.
== Technical details ==
Namespace "Image" was renamed to "File" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine. For backwards compatibility it still understands "image" both as a parameter name, such as "image = File page text", and as a value "demospace = image".
Namespace "Book" was added to the English Wikipedia on 28 December 2009. This template has been updated so it detects the "Book:" namespace as type '''book'''. It already automatically detected "Book talk:" as type '''talk'''.
If you intend to feed tables as content to the numbered parameters of this template, you need to know this:
[[Help:Template|Templates]] have a problem handling parameter data that contains pipes "<code>|</code>" unless the pipe is inside another template <code><nowiki>{{name|param1}}</nowiki></code> or inside a piped link <code><nowiki>[[Help:Template|help]]</nowiki></code>. Thus templates can not handle [[Help:Table|wikitables]] as input unless you escape them by using the {{tn|!}} template. This makes it hard to use wikitables as parameters to templates. Instead, the usual solution is to use "[[Help:HTML in wikitext|HTML wikimarkup]]" for the table code, which is more robust.
For more technical details, e.g. about copying this template to other projects and CSS-based namespace detection, see {{tl|Main talk other}} and its talk page.
== See also ==
{{Namespace and pagename-detecting templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!--Categories below this line, please; interwikis at Wikidata-->
[[Category:Namespace manipulation templates]]
}}</includeonly>
2c8a6e5f2cd46af8675d6fc3e1f27ad68ee0a442
Template:Tl
10
85
157
156
2021-01-05T17:25:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
91be693cd63410db06fc933eddb412ba433564dc
Template:Tlx
10
86
159
158
2021-01-05T17:25:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><!--
--><code><!--
--><nowiki>{{</nowiki>{{#if:{{{subst|}}} |[[Help:Substitution|subst]]:}}<!--
-->[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!--
-->{{#if:{{{2|}}} ||{{{2}}}}}<!--
-->{{#if:{{{3|}}} ||{{{3}}}}}<!--
-->{{#if:{{{4|}}} ||{{{4}}}}}<!--
-->{{#if:{{{5|}}} ||{{{5}}}}}<!--
-->{{#if:{{{6|}}} ||{{{6}}}}}<!--
-->{{#if:{{{7|}}} ||{{{7}}}}}<!--
-->{{#if:{{{8|}}} ||{{{8}}}}}<!--
-->{{#if:{{{9|}}} ||{{{9}}}}}<!--
-->{{#if:{{{10|}}} ||{{{10}}}}}<!--
-->{{#if:{{{11|}}} ||{{{11}}}}}<!--
-->{{#if:{{{12|}}} ||''…''}}<!--
--><nowiki>}}</nowiki><!--
--></code><!--
--></includeonly><noinclude>
{{Documentation}}</noinclude>
5633c008ca0a8c29aa9cea811c02e4cd5c61337b
Template:Mbox
10
87
161
160
2021-01-05T17:25:54Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|mbox}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
c262e205f85f774a23f74119179ceea11751d68e
Template:Mbox/doc
10
88
163
162
2021-01-05T17:25:55Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{High-risk|≈590000+}}
{{Used in system}}
{{Lua|Module:Message box}}
{{Mbox templates (small)}}
{{tl|Mbox}} ("['''M''']ulti-namespace message['''box''']") is a [[Help:Metatemplating|metatemplate]] with which [[Wikipedia:Namespace|namespace]]-sensitive {{cl|Mbox and messagebox templates|messagebox templates}} can be implemented. The most common of these are {{tl|Ambox}} for articles, {{tl|Tmbox}} for talk pages, {{tl|Imbox}} for file (formerly image) pages, {{tl|Cmbox}} for category pages and {{tl|Ombox}} for other types of page.
Note that this template should only be used for message boxes that really need to adapt their style. Most message boxes do not need this and should use one of the varieties just listed. Using those templates directly means that your template will look the same on its template page and at any other place you show it, which makes it clear on what kind of pages it is supposed to be used. It also gives you access to any extra features those templates offer, and it saves some server load.
== Usage ==
This template takes the same parameters as {{tl|Ambox}}, {{tl|Imbox}}, etc. See full documentation there.
Some of the boxes this template calls only handles images of max 52px width, thus that limitation also applies to this template or you will get ugly padding problems.
== Demospace ==
This template optionally takes the "demospace" parameter as described at {{tl|Namespace detect}}. That parameter is only for testing and demonstration purposes. If you want to lock your message box to one style then instead use one of the other mboxes directly.
Namespace "Image:" was renamed to "File:" on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine. For backwards compatibility it still understands "demospace = image" which means the same thing as "demospace = file". But using "demospace = image" is now deprecated.
Namespace "Book:" was added to the English Wikipedia on 28 December 2009. This template uses the {{tlf|Ombox}} style on "Book:" pages (or when "demospace = book") and the {{tlf|Tmbox}} style on "Book talk:" pages (or when "demospace = talk"). Note that "demospace = talk" means any talk space.
== Parameters ==
List of all parameters:
<pre>
{{Mbox
| demospace = {{{demospace|}}} / main / talk / file / category / other
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[File:Some image.svg|40px]]
| imageright = [[File:Some image.svg|40px]]
| style = CSS values
| textstyle = CSS values
| text = The message body text.
| small = {{{small|}}} / left / yes
| smallimage = none / [[File:Some image.svg|30px]]
| smallimageright = none / [[File:Some image.svg|30px]]
| smalltext = A shorter message body text.
| plainlinks = no
}}
</pre>
Note: The small parameters only have effect when the template appears on an article, talk or "other" page type. For their associated documentation, see {{tl|Ambox}}, {{tl|Tmbox}} and/or {{tl|Ombox}}. Using the small parameters when they are not valid has no effect, but also does no harm.
== See also ==
{{Mbox templates see also}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Mbox and messagebox templates]]
[[Category:Exclude in print]]
}}</includeonly>
77dd1f87db2ce8d844aef8dfc750f12affa33319
Template:Warning
10
89
165
164
2021-01-05T17:25:55Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Mbox
| name = Warning
| demospace = {{{demospace|}}}
| style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| type = content
| image = {{#if:{{{image|}}}| [[File:{{{image}}}|40px|Warning]] }}
| small = {{{small|}}}
| smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}}
| text = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
-->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
{{Documentation}}
</noinclude>
e07eab0d36a35e5e116593957eea813b6ed98fcd
Template:Warning/doc
10
90
167
166
2021-01-05T17:25:55Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Notice/doc]]
de5171f5694605077796f6393f0dbd603f3d5f0d
Template:Notice/doc
10
91
169
168
2021-01-05T17:25:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
********************************************************************
**** This documentation is shared between multiple templates, ****
**** using {{BASEPAGENAME}} and {{#switch:...}} to customize. ****
********************************************************************
-->
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE AND INTERWIKIS TO WIKIDATA -->
{{high-use| 32513 }}
This is the {{tl|{{BASEPAGENAME}}}} message box. It should be used '''sparingly''' and only for {{#switch:{{BASEPAGENAME}}
|Warning='''important''' warnings about an article or a user that cannot be shown using a more specific template. Please only use it when something is seriously wrong and other people might not otherwise know about it.
|<!--DEFAULT:-->'''significant''' information for which a more specific template doesn't exist.
}} Less important comments should be put as regular text on the page's talk page instead.
== Usage ==
'''<code><nowiki>{{</nowiki>{{BASEPAGENAME}}|1=Place notice text here. |heading=Optional heading above the text<nowiki>}}</nowiki></code>'''
This box automatically changes its style depending on what kind of page it appears; see {{tl|Mbox}} for details, and view the examples below for demonstrations.
=== Use in talk and userspace ===
Outside "important" locations like mainspace, policy pages, and noticeboards, this message box can also be used on other pages in a more relaxed way, such as on the top of talk page alerts, wikiproject pages, userspace pages, etc. Talk and noticeboard cases should probably include your [[WP:Signature|signature]] at the end of the template's main content.
===Optional parameters ===
The box can be titled with an optional {{para|heading}} (or {{para|header}} or {{para|title}}). This is left-aligned by default. This:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |[[Lorem ipsum|Lorem ipsum]] dolor sit amet...<nowiki>}}</nowiki></code>
produces an all-left notice:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
It can be hard to notice or read short heading and/or message on a wide monitor when they centered. For long content, it can be centered with {{para|align|center}}.<br />{{small|1=[While {{para|align|right}} is a valid value, it will only be useful when this template is ported to right-to-left language Wikipedias, and shouldn't be used on English Wikipedia or it will be difficult to read.]}}<br />
This:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |align=center |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code>
produces:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |align=center |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
A shorthand parameter to center the heading and main text at the same time is {{para|center|y}}. This:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |center=y |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code>
produces:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |center=y |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
The parameter {{para|textstyle}} can be used to pass arbitrary inline CSS to the main note content. For example, one could center small-caps text below a left-aligned heading; this:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |textstyle=text-align:center; font-variant:small-caps; |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code>
produces:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |textstyle=text-align:center; font-variant:small-caps;|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
Similarly, the parameter {{para|headstyle}} can be used to pass arbitrary inline CSS to the heading content. For example, one could center a red heading above a left-aligned message; this:<br />
{{in5}}<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |heading=Heading |headstyle=text-align:center; color:red; |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code>
produces:
{{{{BASEPAGENAME}}|demospace=main |heading=Heading |style=margin-bottom:2.0em; |headstyle=text-align:center; color:red;|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
The message box can also take an {{para|image}} parameter (with a value of just the bare filename of the image, without <code>File:...</code>, <code>Image:...</code>, or markup), but this is discouraged in articles. For an example of its use, see below.
See [[#Talk pages]], below for the talkpage-only {{para|small|y}} parameter. See also [[#Adding an image, shortcuts, etc., on the righthand side]] for additional parameters that work in talk and project pages but not articles.
===Articles===
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|demospace=main|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
===Talk pages===
On talk pages, <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|demospace=talk|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
You may also set the talkpage-only parameter {{para|small|yes}}, which alters the template's appearance thus:
{{{{BASEPAGENAME}}|demospace=talk |small=yes |header=Header |style=text-align:center;<!--margin-bottom:2.0em;--> |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |small=yes |header=Header |style=text-align:center; |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> produces ......
{{clear}}
Setting the {{para|image}} parameter changes the image shown on the lefthand side of the template.
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |image=Stop hand nuvola.svg |heading=Heading |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|demospace=talk<!--|style=margin-bottom:2.0em;--> |image=Stop hand nuvola.svg |heading=Heading |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
(Note the effect of omitting {{para|style|text-align:center;}} here)
===File and category pages===
<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> on a File: page would produce... {{{{BASEPAGENAME}}|demospace=image<!--file?-->|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}} ... and, on a Category: page, would produce: {{{{BASEPAGENAME}}|demospace=category|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
===Other pages===
On other pages, such as those in the [[Wikipedia:User pages|User:]], [[Wikipedia:Wikipedia namespace|Wikipedia:]] and [[Wikipedia:Help namespace|Help:]] [[Wikipedia:Namespaces|namespaces]], <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> would produce:
{{{{BASEPAGENAME}}|demospace=wikipedia|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
===External links and equals signs===
In most cases, external links can be used in the template without any complications. If a link – or any text – contains one or more equals signs (" = "), however, everything before the first sign will be interpreted as the name of a parameter. To prevent this, name the text carrying the link as the first numbered parameter:
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |1=Any text/links including "=" should now be interpreted correctly.<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |1=Any text/links including "=" should now be interpreted correctly.}}
===Adding an image, shortcuts, etc., on the righthand side===
To add shortcuts, images, other templates, etc. to the righthand side of the template, use {{para|imageright}}. This does not work in articles. For example,<br /><code><nowiki>{{</nowiki>{{BASEPAGENAME}} |imageright=<nowiki>[[File:Wiki letter w.svg|40px]] |Lorem ipsum dolor sit amet...}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |imageright=[[File:Wiki letter w.svg|40px]]}}
<code><nowiki>{{</nowiki>{{BASEPAGENAME}} |imageright=<nowiki>{{Shortcuts|You|Me}} |Lorem ipsum dolor sit amet...}}</nowiki></code> includes the {{tl|Shortcut}}s template providing links to [[You]] and [[Me]]:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |imageright={{Shortcut|You|Me}} |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
====Alternate shortcut option====
As an alternative to imageright, the {{para|shortcut}} (or {{para|shortcut1}}) and {{para|shortcut''N''}} parameters (where {{nowrap|''N'' {{=}} 2}} to 5) may be used to display shortcuts. For instance, <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |shortcut1=Me |shortcut2=You |shortcut3=Them |shortcut4=Us |shortcut5=Everyone |Lorem ipsum dolor sit amet...<nowiki>}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |shortcut1=Me |shortcut2=You |shortcut3=Them |shortcut4=Us |shortcut5=Everyone |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
''Note: If both imageright and any of the shorcut parameters are used, the contents of imageright will override the shortcut/s.'' For example,<br /><code><nowiki>{{</nowiki>{{BASEPAGENAME}} |imageright=<nowiki>[[File:Wiki letter w.svg|40px]] |shortcut1=Me |shortcut2=You |shortcut3=Them |shortcut4=Us |shortcut5=Everyone |Lorem ipsum dolor sit amet...}}</nowiki></code> produces:
{{{{BASEPAGENAME}}|style=margin-bottom:2.0em; |imageright=[[File:Wiki letter w.svg|40px]] |shortcut1=Me |shortcut2=You |shortcut3=Them |shortcut4=Us |shortcut5=Everyone |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}
{{{{BASEPAGENAME}} and warning templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- CATEGORIES BELOW THIS LINE PLEASE; INTERWIKIS AT WIKIDATA -->
[[Category:Notice and warning templates]]
[[Category:Talk header templates]]
<!--[[labconsole:Template:Notice]]-->
}}</includeonly>
0bd62f051aed0d62c7eb43586acce0bd61a41e1f
Template:Navbar
10
92
171
170
2021-01-05T17:25:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Navbar|navbar}}</includeonly><noinclude>
{{documentation}}
</noinclude>
868e3566b7e8a9a5a7f3dac75cac429c47de10d3
Module:Navbar
828
93
173
172
2021-01-05T17:25:57Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
local p = {}
local getArgs
function p._navbar(args)
local titleArg = 1
if args.collapsible then
titleArg = 2
if not args.plain then
args.mini = 1
end
if args.fontcolor then
args.fontstyle = 'color:' .. args.fontcolor .. ';'
end
args.style = 'float:left; text-align:left'
end
local titleText = args[titleArg] or (':' .. mw.getCurrentFrame():getParent():getTitle())
local title = mw.title.new(mw.text.trim(titleText), 'Template');
if not title then
error('Invalid title ' .. titleText)
end
local talkpage = title.talkPageTitle and title.talkPageTitle.fullText or '';
local div = mw.html.create():tag('div')
div
:addClass('plainlinks')
:addClass('hlist')
:addClass('navbar')
:cssText(args.style)
if args.mini then div:addClass('mini') end
if not (args.mini or args.plain) then
div
:tag('span')
:css('word-spacing', 0)
:cssText(args.fontstyle)
:wikitext(args.text or 'This box:')
:wikitext(' ')
end
if args.brackets then
div
:tag('span')
:css('margin-right', '-0.125em')
:cssText(args.fontstyle)
:wikitext('[ ')
end
local ul = div:tag('ul');
ul
:tag('li')
:addClass('nv-view')
:wikitext('[[' .. title.fullText .. '|')
:tag(args.mini and 'abbr' or 'span')
:attr('title', 'View this template')
:cssText(args.fontstyle)
:wikitext(args.mini and 'v' or 'view')
:done()
:wikitext(']]')
:done()
:tag('li')
:addClass('nv-talk')
:wikitext('[[' .. talkpage .. '|')
:tag(args.mini and 'abbr' or 'span')
:attr('title', 'Discuss this template')
:cssText(args.fontstyle)
:wikitext(args.mini and 't' or 'talk')
:done()
:wikitext(']]');
if not args.noedit then
ul
:tag('li')
:addClass('nv-edit')
:wikitext('[' .. title:fullUrl('action=edit') .. ' ')
:tag(args.mini and 'abbr' or 'span')
:attr('title', 'Edit this template')
:cssText(args.fontstyle)
:wikitext(args.mini and 'e' or 'edit')
:done()
:wikitext(']');
end
if args.brackets then
div
:tag('span')
:css('margin-left', '-0.125em')
:cssText(args.fontstyle)
:wikitext(' ]')
end
if args.collapsible then
div
:done()
:tag('div')
:css('font-size', '114%')
:css('margin', args.mini and '0 4em' or '0 7em')
:cssText(args.fontstyle)
:wikitext(args[1])
end
return tostring(div:done())
end
function p.navbar(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return p._navbar(getArgs(frame))
end
return p
502b3101de689fc8c04dd884e89c7667b09c3b2d
Template:Navbox
10
94
175
174
2021-01-05T17:25:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Navbox|navbox}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
fe9b964401f895918ee4fe078678f1722a3c41ec
Module:Navbox
828
95
177
176
2021-01-05T17:25:58Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--
-- This module implements {{Navbox}}
--
local p = {}
local navbar = require('Module:Navbar')._navbar
local getArgs -- lazily initialized
local args
local tableRowAdded = false
local border
local listnums = {}
local ODD_EVEN_MARKER = '\127_ODDEVEN_\127'
local RESTART_MARKER = '\127_ODDEVEN0_\127'
local REGEX_MARKER = '\127_ODDEVEN(%d?)_\127'
local function striped(wikitext)
-- Return wikitext with markers replaced for odd/even striping.
-- Child (subgroup) navboxes are flagged with a category that is removed
-- by parent navboxes. The result is that the category shows all pages
-- where a child navbox is not contained in a parent navbox.
local orphanCat = '[[Category:Navbox orphans]]'
if border == 'subgroup' and args.orphan ~= 'yes' then
-- No change; striping occurs in outermost navbox.
return wikitext .. orphanCat
end
local first, second = 'odd', 'even'
if args.evenodd then
if args.evenodd == 'swap' then
first, second = second, first
else
first = args.evenodd
second = first
end
end
local changer
if first == second then
changer = first
else
local index = 0
changer = function (code)
if code == '0' then
-- Current occurrence is for a group before a nested table.
-- Set it to first as a valid although pointless class.
-- The next occurrence will be the first row after a title
-- in a subgroup and will also be first.
index = 0
return first
end
index = index + 1
return index % 2 == 1 and first or second
end
end
local regex = orphanCat:gsub('([%[%]])', '%%%1')
return (wikitext:gsub(regex, ''):gsub(REGEX_MARKER, changer)) -- () omits gsub count
end
local function processItem(item, nowrapitems)
if item:sub(1, 2) == '{|' then
-- Applying nowrap to lines in a table does not make sense.
-- Add newlines to compensate for trim of x in |parm=x in a template.
return '\n' .. item ..'\n'
end
if nowrapitems == 'yes' then
local lines = {}
for line in (item .. '\n'):gmatch('([^\n]*)\n') do
local prefix, content = line:match('^([*:;#]+)%s*(.*)')
if prefix and not content:match('^<span class="nowrap">') then
line = prefix .. '<span class="nowrap">' .. content .. '</span>'
end
table.insert(lines, line)
end
item = table.concat(lines, '\n')
end
if item:match('^[*:;#]') then
return '\n' .. item ..'\n'
end
return item
end
local function addTableRow(tbl)
-- If any other rows have already been added, then we add a 2px gutter row.
if tableRowAdded then
tbl
:tag('tr')
:css('height', '2px')
:tag('td')
:attr('colspan',2)
end
tableRowAdded = true
return tbl:tag('tr')
end
local function renderNavBar(titleCell)
if args.navbar ~= 'off' and args.navbar ~= 'plain' and not (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'Template:Navbox') then
titleCell:wikitext(navbar{
args.name,
mini = 1,
fontstyle = (args.basestyle or '') .. ';' .. (args.titlestyle or '') .. ';background:none transparent;border:none;'
})
end
end
--
-- Title row
--
local function renderTitleRow(tbl)
if not args.title then return end
local titleRow = addTableRow(tbl)
if args.titlegroup then
titleRow
:tag('th')
:attr('scope', 'row')
:addClass('navbox-group')
:addClass(args.titlegroupclass)
:cssText(args.basestyle)
:cssText(args.groupstyle)
:cssText(args.titlegroupstyle)
:wikitext(args.titlegroup)
end
local titleCell = titleRow:tag('th'):attr('scope', 'col')
if args.titlegroup then
titleCell
:css('border-left', '2px solid #fdfdfd')
:css('width', '100%')
end
local titleColspan = 2
if args.imageleft then titleColspan = titleColspan + 1 end
if args.image then titleColspan = titleColspan + 1 end
if args.titlegroup then titleColspan = titleColspan - 1 end
titleCell
:cssText(args.basestyle)
:cssText(args.titlestyle)
:addClass('navbox-title')
:attr('colspan', titleColspan)
renderNavBar(titleCell)
titleCell
:tag('div')
:attr('id', mw.uri.anchorEncode(args.title))
:addClass(args.titleclass)
:css('font-size', '114%')
:css('margin', '0 4em')
:wikitext(processItem(args.title))
end
--
-- Above/Below rows
--
local function getAboveBelowColspan()
local ret = 2
if args.imageleft then ret = ret + 1 end
if args.image then ret = ret + 1 end
return ret
end
local function renderAboveRow(tbl)
if not args.above then return end
addTableRow(tbl)
:tag('td')
:addClass('navbox-abovebelow')
:addClass(args.aboveclass)
:cssText(args.basestyle)
:cssText(args.abovestyle)
:attr('colspan', getAboveBelowColspan())
:tag('div')
:wikitext(processItem(args.above, args.nowrapitems))
end
local function renderBelowRow(tbl)
if not args.below then return end
addTableRow(tbl)
:tag('td')
:addClass('navbox-abovebelow')
:addClass(args.belowclass)
:cssText(args.basestyle)
:cssText(args.belowstyle)
:attr('colspan', getAboveBelowColspan())
:tag('div')
:wikitext(processItem(args.below, args.nowrapitems))
end
--
-- List rows
--
local function renderListRow(tbl, index, listnum)
local row = addTableRow(tbl)
if index == 1 and args.imageleft then
row
:tag('td')
:addClass('navbox-image')
:addClass(args.imageclass)
:css('width', '0%')
:css('padding', '0px 2px 0px 0px')
:cssText(args.imageleftstyle)
:attr('rowspan', 2 * #listnums - 1)
:tag('div')
:wikitext(processItem(args.imageleft))
end
if args['group' .. listnum] then
local groupCell = row:tag('th')
groupCell
:attr('scope', 'row')
:addClass('navbox-group')
:addClass(args.groupclass)
:cssText(args.basestyle)
if args.groupwidth then
groupCell:css('width', args.groupwidth)
end
groupCell
:cssText(args.groupstyle)
:cssText(args['group' .. listnum .. 'style'])
:wikitext(args['group' .. listnum])
end
local listCell = row:tag('td')
if args['group' .. listnum] then
listCell
:css('text-align', 'left')
:css('border-left-width', '2px')
:css('border-left-style', 'solid')
else
listCell:attr('colspan', 2)
end
if not args.groupwidth then
listCell:css('width', '100%')
end
local rowstyle -- usually nil so cssText(rowstyle) usually adds nothing
if index % 2 == 1 then
rowstyle = args.oddstyle
else
rowstyle = args.evenstyle
end
local listText = args['list' .. listnum]
local oddEven = ODD_EVEN_MARKER
if listText:sub(1, 12) == '</div><table' then
-- Assume list text is for a subgroup navbox so no automatic striping for this row.
oddEven = listText:find('<th[^>]*"navbox%-title"') and RESTART_MARKER or 'odd'
end
listCell
:css('padding', '0px')
:cssText(args.liststyle)
:cssText(rowstyle)
:cssText(args['list' .. listnum .. 'style'])
:addClass('navbox-list')
:addClass('navbox-' .. oddEven)
:addClass(args.listclass)
:tag('div')
:css('padding', (index == 1 and args.list1padding) or args.listpadding or '0em 0.25em')
:wikitext(processItem(listText, args.nowrapitems))
if index == 1 and args.image then
row
:tag('td')
:addClass('navbox-image')
:addClass(args.imageclass)
:css('width', '0%')
:css('padding', '0px 0px 0px 2px')
:cssText(args.imagestyle)
:attr('rowspan', 2 * #listnums - 1)
:tag('div')
:wikitext(processItem(args.image))
end
end
--
-- Tracking categories
--
local function needsHorizontalLists()
if border == 'subgroup' or args.tracking == 'no' then
return false
end
local listClasses = {
['plainlist'] = true, ['hlist'] = true, ['hlist hnum'] = true,
['hlist hwrap'] = true, ['hlist vcard'] = true, ['vcard hlist'] = true,
['hlist vevent'] = true,
}
return not (listClasses[args.listclass] or listClasses[args.bodyclass])
end
local function hasBackgroundColors()
for _, key in ipairs({'titlestyle', 'groupstyle', 'basestyle'}) do
if tostring(args[key]):find('background', 1, true) then
return true
end
end
end
local function isIllegible()
local styleratio = require('Module:Color contrast')._styleratio
for key, style in pairs(args) do
if tostring(key):match("style$") then
if styleratio{mw.text.unstripNoWiki(style)} < 4.5 then
return true
end
end
end
return false
end
local function getTrackingCategories()
local cats = {}
if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end
if isIllegible() then table.insert(cats, 'Potentially illegible navboxes') end
return cats
end
local function renderTrackingCategories(builder)
local title = mw.title.getCurrentTitle()
if title.namespace ~= 10 then return end -- not in template space
local subpage = title.subpageText
if subpage == 'doc' or subpage == 'sandbox' or subpage == 'testcases' then return end
for _, cat in ipairs(getTrackingCategories()) do
builder:wikitext('[[Category:' .. cat .. ']]')
end
end
--
-- Main navbox tables
--
local function renderMainTable()
local tbl = mw.html.create('table')
:addClass('nowraplinks')
:addClass(args.bodyclass)
if args.title and (args.state ~= 'plain' and args.state ~= 'off') then
tbl
:addClass('collapsible')
:addClass(args.state or 'autocollapse')
end
tbl:css('border-spacing', 0)
if border == 'subgroup' or border == 'none' then
tbl
:addClass('navbox-subgroup')
:cssText(args.bodystyle)
:cssText(args.style)
else -- regular navbox - bodystyle and style will be applied to the wrapper table
tbl
:addClass('navbox-inner')
:css('background', 'transparent')
:css('color', 'inherit')
end
tbl:cssText(args.innerstyle)
renderTitleRow(tbl)
renderAboveRow(tbl)
for i, listnum in ipairs(listnums) do
renderListRow(tbl, i, listnum)
end
renderBelowRow(tbl)
return tbl
end
function p._navbox(navboxArgs)
args = navboxArgs
for k, _ in pairs(args) do
if type(k) == 'string' then
local listnum = k:match('^list(%d+)$')
if listnum then table.insert(listnums, tonumber(listnum)) end
end
end
table.sort(listnums)
border = mw.text.trim(args.border or args[1] or '')
if border == 'child' then
border = 'subgroup'
end
-- render the main body of the navbox
local tbl = renderMainTable()
-- render the appropriate wrapper around the navbox, depending on the border param
local res = mw.html.create()
if border == 'none' then
local nav = res:tag('div')
:attr('role', 'navigation')
:node(tbl)
if args.title then
nav:attr('aria-labelledby', mw.uri.anchorEncode(args.title))
else
nav:attr('aria-label', 'Navbox')
end
elseif border == 'subgroup' then
-- We assume that this navbox is being rendered in a list cell of a parent navbox, and is
-- therefore inside a div with padding:0em 0.25em. We start with a </div> to avoid the
-- padding being applied, and at the end add a <div> to balance out the parent's </div>
res
:wikitext('</div>')
:node(tbl)
:wikitext('<div>')
else
local nav = res:tag('div')
:attr('role', 'navigation')
:addClass('navbox')
:cssText(args.bodystyle)
:cssText(args.style)
:css('padding', '3px')
:node(tbl)
if args.title then
nav:attr('aria-labelledby', mw.uri.anchorEncode(args.title))
else
nav:attr('aria-label', 'Navbox')
end
end
renderTrackingCategories(res)
return striped(tostring(res))
end
function p.navbox(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
args = getArgs(frame, {wrappers = 'Template:Navbox'})
-- Read the arguments in the order they'll be output in, to make references number in the right order.
local _
_ = args.title
_ = args.above
for i = 1, 20 do
_ = args["group" .. tostring(i)]
_ = args["list" .. tostring(i)]
end
_ = args.below
return p._navbox(args)
end
return p
814e9a9ce73fb8603beeb2a60aaeaded1c0cb21b
Template:Navbox/doc
10
96
179
178
2021-01-05T17:25:58Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{#ifeq:{{FULLPAGENAME}}|Template:Navbox|{{high-risk| 2450000+ }}}}<includeonly>
{{lua|Module:Navbox}}{{Template display|nomobile}}</includeonly>
{{Navbox suite}}
{{for|vertically-aligned navigation|Template:Sidebar}}
This template allows a [[Wikipedia:Navigation template|navigational template]] to be set up relatively quickly by supplying it with one or more lists of links. It comes equipped with default styles that should work for most navigational templates. Changing the default styles is possible, but not recommended. Using this template, or one of its "Navbox suite" sister templates, is highly recommended for standardization of navigational templates, and for ease of use.
{{Navbox visibility}}
== Usage ==
Please remove the parameters that are left blank.
<pre style="overflow: auto;">{{Navbox
| name = {{subst:PAGENAME}}{{subst:void|Don't change anything on this line. It will change itself when you save.}}
| title =
| listclass = hlist
| state = {{{state|}}}
| above =
| image =
| group1 =
| list1 =
| group2 =
| list2 =
| group3 =
| list3 =
<!-- ... -->
| below =
}}
</pre>
== Parameter list ==
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| title = {{{title}}}
| above = {{{above}}}
| image = {{{image}}}
| group1 = {{{group1}}}
| list1 = {{{list1}}}
| group2 = {{{group2}}}
| list2 = {{{list2}}}
| list3 = {{{list3}}} ''without {{{group3}}}''
| group4 = {{{group4}}}
| list4 = {{{list4}}}
| below = {{{below}}} <br /> See alternate navbox formats under: [[#Layout of table|''Layout of table'']]
}}
The navbox uses lowercase parameter names, as shown in the box (''above''). The required ''name'' and ''title'' will create a one-line box if other parameters are omitted.
Notice "group1" (etc.) is optional, as are sections named "above/below".
{{clear}}
The basic and most common parameters are as follows (see [[#Parameter descriptions|below]] for the full list):
: <code>name</code> – the name of the template.
: <code>title</code> – text in the title bar, such as: <nowiki>[[Widget stuff]]</nowiki>.
: <code>listclass</code> – a CSS class for the list cells, usually <code>hlist</code> for horizontal lists. Alternatively, use bodyclass for the whole box.
: <code>state</code> – controls when a navbox is expanded or collapsed.
: <code>titlestyle</code> – a CSS style for the title-bar, such as: <code>background: gray;</code>
: <code>groupstyle</code> – a CSS style for the group-cells, such as: <code>background: #eee;</code>
: <code>above</code> – text to appear above the group/list section (could be a list of overall wikilinks).
: <code>image</code> – an optional right-side image, coded as the whole image. Typically it is purely decorative, so it should be coded as <code><nowiki>[[File:</nowiki><var>XX</var><nowiki>.jpg|80px|link=|alt=]]</nowiki></code>.
: <code>imageleft</code> – an optional left-side image (code the same as the "image" parameter).
: <code>group<sub>n</sub></code> – the left-side text before list-n (if group-n omitted, list-n starts at left of box).
: <code>list<sub>n</sub></code> – text listing wikilinks using a [[Help:Lists|wikilist]] format.
: <code>below</code> – optional text to appear below the group/list section.
== Parameter descriptions ==
The following is a complete list of parameters for using {{tl|Navbox}}. In most cases, the only required parameters are <code>name</code>, <code>title</code>, and <code>list1</code>, though [[Template:Navbox/doc#Child navboxes|child navboxes]] do not even require those to be set.
{{tl|Navbox}} shares numerous common parameter names with its sister templates, {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}}, for consistency and ease of use. Parameters marked with an asterisk (*) are common to all three master templates.
=== Setup parameters ===
:; ''name''*
:: The name of the template, which is needed for the "V • T • E" ("View • Talk • Edit") links to work properly on all pages where the template is used. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut. The name parameter is only mandatory if a <code>title</code> is specified, and the <code>border</code> parameter is not set, and the <code>navbar</code> parameter is not used to disable the navbar.
:; ''state''* <span style="font-weight:normal;">[<code>autocollapse, collapsed, expanded, plain, off</code>]</span>
:* Defaults to <code>autocollapse</code>. A navbox with <code>autocollapse</code> will start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded. For the technically minded, see [[MediaWiki:Common.js]].
:* If set to <code>collapsed</code>, the navbox will always start out in a collapsed state.
:* If set to <code>expanded</code>, the navbox will always start out in an expanded state.
:* If set to <code>plain</code>, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the <small>V • T • E</small> links).
:* If set to <code>off</code>, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.
: To show the box when standalone (non-included) but then auto-hide contents when in an article, put "expanded" inside {{tag|noinclude|p}} tags. This setting will force the box visible when standalone (even when followed by other boxes), displaying "[hide]", but then it will auto-collapse the box when stacked inside an article:
:: <code><nowiki>| state = </nowiki></code>{{tag|noinclude|content=expanded}}
: Often times, editors will want a default initial state for a navbox, which may be overridden in an article. Here is the trick to do this:
:* In your intermediate template, create a parameter also named "state" as a pass-through like this:
:: <code><nowiki>| state = {{{state<includeonly>|your_desired_initial_state</includeonly>}}}</nowiki></code>
:* The {{tag|includeonly|o}}<code>|</code> will make the template expanded when viewing the template page by itself.
::* Example 1: {{tl|Peso}} with ''autocollapse'' as the default initial state. [[Catalan peseta]] transcludes it and has only one navbox; thus, the peso navbox shows. [[Chilean peso]] has more than two navboxes; thus, the peso navbox collapses.
::* Example 2: {{tl|Historical currencies of Hungary}} with ''expanded'' as the default initial state, as such:
:::<code><nowiki>| state = {{{state<includeonly>|expanded</includeonly>}}}</nowiki></code>
:::All transcluding articles show the content by default, unless there is a hypothetical article that specifies <code><nowiki>{{templatename|state=collapsed}}</nowiki></code> when transcluding.
::* Example 3: {{tl|Tourism}} with ''collapsed'' as the default initial state, as such:
:::<code><nowiki>| state = {{{state<includeonly>|collapsed</includeonly>}}}</nowiki></code>
:::All transcluding articles will show the template as collapsed by default, but the template will still be uncollapsed when displayed on its own page.
:* The template {{tl|Collapsible option}} explains how to use the <code>state</code> parameter. It can be added to a {{tag|noinclude|p}} section after the template definition or to the instructions on the {{tl|documentation subpage}}.
:; ''navbar''*
:: If set to <code>plain</code>, the <span style="font-size: 88%;">V • T • E</span> links on the left side of the titlebar will not be displayed, and padding will be automatically used to keep the title centered. Use <code>off</code> to remove the <span style="font-size: 88%;">V • T • E</span> links, but not apply padding (this is for advanced use only; the "plain" option should suffice for most applications where a navbar is not desired). It is highly recommended that one not hide the navbar, in order to make it easier for users to edit the template, and to keep a standard style across pages.
:; ''border''*
:: ''See later section on [[#Child navboxes|using navboxes within one another]] for examples and a more complete description.'' If set to <code>child</code> or <code>subgroup</code>, then the navbox can be used as a borderless child that fits snugly in another navbox. The border is hidden and there is no padding on the sides of the table, so it fits into the ''list'' area of its parent navbox. If set to <code>none</code>, then the border is hidden and padding is removed, and the navbox may be used as a child of another container (do not use the <code>none</code> option inside of another navbox; similarly, only use the <code>child</code>/<code>subgroup</code> option inside of another navbox). If set to anything else (default), then a regular navbox is displayed with a 1px border. An alternate way to specify the border to be a subgroup style is like this (i.e. use the first unnamed parameter instead of the named ''border'' parameter):
::: <code><nowiki>{{Navbox|child</nowiki></code>
:::: <code>...</code>
::: <code><nowiki>}}</nowiki></code>
=== Cells ===
:; ''title''*
:: Text that appears centered in the top row of the table. It is usually the template's topic, i.e. a succinct description of the body contents. This should be a single line, but if a second line is needed, use <code><nowiki>{{-}}</nowiki></code> to ensure proper centering. This parameter is technically not mandatory, but using {{tl|Navbox}} is rather pointless without a title.
:; ''above''*
:: A full-width cell displayed between the titlebar and first group/list, i.e. ''above'' the template's body (groups, lists and image). In a template without an image, ''above'' behaves in the same way as the ''list1'' parameter without the ''group1'' parameter.
:; ''group<sub>n</sub>''*
:: (i.e. ''group1'', ''group2'', etc.) If specified, text appears in a header cell displayed to the left of ''list<sub>n</sub>''. If omitted, ''list<sub>n</sub>'' uses the full width of the table.
:; ''list<sub>n</sub>''*
:: (i.e. ''list1'', ''list2'', etc.) The body of the template, usually a list of links. Format is inline, although the text can be entered on separate lines if the entire list is enclosed within <code><nowiki><div> </div></nowiki></code>. At least one ''list'' parameter is required; each additional ''list'' is displayed in a separate row of the table. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below).
::Entries should be separated using a [[newline]] and an [[asterisk]] (*). If instead two asterisks are used, it provides [[Nesting (computing)|nesting]] within the previous entry by enclosing the entry with brackets. Increasing the number of asterisks used increases the number of brackets around entries.
:; ''image''*
:: An image to be displayed in a cell below the title and to the right of the body (the groups/lists). For the image to display properly, the ''list1'' parameter must be specified. The ''image'' parameter accepts standard wikicode for displaying an image, ''e.g.'':
::: <code><nowiki>[[File:</nowiki><var>XX</var><nowiki>.jpg|80px|link=|alt=]]</nowiki></code>
::: nb: including "|right" will produce the usual left margin to provide separation from the list items and [[Zebra striping (computer graphics)|zebra striping]].
:; ''imageleft''*
:: An image to be displayed in a cell below the title and to the left of the body (lists). For the image to display properly, the ''list1'' parameter must be specified and no groups can be specified. It accepts the same sort of parameter that ''image'' accepts.
:; ''below''*
:: A full-width cell displayed ''below'' the template's body (groups, lists and image). In a template without an image, ''below'' behaves in the same way as the template's final ''list<sub>n</sub>'' parameter without a ''group<sub>n</sub>'' parameter. For an example of the ''below'' parameter in use, see {{oldid|Main Page|352612160|this}} version of {{tl|Lists of the provinces and territories of Canada}}.
=== Style parameters ===
Styles are generally advised against, to maintain consistency among templates and pages in Wikipedia; but the option to modify styles is given.
:; ''bodystyle''*
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template body. This option should be used sparingly as it can lead to visual inconsistencies. Examples:
::: <code>bodystyle = background: #''nnnnnn'';</code>
::: <code>bodystyle = width: ''N'' [em/%/px or width: auto];</code>
::: <code>bodystyle = float: [''left/right/none''];</code>
::: <code>bodystyle = clear: [''right/left/both/none''];</code>
:; ''basestyle''*
:: CSS styles to apply to the ''title'', ''above'', ''below'', and ''group'' cells all at once. The styles are not applied to ''list'' cells. This is convenient for easily changing the basic color of the navbox without having to repeat the style specifications for the different parts of the navbox. Examples:
::: <code>basestyle = background: lightskyblue;</code>
:; ''titlestyle''*
:: [[Cascading Style Sheets|CSS]] styles to apply to ''title'', most often the titlebar's background color:
::: <code>titlestyle = background: ''#nnnnnn'';</code>
::: <code>titlestyle = background: ''name'';</code>
::: <code>titlestyle = background: none;</code> — for no background color
:; ''groupstyle''*
:: CSS styles to apply to the ''groupN'' cells. This option overrides any styles that are applied to the entire table. Examples:
::: <code>groupstyle = background: #''nnnnnn'';</code>
::: <code>groupstyle = text-align: [''left/center/right''];</code>
::: <code>groupstyle = vertical-align: [''top/middle/bottom''];</code>
:; ''group<sub>n</sub>style''*
:: CSS styles to apply to a specific group, in addition to any styles specified by the ''groupstyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:
::: <code>group3style = background: red; color: white;</code>
:; ''groupwidth''
:: A number and unit specifying a uniform width for the group cells, in cases where little content in the list cells may cause group cells to be too wide. No default. However, may be overridden by the ''group(n)style'' parameter. Examples:
::: <code>groupwidth = 9em</code>
:; ''liststyle''*
:: CSS styles to apply to all lists. Overruled by the ''oddstyle'' and ''evenstyle'' parameters (if specified) hereafter. When using backgound colors in the navbox, see the [[#Intricacies|note hereafter]].
:; ''list<sub>n</sub>style''*
:: CSS styles to apply to a specific list, in addition to any styles specified by the ''liststyle'' parameter. This parameter should only be used when absolutely necessary in order to maintain standardization and simplicity. Examples:
::: <code>list5style = background: #ddddff;</code>
:; ''listpadding''*
:: A number and unit specifying the padding in each ''list'' cell. The ''list'' cells come equipped with a default padding of 0.25em on the left and right, and 0 on the top and bottom. Due to complex technical reasons, simply setting "liststyle = padding: 0.5em;" (or any other padding setting) will not work. Examples:
::: <code>listpadding = 0.5em 0;</code> (sets 0.5em padding for the top/bottom, and 0 padding for the left/right.)
::: <code>listpadding = 0;</code> (removes all list padding.)
:; ''oddstyle''
:; ''evenstyle''
:: Applies to odd/even list numbers. Overrules styles defined by ''liststyle''. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.
:; ''evenodd'' <span style="font-weight: normal;"><code>[swap, even, odd, off]</code></span>
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. This advanced parameter should only be used to fix problems when the navbox is being used as a child of another navbox and the stripes do not match up. Examples and a further description can be found in the section on child navboxes below.
:; ''abovestyle''*
:; ''belowstyle''*
:: CSS styles to apply to the top cell (specified via the ''above'' parameter) and bottom cell (specified via the ''below'' parameter). Typically used to set background color or text alignment:
::: <code>abovestyle = background: #''nnnnnn'';</code>
::: <code>abovestyle = text-align: [''left/center/right''];</code>
::: <code>belowstyle = background: #''nnnnnn'';</code>
::: <code>belowstyle = text-align: [''left/center/right''];</code>
:; ''imagestyle''*
:; ''imageleftstyle''*
:: CSS styles to apply to the cells where the image/imageleft sits. These styles should only be used in exceptional circumstances, usually to fix width problems if the width of groups is set and the width of the image cell grows too large. Examples:
::: <code>imagestyle = width:5em;</code>
===== Default styles =====
The style settings listed here are those that editors using the navbox change most often. The other more complex style settings were left out of this list to keep it simple. Most styles are set in [[MediaWiki:Common.css]].
: <code>bodystyle = background: #fdfdfd; width: 100%; vertical-align: middle;</code>
: <code>titlestyle = background: #ccccff; padding-left: 1em; padding-right: 1em; text-align: center;</code>
: <code>abovestyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;</code>
: <code>belowstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;</code>
: <code>groupstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: right;</code>
: <code>liststyle = background: transparent; text-align: left/center;</code>
: <code>oddstyle = background: transparent;</code>
: <code>evenstyle = background: #f7f7f7;</code>
Since ''liststyle'' and ''oddstyle'' are transparent, odd lists have the color of the ''bodystyle'', which defaults to #fdfdfd (white with a hint of gray). A list defaults to <code>text-align: left;</code> if it has a group, if not it defaults to <code>text-align: center;</code>. Since only ''bodystyle'' has a vertical-align all the others inherit its <code>vertical-align: middle;</code>.
=== Advanced parameters ===
:; ''bodyclass''
:; ''aboveclass''
:; ''groupclass''
:; ''listclass''
:; ''belowclass''
:: This enables attaching a CSS class to group or list cells. The most common use for ''listclass'' is to give it the <code>hlist</code> class that will cause lists to render horizontally. All these parameters accept the <code>hlist</code> class, but if more than one parameter is used for <code>hlist</code>, use {{para|bodyclass|hlist}} instead.
:; ''titlegroup''
:: This puts a group in the title area, with the same default styles as ''group<sub>n</sub>''. It should be used only in exceptional circumstances (usually advanced meta-templates) and its use requires some knowledge of the internal code of {{tl|Navbox}}; you should be ready to manually set up CSS styles to get everything to work properly if you wish to use it. If you think you have an application for this parameter, it might be best to change your mind, or consult the talk page first.
:; ''titlegroupstyle''
:: The styles for the titlegroup cell.
:; ''innerstyle''
:: A very advanced parameter to be used ''only'' for advanced meta-templates employing the navbox. Internally, the navbox uses an outer table to draw the border, and then an inner table for everything else (title/above/groups/lists/below/images, etc.). The ''style''/''bodystyle'' parameter sets the style for the outer table, which the inner table inherits, but in advanced cases (meta-templates) it may be necessary to directly set the style for the inner table. This parameter provides access to that inner table so styles can be applied. Use at your own risk.
==== Microformats ====
:; ''bodyclass''
:: This parameter is inserted into the "class" attribute for the navbox as a whole.
:; ''titleclass''
:: This parameter is inserted into the "class" attribute for the navbox's title caption.
This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag a navbox as containing [[hCard]] information about a person, for example, add the following parameter:
<pre>
| bodyclass = vcard
</pre>
''and''
<pre>
| titleclass = fn
</pre>
''or'' (for example):
<pre><nowiki>
| title = The books of <span class="fn">[[Iain Banks]]</span>
</nowiki></pre>
...and so forth.
See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia, and [[microformat]] for more information on microformats in general.
== Layout of table ==
===Without image, above and below===
Table generated by {{tl|Navbox}} '''without''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| liststyle = background: silver;
| title = {{{title}}}
| group1 = {{{group1}}}
| list1 = {{{list1}}}
| group2 = {{{group2}}}
| list2 = {{{list2}}}
| list3 = {{{list3}}} ''without {{{group3}}}''
| group4 = {{{group4}}}
| list4 = {{{list4}}}
}}
===With image, above and below===
Table generated by {{tl|Navbox}} '''with''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| liststyle = background: silver;
| image = {{{image}}}
| title = {{{title}}}
| above = {{{above}}}
| group1 = {{{group1}}}
| list1 = {{{list1}}}
| group2 = {{{group2}}}
| list2 = {{{list2}}}
| list3 = {{{list3}}} ''without {{{group3}}}''
| group4 = {{{group4}}}
| list4 = {{{list4}}}
| below = {{{below}}}
}}
===With image and without groups===
Table generated by {{tl|Navbox}} '''with''' ''image'', ''imageleft'', ''lists'', and '''without''' ''groups'', ''above'', ''below'' (gray list background color added for illustration only):
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| liststyle = background: silver;
| image = {{{image}}}
| imageleft = {{{imageleft}}}
| title = {{{title}}}
| list1 = {{{list1}}}
| list2 = {{{list2}}}
| list3 = {{{list3}}}
| list4 = {{{list4}}}
}}
== Examples ==
<!-- Please do not encourage folks to use <div> within Navboxes as (unless handled carefully) they can negate liststyles/groupstyles/etc. settings. -->
=== No image ===
<pre style="overflow: auto;">
{{Navbox
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| group1 = Centre
| list1 =
* [[Cyberjaya]]
| group2 = Area
| list2 =
* [[Klang Valley]]
| group3 = Major landmarks
| list3 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
* [[Kuala Lumpur International Airport]]
| group4 = Infrastructure
| list4 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5 =
* [[E-Government]]
* [[MyKad]]
}}
</pre>
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| state = uncollapsed
| title = [[MSC Malaysia]]
| listclass = hlist
| group1 = Centre
| list1 =
* [[Cyberjaya]]
| group2 = Area
| list2 =
* [[Klang Valley]]
| group3 = Major landmarks
| list3 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
* [[Kuala Lumpur International Airport]]
| group4 = Infrastructure
| list4 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5 =
* [[E-Government]]
* [[MyKad]]
}}
=== With image, without groups ===
<pre style="overflow: auto;">
{{Navbox
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| list1 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
* [[Kuala Lumpur International Airport]]
}}
</pre>
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| list1 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
* [[Kuala Lumpur International Airport]]
}}
=== With two images, without groups, multiple lists ===
<pre style="overflow: auto;">
{{Navbox
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| imageleft = [[File:Flag of Malaysia.svg|80px]]
| list1 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
| list2 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| list3 =
* [[E-Government]]
* [[MyKad]]
| list4 =
* [[Klang Valley]]
}}
</pre>
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| imageleft = [[File:Flag of Malaysia.svg|80px]]
| list1 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
| list2 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| list3 =
* [[E-Government]]
* [[MyKad]]
| list4 =
* [[Klang Valley]]
}}
=== With image, groups, above, below ===
<pre style="overflow: auto;">
{{Navbox
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| above = Above text goes here
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| group1 = Centre
| list1 =
* [[Cyberjaya]]
| group2 = Area
| list2 =
* [[Klang Valley]]
| group3 = Major landmarks
| list3 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
| group4 = Infrastructure
| list4 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5 =
* [[E-Government]]
* [[MyKad]]
| below = Below text goes here
}}
</pre>
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| title = [[MSC Malaysia]]
| listclass = hlist
| above = Above text goes here
| image = [[File:Flag of Malaysia.svg|80px|link=|alt=]]
| group1 = Centre
| list1 =
* [[Cyberjaya]]
| group2 = Area
| list2 =
* [[Klang Valley]]
| group3 = Major landmarks
| list3 =
* [[Petronas Twin Towers]]
* [[Kuala Lumpur Tower]]
* [[Kuala Lumpur Sentral]]
* [[Technology Park Malaysia]]
* [[Putrajaya]]
* [[Cyberjaya]]
| group4 = Infrastructure
| list4 =
* [[Express Rail Link]]
* [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5 =
* [[E-Government]]
* [[MyKad]]
| below = Below text goes here
}}
== Child navboxes ==
{{Selfref|For additional examples, see the [[Template:Navbox/testcases|Navbox testcases page]].}}
It is possible to place multiple navboxes within a single border with the use of the ''border'' parameter, or by specifying the first parameter to be "child". The basic code for doing this is as follows (which adds a subgroup for the first group/list area):
<pre style="overflow: auto;">
{{Navbox
| name = {{subst:PAGENAME}}
| title = Title
| group1 = [optional]
| list1 = {{Navbox|child
...child navbox parameters...
}}
...
}}
</pre>
=== Subgroups example ===
{{main|Template:Navbox subgroup}}
This example shows how subgroups can be used. It is recommended that one use {{tl|Navbox subgroup}}, but the same result can be reached by using {{tl|Navbox}} with <code>border = child</code> or the first unnamed parameter set to <code>child</code>. The striping is alternated automatically. To remove the striping altogether, you can set <code>liststyle = background:transparent;</code> in each of the navboxes.
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| image = [[File:Flag of the United States.svg|100px|link=|alt=]]
| state = uncollapsed
| title = Multiple subgroup example
| above = Above
| below = Below
| group1 = Group1
| list1 = List1
| group2 = Group2
| list2 =
{{{{PAGENAMETDOC}}|child
| evenodd = swap
| group1 = Group2.1
| list1 = List1
| group2 = Group2.2
| list2 = List2
| group3 = Group2.3
| list3 = List3
}}
| group3 = Group3
| list3 = List3
| group4 = Group4
| list4 =
{{{{PAGENAMETDOC}}|child
| evenodd = swap
| group1 = Group4.1
| list1 = List1
| group2 = Group4.2
| list2 = List2
| group3 = Group4.3
| list3 = List3
}}
}}
=== Multiple show/hides in a single container ===
{{main|Template:Navbox with collapsible groups}}
The example below is generated using a regular navbox for the main container, then its list1, list2, and list3 parameters each contain another navbox, with <code>1 = child</code> set. The view (v), discuss (d), edit (e) navbar links are hidden using <code>navbar = plain</code> for each of them, or could be suppressed by just leaving out the ''name'' parameter (child navboxes do not require the name parameter to be set, unlike regular navboxes).
{{{{PAGENAMETDOC}}
| name = Navbox/doc
| title = [[File:Blason France moderne.svg|x17px|link=|alt=]] [[File:Flag of France.svg|x17px|link=|alt=]] [[French colonial empire|Former French overseas empire]]
| state = uncollapsed
| list1 = {{{{PAGENAMETDOC}}|child
| navbar = plain
| title = [[French colonial empire|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]
| listclass = hlist
| group1 = [[Mahgreb]]
| list1 =
* [[French rule in Algeria|Algeria]]
* [[French Morocco|Morocco]] <small>([[Arguin|Arguin Island]])</small>
* [[History of Tunisia|Tunisia]]
| group2 = [[French West Africa]]
| list2 =
* [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]
* [[French Dahomey|Dahomey]]
* [[French Sudan]]
* [[French Guinea|Guinea]]
* [[History of Mauritania#French colonization and post-colonial history|Mauritania]]
* [[History of Niger#Colonization|Niger]]
* [[History of Senegal|Senegal]]
* [[French Upper Volta|Upper Volta]]
* [[French Togoland]]
* [[James Island (The Gambia)|James Island]]
| group3 = [[French Equatorial Africa]]
| list3 =
* [[Colonial Chad|Chad]]
* [[History of Gabon|Gabon]]
* [[History of the Republic of the Congo|Middle Congo]]
* [[Oubangui-Chari]]
| group4 = [[Comoros]]
| list4 =
* [[Anjouan]]
* [[Grande Comore]]
* [[Mohéli]]
* [[History of Djibouti#French Interest|French Somaliland (Djibouti)]]
* [[History of Madagascar#French control|Madagascar]]
* [[Mauritius|Ile de France]]
* [[Seychelles]]
}}
| list2 = {{{{PAGENAMETDOC}}|child
| navbar = plain
| title = [[French colonial empire|Former French colonies]] in the [[Americas]]
| listclass = hlist
| list1 =
* [[New France]]{{spaces|2}}<small>([[Acadia]], [[Louisiana (New France)|Louisiana]], [[Canada, New France|Canada]], [[Newfoundland (island)|Terre Neuve]]) 1655–1763 </small>
| list2 =
* [[Inini]]
* [[Berbice]]
* [[Saint-Domingue]]
* <small>[[Haiti]]</small>
* [[Tobago]]
* [[History of the British Virgin Islands|Virgin Islands]]
* [[France Antarctique]]
* [[France Équinoxiale]]
| below = [[French West India Company]]
}}
| list3 = {{{{PAGENAMETDOC}}|child
| navbar = plain
| title = [[French colonial empire|Former French colonies]] in [[Asia]] and [[Oceania]]
| listclass = hlist
| group1 = [[French India]]
| list1 =
* [[Chandernagor]]
* [[Coromandel Coast]]
* [[History of Chennai|Madras]]
* [[Mahé, India|Mahé]]
* [[History of Pondicherry|Pondichéry]]
* [[Karaikal]]
* [[Yanam (India)|Yanaon]]
| group2 = [[French Indochina]]
| list2 =
* [[Colonial Cambodia|Cambodia]]
* [[History of Laos to 1945#French Laos|Laos]]
* [[French Indochina|Vietnam]] <small>([[Annam (French colony)|Annam]], [[Cochinchina]], [[Tonkin]])</small>
| group3 = Other Asian
| list3 =
* [[Alawite State|Alaouites]]
* [[Republic of Hatay|Alexandretta-Hatay]]
* [[Sri Lanka|Ceylon]]
* [[Kwangchowan]]
| group4 = [[Oceania]]
| list4 =
* [[New Hebrides]]
** [[History of Vanuatu|Vanuatu]]
| below = [[French East India Company]]
}}
}}
== Relationship with other Navbox templates ==
This navbox template is specifically designed to work in conjunction with two other sister templates: {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}}. All three of these templates share common parameters for consistency and ease of use (such parameters are marked with an asterisk (*) in the [[#Parameter descriptions|parameter descriptions]] list hereinbefore). Most importantly, each template can be used as a child of one another (by using the {{para|border|child}} parameter, or by specifying the first unnamed parameter to be <code>child</code>. For example: <code><nowiki>{{Navbox|child ...}}</nowiki></code>, <code><nowiki>{{Navbox with columns|child ...}}</nowiki></code> or <code><nowiki>{{Navbox with collapsible groups|child ...}}</nowiki></code>.)
== Technical details ==
* This template uses CSS classes for most of its looks, thus it is fully skinnable.
* Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
* For more technical details see the [[{{TALKPAGENAME}}|talk page]], the CSS classes in [[MediaWiki:Common.css]] and the collapsible table used to hide the box in [[MediaWiki:Common.js]].
=== Intricacies ===
* The 2px wide border between groups and lists is drawn using the border-left property of the list cell. Thus, if you wish to change the background color of the template (for example <code>bodystyle = background:purple;</code>), then you'll need to make the border-left-color match the background color (i.e. <code>liststyle = border-left-color: purple;</code>). If you wish to have a border around each list cell, then the 2px border between the list cells and group cells will disappear; you'll have to come up with your own solution.
* The list cell width is initially set to 100%. Thus, if you wish to manually set the width of group cells, you'll need to also specify the liststyle to have width: auto. If you wish to set the group width and use images, it's up to you to figure out the CSS in the groupstyle, liststyle, imagestyle, and imageleftstyle parameters to get everything to work correctly. Example of setting group width:
:: <code>groupstyle = width: 10em;</code>
:: <code>liststyle = width: auto;</code>
* Adjacent navboxes have only a 1 pixel border between them (except in IE 6, which doesn't support the necessary CSS). If you set the top or bottom margin of <code>style/bodystyle</code>, then this will not work.
* The default margin-left and margin-right of the outer navbox table are set to "auto;". If you wish to use navbox as a float, you need to manually set the margin-left and margin-right values, because the auto margins interfere with the float option. For example, add the following code to use the navbox as a float:
::<code>bodystyle = width: 22em; float: right; margin-left: 1em; margin-right: 0;</code>
=== Copying to other projects or wikis? ===
Using this template on other wikis requires [[HTML Tidy]] to be turned on. A version that does not require Tidy can be found at [[Wikipedia:WikiProject Transwiki/Template:Navbox]]. (That version generally shouldn't be used here on the English Wikipedia.) More detailed information on copying {{tlf|Navbox}} to other wikis can be found on the [[Template talk:Navbox|talk page]].
=== Known issues ===
# If the heading of the navbox spans more than one line, the second line will be displayed to the right of center. This can be avoided by hard-coding linebreaks with {{tag|br|single|params=clear="all"}}.
# In Internet Explorer 8 and 9, there is a bug when using <code>hlist</code>; navbox will fail to wrap the list to the next line if the list items start with an image, causing navbox to extend its width outside the screen. This can be fixed by adding <code>&nbsp;</code> in front of the images.
# Excessive use of the '''unsubstituted''' {{tlx|•}} template as a delimiter, can in extreme cases cause the wiki page rendering to fail — there is a limit to the number of templates that can be used on a page (example [[Ketamine]] where the inclusion of eleven Navboxes with hundreds of bullets caused the page load not to complete, only the substitution of the bullets in those navboxes cured the problem). Use of the <code>hlist</code> class avoids the delimiter transclusion issue altogether, as the delimiters are rendered via CSS.
== See also ==
* {{tl|Otherarticles}} – a small navbox based on an existing category
* {{tl|Navbar}} – Used for the navigation links in navbox.
* {{tl|Nobold}} – To display text at normal font-weight within a context where the default font-weight is bold, e.g. header cells in tables.
* {{tl|Sidebar}} – Vertically-aligned navigation templates.
* [[Template:Navbox/testcases]] – For additional examples of template code.
* [[Wikipedia:Line-break handling]] – The how-to guide about how to handle word wraps (line breaks) on Wikipedia, such as the wrapping of the link lists used in navboxes.
* {{tl|Nowrap begin}}, {{tl|·}} and {{tl|•}} are '''deprecated''' in favor of the <code>hlist</code> class for formatting lists. See [[Template:Flatlist#Technical details|Flatlist]] for a technical explanation of how <code>hlist</code> works.
{{Navigation templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Navigational boxes| ]]
[[Category:Templates generating microformats]]
[[Category:Wikipedia metatemplates]]
[[Category:Exclude in print]]
}}</includeonly>
2445dfc383a8dec3f54eb1a579ed604ad24d0054
Template:Hidden
10
97
181
180
2021-01-05T17:25:59Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{hidden begin|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expand|{{{expanded|}}}}}}|class={{{class|}}}|border={{{border|none}}}|style={{{style|{{{css|}}}}}}
|bg1={{{bg1|transparent}}}|ta1={{{ta1|center}}}|titlestyle={{#if:{{{multiline|{{{multi-line|}}}}}}|height:auto;}}{{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}}
|title={{#if:{{{multiline|{{{multi-line|}}}}}}|<div style="margin-right:4em;line-height:125%;height:auto;">{{{title|{{{header|{{{1}}}}}}}}}</div>|{{{title|{{{header|{{{1}}}}}}}}}}}
|bg2={{{bg2|transparent}}}|ta2={{{ta2|left}}}|contentstyle={{#ifeq:{{{fw2|normal}}}|normal||font-weight:{{{fw2|normal}}};}}{{{contentcss|{{{contentstyle|}}}}}} }}
{{{content|{{{contents|{{{text|{{{2}}}}}}}}}}}}{{hidden end}}{{#if:{{{bg1|}}}{{{bg2|}}}{{{ta1|}}}{{{ta2|}}}{{{fw1|}}}{{{fw2|}}}|[[Category:Hidden templates using styles|{{NAMESPACE}}{{PAGENAME}}]]}}<noinclude>
{{documentation}}
</noinclude>
8509779f24394ffe3cd4ea9233ebc0decda0127c
Template:Hidden/doc
10
98
183
182
2021-01-05T17:25:59Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
<includeonly>{{high-use| 77709 }}</includeonly>
{{Template:Collapse Templates}}
This template creates a [[Wikipedia:NavFrame|dynamic navigation box]] using style sheet declarations in [[MediaWiki:Common.css]] and Javascript code in [[MediaWiki:Common.js]]. In a saved, [[rendered]] page this template creates a clickable link that toggles between [show] and [hide]. It displays the first parameter (the heading) with a [show] link on the right. If [show] is clicked by the user, it displays the second parameter (the body) below the heading and the [show] link becomes [hide]. Clicking on [hide] then hides the body and the [hide] link becomes [show] again.
The template does '''not''' provide a parameter to designate whether the link starts at a show or hide state. If this template is nested in another, the show/hide links in the hidden content keep their state; there is no parameter for ''collapse all'' or ''reveal all''.
Do not use this template to hide content in articles. This violates the [[WP:Manual of Style#Scrolling lists and collapsible content|WP:Manual of Style § Scrolling lists and collapsible content]] and [[WP:Accessibility]] guidelines. This template is intended for use in pages in [[Wikipedia:Namespaces|namespaces]] other than the article namespace.
== Usage ==
===Full syntax===
<pre style="overflow:auto;">
{{Hidden
| expanded=true <!--(omit for initial hidden state)-->
| style =
| headerstyle =
| header =
| contentstyle =
| content =
|fw1= |fw2= |bg1= |bg2= |ta1= |ta2=
}}
</pre>
===Parameters===
Only two parameters are required for this template:
; header : text for header (title); alternative to using unnamed parameter <nowiki>{{{1}}}</nowiki>
; content : text for body (content); alternative to using unnamed parameter <nowiki>{{{2}}}</nowiki>
====Optional====
; style : [[w:Cascading Style Sheets|CSS]] styling for template overall.
; headerstyle : CSS styling for title (header).
; contentstyle : CSS styling for the hidden content.
; expanded : any nonblank value (e.g. {{para|expanded|on}}) will cause the template to be initially expanded by default.
; multiline : any nonblank value (e.g. {{para|multline|y}}) will reduce the line-height of the title and add some padding to avoid overlap with the show/hide button.
'''Note:''' This template will not respect the [[Wikipedia:User preferences|user preference]] "justify paragraphs".
== Examples ==
===Basic===
In this example only the two required parameters are specified.
{| class="wikitable"
| {{rh}} | Code
| <pre>{{hidden|Title text here|Body text line 1<br/>Body text line 2}}</pre>
|-
| {{rh}} | Result
| {{hidden|Title text here|Body text line 1<br/>Body text line 2}}
|}
===Header background===
{| class="wikitable"
| {{rh}} | Code
| <pre style="overflow:auto;">
{{hidden
|Title text here
|Body text line 1<br/>Body text line 2
|headerstyle=background:#ccccff
|style=text-align:center;
}}
</pre>
|-
| {{rh}} | Result
| {{hidden|Title text here|Body text line 1<br/>Body text line 2|headerstyle=background:#ccccff|style=text-align:center;}}
|}
===CSS===
{| class="wikitable"
| {{rh}} | Code
|
<pre>
{{hidden
| style = border:1px dashed red; width: 50%;
| headerstyle = background: #ccccff; font-size: 110%;
| contentstyle = text-align: center; color:green;
| header = Title text here
| content = Body text line 1<br />Body text line 2<br />Body text line 3
}}</pre>
|-
| {{rh}} | Result
|
{{hidden
| style = border:1px dashed red; width: 50%;
| headerstyle = background: #ccccff; font-size: 110%;
| contentstyle = text-align: center; color:green;
| header = Title text here
| content = Body text line 1<br />Body text line 2<br />Body text line 3
}}
|}
== Issues ==
=== Show/hide button overlap ===
<div style="background:pink;font-weight:bold">With ta1=right or a long header, the header may overlap the show/hide button:</div>
{{evd|hidden|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.|def}}
{{clr}}
;<div style="background:cyan;font-weight:bold">Possible workaround is to use {{para|multiline|y}}:</div>
"<nowiki>{{hidden|multiline=y|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.|def}}</nowiki>" gives "{{hidden|multiline=y|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.|def}}"
<div style="background:pink;font-weight:bold">Example with long header</div>
{{hidden|abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc |def}}
{{clr}}
;<div style="background:cyan;font-weight:bold">Above example with workaround:</div>
"<nowiki>{{hidden|multiline=y|abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc |def}}</nowiki>" gives "{{hidden|multiline=y|abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc |def}}"
=== Sections ===
Sections included inside a hidden block result in broken anchors in the table of contents at the top of the page.
{{hidden begin|title=example}}
==== You can't get here from the table of contents ====
{{hidden end}}
==Tracking category==
* {{clc|Hidden templates using styles}} – tracks usage of parameters bg1, bg2, ta1, ta2, fw1, fw2
==See also==
Supporting templates:
* {{tiw|Hidden begin}}
* {{tiw|Hidden end}}
Similar templates:
* {{tim|Hidden}}
* {{tiw|Collapsible list}}
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Collapse templates]]
[[Category:Wikipedia formatting and function templates]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
f3c922edab4613b07aac197f1dfc3ac5f9f80021
Template:Hidden begin
10
99
185
184
2021-01-05T17:26:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{{hatnote|Templates {{noredirect|Template:Begin hidden|Begin hidden}}, {{noredirect|Template:Start hidden|Start hidden}} and {{noredirect|Template:Start hidden section|Start hidden section}} redirect here.}}</noinclude><!--
--><includeonly><!--
-->{{#ifeq:{{{showhide|}}}{{{toggle|}}}|left
| <!------------------------------------------------------------------------
showhide = left, so place [show/hide] link on lefthand side:
-------------------------------------------------------------------------
--><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}} {{{class|}}}" style="position:relative;width:100%;border:{{{border|none}}};{{{style|}}}"><!--
--><div class="NavHead" style="position:absolute;width:3.2em<!--(to accommodate "[show]")-->;background:transparent;"></div><!--
--><div style="font-size:100%;height:1.6em;background:transparent;padding-left:2.8em<!--(should place text just after [show/hide])-->;
text-align:{{{ta1|left}}};font-weight:bold;{{{extra1|}}}{{{titlestyle|{{{headercss|}}}}}}"> <!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!--
--><div class="NavContent" style="padding-left:0.3em;text-align:{{{ta2|left}}};{{{extra2|}}}{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"><!--
-->| <!------------------------------------------------------------------------
showhide /= left, so place [show/hide] link on righthand side:
-------------------------------------------------------------------------
--><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}} {{{class|}}}" style="border:{{{border|none}}};{{{style|}}}"><!--
--><div class="NavHead" style="background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}}{{{titlestyle|{{{headercss|}}}}}}"><!--
deprecated:-->{{{header|}}}<!---->{{{title|}}} </div><!--
--><div class="NavContent" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{extra2|}}}{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"><!--
-->}}</includeonly><noinclude>{{Documentation}}</noinclude>
bc18fa7753ccd46ec2b42178049cb60ab851f3ba
Template:Hidden begin/doc
10
100
187
186
2021-01-05T17:26:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{hatnote|This documentation is shared by {{tl|Hidden begin}} and {{tl|Hidden end}}.}}
{{#ifeq: {{FULLPAGENAME}} | Template:Hidden begin
| {{high-risk| 125,500+ }}
| {{#ifeq: {{FULLPAGENAME}} | Template:Hidden end
| {{high-risk| 125,600+ }}
}}
}}
{{TOC limit|2}}
{{Template:Collapse Templates}}
==Syntax==
<pre style="overflow:auto;">
{{Hidden begin
| expanded = <!--"true", "on", yes", etc, otherwise omit-->
| showhide = <!--"left", otherwise omit-->
| class =
| style =
| border =
| title =
| titlestyle =
| bg1 =
| ta1 =
| contentstyle =
| bg2 =
| ta2 =
<!--Older, semi-deprecated parameters:-->
| header = | extra1 = | extra2 =
}}
<!----[content to be hidden placed here]---->
{{Hidden end}}
</pre>
===Parameters===
{| class="wikitable"
! Parameter || Description
|-
| ''showhide''<!--previously: <br />or ''toggle''--> || Set to "left" (without speechmarks) to switch the [show/hide] link's position from the righthand end of the titlebar (default) to the left.
|-
| ''expanded'' || Set to anything ("true", "yes", etc.) to switch the hidden section's initial state from collapsed (hidden) to expanded (visible).
|-
| ''class'' || [[WP:CLASS#Classes|Class attribute]] affecting entire area.
|-
| ''style'' || [[Cascading Style Sheets|CSS styling]] affecting entire area (titlebar and hidden/hideable content).
|-
| ''border'' || CSS styling for border around entire area. May be overridden if ''style'' includes anything that changes the border.
|-
| ''title'' || Text shown in titlebar.
|-
| style="vertical-align:top;" | ''titlestyle'' || CSS styles to apply to the titlebar (e.g. {{para|titlestyle|border:1px solid lightgrey;}} to produce a border around it; {{para|titlestyle|background:''color'';}} to set its background color to [[Web colors#X11 color names|''color'']] ; {{para|titlestyle|text-align:[center/right];}} to switch its text (''title'')'s alignment from left to center or right; etc.).
|-
| ''bg1'' || Background color for titlebar; defaults to transparent. May be overridden if ''titlestyle'' includes anything changes the background.
|-
| ''ta1'' || Text alignment for titlebar; defaults to left. May be overridden if ''titlestyle'' includes anything that changes the text alignment.
|-
| ''contentstyle'' || CSS styling to apply to the hidden/hideable content (e.g. background and text-align, per ''titlestyle'').
|-
| ''bg2'' || Background color for content; defaults to transparent. May be overridden if ''contentstyle'' includes anything changes the background.
|-
| ''ta2'' || Text alignment for content; defaults to left. May be overridden if ''contentstyle'' includes anything that changes the text alignment.
|}
==Examples==
===Example 1===
<pre style="overflow:auto;">
{{Hidden begin |title=Default example}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |title=Default example}}
* def
* ghi
{{Hidden end}}
===Example 2===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink;
| title = ''titlestyle'' is "background:pink;"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink;
| title = ''titlestyle'' is "background:pink;"
}}
* def
* ghi
{{Hidden end}}
===Example 3===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink; text-align:center;
| title = added "text-align:center;"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink; text-align:center;
| title = added "text-align:center;"
}}
* def
* ghi
{{Hidden end}}
===Example 4===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
| title = ''title'' on right with 3.0em padding
}}
* change window width and
* watch title alignment
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
| title = ''title'' on right with 3.0em padding
}}
* change window width and
* watch title alignment
{{Hidden end}}
===Example 5===
<pre style="overflow:auto;">
{{Hidden begin |showhide=left |expanded=true
| titlestyle = background:palegreen;
| title = ''showhide'' set to "left" and ''expanded'' set to "true"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |showhide=left |expanded=true
| titlestyle = background:palegreen;
| title = ''showhide'' set to "left" and ''expanded'' set to "true"
}}
* def
* ghi
{{Hidden end}}
===Example 6===
<pre style="overflow:auto;">
{{Hidden begin |showhide=left
| titlestyle = background:palegreen;
| title = <code style="background:transparent;">showhide=left</code>, hidden content 150% size and in bold (''contentstyle'')
| contentstyle = font-size:150%; font-weight:bold;
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |showhide=left
| titlestyle = background:palegreen;
| title = <code style="background:transparent;">showhide=left</code>, hidden content 150% size and in bold (''contentstyle'')
| contentstyle = font-size:150%; font-weight:bold;
}}
* def
* ghi
{{Hidden end}}
===Example 7===
<!-- This example updated to show that bg1/ta1 only affect titlebar, used ta1=right since it is non-default for titlebar and content. -->
<pre style="overflow:auto;">
{{Hidden begin
| header = [''header'' (deprecated)]
| titlestyle = font-style:italic; padding-right:3.0em;
| title = [''title'' set to this text]
| border = 1px solid grey
| bg1 = palegreen
| ta1 = right
| extra1 = font-size:120%; <!--semicolon required since titlestyle is used-->
| extra2 = font-size:150% <!--semicolon optional when contentstyle not used-->
}}
* make window narrower and
* title will wrap
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| header = [''header'' (deprecated)]
| titlestyle = font-style:italic; padding-right:3.0em;
| title = [''title'' set to this text]
| border = 1px solid grey
| bg1 = palegreen
| ta1 = right
| extra1 = font-size:120%;
| extra2 = font-size:150%
}}
* make window narrower and
* title will wrap
{{Hidden end}}
===Example 8===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle =
| title = title&nbsp;with&nbsp;non-breaking&nbsp;spaces&nbsp;
| border = 1px solid red
| bg1 = cyan
| bg2 = yellow
| ta1 = right
| ta2 = left
| extra1 = font-size:120%; padding-right:2.5em;
| extra2 = font-size:150%; padding-left:3.0em;
}}
* def ... these should have left padding
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle =
| title = title with non-breaking spaces
| border = 1px solid red
| bg1 = cyan
| bg2 = yellow
| ta1 = right
| ta2 = left
| extra1 = font-size:120%; padding-right:2.5em;
| extra2 = font-size:150%; padding-left:3.0em;
}}
* def ... these should have left padding
* ghi
{{Hidden end}}
==See also==
* {{tl|Hidden}}
<includeonly>{{basepage subpage
| <!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Collapse templates]]
}}</includeonly>
9210f6756608b313a2608e7931a95e30903ec16b
Template:Hidden end
10
101
189
188
2021-01-05T17:26:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{{hatnote|Templates {{noredirect|Template:End hidden|End hidden}} and {{noredirect|Template:End hidden section|End hidden section}} redirect here.}}</noinclude><!--
--></div></div><!--
--><noinclude>{{Documentation|Template:Hidden begin/doc}}</noinclude>
367444eeeb25b1236c71e89c7c7dba646163274f
Template:Hidden end/doc
10
102
191
190
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{hatnote|This documentation is shared by {{tl|Hidden begin}} and {{tl|Hidden end}}.}}
{{#ifeq: {{FULLPAGENAME}} | Template:Hidden begin
| {{high-risk| 125,500+ }}
| {{#ifeq: {{FULLPAGENAME}} | Template:Hidden end
| {{high-risk| 125,600+ }}
}}
}}
{{TOC limit|2}}
{{Template:Collapse Templates}}
==Syntax==
<pre style="overflow:auto;">
{{Hidden begin
| expanded = <!--"true", "on", yes", etc, otherwise omit-->
| showhide = <!--"left", otherwise omit-->
| class =
| style =
| border =
| title =
| titlestyle =
| bg1 =
| ta1 =
| contentstyle =
| bg2 =
| ta2 =
<!--Older, semi-deprecated parameters:-->
| header = | extra1 = | extra2 =
}}
<!----[content to be hidden placed here]---->
{{Hidden end}}
</pre>
===Parameters===
{| class="wikitable"
! Parameter || Description
|-
| ''showhide''<!--previously: <br />or ''toggle''--> || Set to "left" (without speechmarks) to switch the [show/hide] link's position from the righthand end of the titlebar (default) to the left.
|-
| ''expanded'' || Set to anything ("true", "yes", etc.) to switch the hidden section's initial state from collapsed (hidden) to expanded (visible).
|-
| ''class'' || [[WP:CLASS#Classes|Class attribute]] affecting entire area.
|-
| ''style'' || [[Cascading Style Sheets|CSS styling]] affecting entire area (titlebar and hidden/hideable content).
|-
| ''border'' || CSS styling for border around entire area. May be overridden if ''style'' includes anything that changes the border.
|-
| ''title'' || Text shown in titlebar.
|-
| style="vertical-align:top;" | ''titlestyle'' || CSS styles to apply to the titlebar (e.g. {{para|titlestyle|border:1px solid lightgrey;}} to produce a border around it; {{para|titlestyle|background:''color'';}} to set its background color to [[Web colors#X11 color names|''color'']] ; {{para|titlestyle|text-align:[center/right];}} to switch its text (''title'')'s alignment from left to center or right; etc.).
|-
| ''bg1'' || Background color for titlebar; defaults to transparent. May be overridden if ''titlestyle'' includes anything changes the background.
|-
| ''ta1'' || Text alignment for titlebar; defaults to left. May be overridden if ''titlestyle'' includes anything that changes the text alignment.
|-
| ''contentstyle'' || CSS styling to apply to the hidden/hideable content (e.g. background and text-align, per ''titlestyle'').
|-
| ''bg2'' || Background color for content; defaults to transparent. May be overridden if ''contentstyle'' includes anything changes the background.
|-
| ''ta2'' || Text alignment for content; defaults to left. May be overridden if ''contentstyle'' includes anything that changes the text alignment.
|}
==Examples==
===Example 1===
<pre style="overflow:auto;">
{{Hidden begin |title=Default example}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |title=Default example}}
* def
* ghi
{{Hidden end}}
===Example 2===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink;
| title = ''titlestyle'' is "background:pink;"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink;
| title = ''titlestyle'' is "background:pink;"
}}
* def
* ghi
{{Hidden end}}
===Example 3===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink; text-align:center;
| title = added "text-align:center;"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink; text-align:center;
| title = added "text-align:center;"
}}
* def
* ghi
{{Hidden end}}
===Example 4===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
| title = ''title'' on right with 3.0em padding
}}
* change window width and
* watch title alignment
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
| title = ''title'' on right with 3.0em padding
}}
* change window width and
* watch title alignment
{{Hidden end}}
===Example 5===
<pre style="overflow:auto;">
{{Hidden begin |showhide=left |expanded=true
| titlestyle = background:palegreen;
| title = ''showhide'' set to "left" and ''expanded'' set to "true"
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |showhide=left |expanded=true
| titlestyle = background:palegreen;
| title = ''showhide'' set to "left" and ''expanded'' set to "true"
}}
* def
* ghi
{{Hidden end}}
===Example 6===
<pre style="overflow:auto;">
{{Hidden begin |showhide=left
| titlestyle = background:palegreen;
| title = <code style="background:transparent;">showhide=left</code>, hidden content 150% size and in bold (''contentstyle'')
| contentstyle = font-size:150%; font-weight:bold;
}}
* def
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |showhide=left
| titlestyle = background:palegreen;
| title = <code style="background:transparent;">showhide=left</code>, hidden content 150% size and in bold (''contentstyle'')
| contentstyle = font-size:150%; font-weight:bold;
}}
* def
* ghi
{{Hidden end}}
===Example 7===
<!-- This example updated to show that bg1/ta1 only affect titlebar, used ta1=right since it is non-default for titlebar and content. -->
<pre style="overflow:auto;">
{{Hidden begin
| header = [''header'' (deprecated)]
| titlestyle = font-style:italic; padding-right:3.0em;
| title = [''title'' set to this text]
| border = 1px solid grey
| bg1 = palegreen
| ta1 = right
| extra1 = font-size:120%; <!--semicolon required since titlestyle is used-->
| extra2 = font-size:150% <!--semicolon optional when contentstyle not used-->
}}
* make window narrower and
* title will wrap
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| header = [''header'' (deprecated)]
| titlestyle = font-style:italic; padding-right:3.0em;
| title = [''title'' set to this text]
| border = 1px solid grey
| bg1 = palegreen
| ta1 = right
| extra1 = font-size:120%;
| extra2 = font-size:150%
}}
* make window narrower and
* title will wrap
{{Hidden end}}
===Example 8===
<pre style="overflow:auto;">
{{Hidden begin
| titlestyle =
| title = title&nbsp;with&nbsp;non-breaking&nbsp;spaces&nbsp;
| border = 1px solid red
| bg1 = cyan
| bg2 = yellow
| ta1 = right
| ta2 = left
| extra1 = font-size:120%; padding-right:2.5em;
| extra2 = font-size:150%; padding-left:3.0em;
}}
* def ... these should have left padding
* ghi
{{Hidden end}}
</pre>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle =
| title = title with non-breaking spaces
| border = 1px solid red
| bg1 = cyan
| bg2 = yellow
| ta1 = right
| ta2 = left
| extra1 = font-size:120%; padding-right:2.5em;
| extra2 = font-size:150%; padding-left:3.0em;
}}
* def ... these should have left padding
* ghi
{{Hidden end}}
==See also==
* {{tl|Hidden}}
<includeonly>{{basepage subpage
| <!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Collapse templates]]
}}</includeonly>
9210f6756608b313a2608e7931a95e30903ec16b
Template:Box for import Wikipedia
10
103
193
192
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:Logo Import Wikipédia 1.png|80px|logo import Wikipedia]]
|{{{text}}}
|}
</div><noinclude>
This template must be used in order to comment an Import for Wikipedia.
Syntax:
<pre>
{{Box for import Wikipedia
|text= Lorem ipsum...
}}
</pre>
[[Category:Import Wikipedia]]
[[fr:Modèle:Boîte pour import Wikipédia]]
</noinclude>
44c4fc7350d20b242477e947e4b819ff3be93483
Template:Template imported from Wikipedia
10
104
195
194
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Box for import Wikipedia
|text=Template imported from Wikipedia, see:
* original one (Wikipedia): [[wikipedia:Template:{{PAGENAME}}|Template:{{PAGENAME}}]]{{#if:{{{url|}}}|, uploaded version : [{{{url}}}]}}.
{{#switch:{{{adaptation|}}}|page=
* local adaptations are described on: [[Template talk:{{PAGENAME}}|Template discussion page]].
|no=
|below=
* local adaptations are described below:<hr/>{{{text}}}
}}
}}
[[Category:Template imported from Wikipedia]]<noinclude>
This template must be used in order to indicate that it comes from Wikipedia.
[[fr:Modèle:Modèle importé de Wikipédia]]
[[de:Vorlage:Vorlage von Wikipedia hochgeladen]]
</noinclude>
561480013694828dad7c9f488f2c67631abf191f
Template:Template imported from Wikipedia in French
10
105
197
196
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Box for import Wikipedia
|text=Template imported from Wikipedia in French, see:
* original one (Wikipedia in Franch): [[wikipedia.fr:Modèle:{{PAGENAME}}|Modèle:{{PAGENAME}}]]{{#if:{{{url|}}}|, uploaded version : [{{{url}}}]}}.
{{#switch:{{{adaptation|}}}|page=
* local adaptations are described on: [[Template talk:{{PAGENAME}}|Template discussion page]].
|no=
|below=
* local adaptations are described below:<hr/>{{{text}}}
}}
}}
[[Category:Template imported from Wikipedia]]<noinclude>
This template must be used in order to indicate that it comes from Wikipedia in Franch.
[[fr:Modèle:Modèle importé de Wikipédia France]]
</noinclude>
15974e0aa9c086294fd08f4c58311ef5640d7b0b
Template:Page imported from Wikipedia
10
106
199
198
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:Logo Import Wikipédia 1.png|80px|logo import Wikipédia]]
|{{{intro}}} ([http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License Creative Commons Attribution-ShareAlike]).
Source : [[wikipedia:{{PAGENAME}}|{{PAGENAME}}]] from [[wikipedia:Main Page|Wikipedia, The Free Encyclopedia. ]] ([{{{url}}} auteurs] ).
|}
</div>[[Category:Page imported from Wikipédia]]</includeonly><noinclude>
This template must be used with a page which is imported from Wikipedia.
<code>
<nowiki>{{</nowiki>Page imported from Wikipedia
|'''intro''' =''introduction sentence''
|'''url''' = ''authors url''
<nowiki>}}</nowiki>
</code>
See also: [[Modèle:Paragraphe importé de Wikipédia]]
[[fr:Modèle:Page importée de Wikipédia]]
[[Category:Page imported from Wikipedia]]
[[Category:Template for Wicri banner]]
</noinclude>
5d74ceb423f7a3f3a49c746bd6dd10f6f5c83238
Template:File imported from Commons
10
107
201
200
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{Box for import Wikipedia
|text= File imported from Wikipedia Commons, see:
* original one (Wikipedia): [[commons:File:{{{File|{{PAGENAME}}}}}|File:{{{File|{{PAGENAME}}}}}]]{{#if:{{{url|}}}|, uploaded version : [{{{url}}}]}}.
{{#switch:{{{adaptation|}}}|page=
* local adaptations are described on: [[Template talk:{{PAGENAME}}|Template discussion page]].
|no=
|below=
* local adaptations are described below:<hr/>{{{text}}}
}}
}}
[[Category:File imported from Wikimedia Commons]]</includeonly><noinclude>
This template must be used in order to indicate that it comes from Wikipedia.
<nowiki>{{File imported from Commons</nowiki>
|File= (optional) ''name of the file if the names are different''
|url= (mandatory) ''url of last update on Commons''
}}
[[Category:Import Wikipedia]]
[[fr:Modèle:Fichier importé de Wikimedia Commons]]
</noinclude>
23da914a2c87edb905c8aa8083f9418573f6874e
Template:Template imported from Commons
10
108
203
202
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{Box for import Wikipedia
|text= Template imported from Wikipedia Commons, see:
* original one (Wikipedia): [[commons:Template:{{PAGENAME}}|File:{{PAGENAME}}]]{{#if:{{{url|}}}|, uploaded version : [{{{url}}}]}}.
{{#switch:{{{adaptation|}}}|page=
* local adaptations are described on: [[Template talk:{{PAGENAME}}|Template discussion page]].
|no=
|below=
* local adaptations are described below:<hr/>{{{text}}}
}}
}}
[[Category:Template imported from Wikimedia Commons]]</includeonly><noinclude>
This template must be used in order to indicate that it comes from Wikipedia.
[[Category:Import Wikipedia]]
[[fr:Modèle:Fichier importé de Wikimedia Commons]]
</noinclude>
31ebdb80e4e4e87df5e946235cd008f9255bbc5c
Template:Upload/Template from Wikipedia
10
109
205
204
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Upload/Banner/Wikipedia
|text={{{introduction|This template bas been uploaded from [[Wikipedia]]}}}. ([http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-Share-Alike License 3.0]).
* Source : « {{{page|[[wikipedia:Template:{{PAGENAME}}{{!}}{{PAGENAME}}]]}}} » ([http://{{{url}}}] ) from: ''[[wikipedia:Main Page|Wikipedia in English]] ''
{{{compléments|}}}
}}
<noinclude>
;parameters:
:* introduction
:* page -
:* url - ''mandatory''
::This parameter links to effective page with id number (obtained with history)
:* complements
[[fr:Modèle:Téléchargement/Page Wikipédia]]
[[de:Vorlage:Herunterladen/Seite von Wikipedia]]
</noinclude>
871d605bdb0662489cff0d5eda8db29f56d07746
Template:Upload/Page from Wikipedia
10
110
207
206
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Upload/Banner/Wikipedia
|text={{{introduction|This page bas been uploaded from [[Wikipedia]]}}}. ([http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-Share-Alike License 3.0]).
* Source : « {{{page|[[wikipedia:{{PAGENAME}}{{!}}{{PAGENAME}}]]}}} » ([http://{{{url}}}] ) from: ''[[wikipedia:Main Page|Wikipedia in English]] ''
{{{compléments|}}}
}}
<noinclude>
;parameters:
:* introduction
:* page -
:* url - ''mandatory''
::This parameter links to effective page with id number (obtained with history)
:* complements
[[fr:Modèle:Téléchargement/Page Wikipédia]]
[[de:Vorlage:Herunterladen/Seite von Wikipedia]]
</noinclude>
def9d4a99a543df8c43ee9cf9ae34b6651d3b71a
Template:Upload/Banner
10
111
209
208
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:{{{logo|Nuvola apps forward arrow.png}}}|{{{logo size|80px}}}|{{{logo message|upload logo}}}]]
|{{{text}}}
|}
</div><noinclude>
This template is a basic one for downloading from external sites.
[[fr:Modèle:Téléchargement/Bannière]]
</noinclude>
02d9892ced0f7cff0358421694c304ff2c1baedc
Template:Upload/Banner/Wikipedia
10
112
211
210
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Upload/Banner
|logo=Logo Import Wikipédia 1.png
|text={{{text}}}
}}
<noinclude>
[[fr:Modèle:Téléchargement/Bannière/Wikipédia]]
[[de:Vorlage:Herunterladen/Banner/Wikipedia]]
</noinclude>
dea74983b8cdd2a3bda5979cbd1d4baa75b058fd
Template:Begin article body
10
113
213
212
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Article body/Begin]]
975f09a7cc69ec4ac9073d370478220e1e9a9d6a
Template:End article body
10
114
215
214
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Article body/End]]
901123d2322e2bddbc8d7242aa1dd5d7a4c30f7a
Template:Article body/Begin
10
115
217
216
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><center>
<div style="width:{{{width|35em}}};text-align:justify;font-family: Times New Roman, Times, Liberation Serif, FreeSerif;font-size: 130%;line-height:170%;"></includeonly><noinclude>
The template '''Begin article body''' indique la début du corps d'un article réédité.
Il sert à formater et justifier le texte d'un article retenu.
Il doit impérativement être utilisé avec le modèle [[Template:End article body|End article body]].
[[fr:Modèle:Corps article/Début]]
</noinclude>
0a0483819fccd189e4709b1563cdaafff252199c
Template:Article body/End
10
116
219
218
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
</div></center>
30811140b2fce90b3fd67f0eaf27210ce2d5ec92
Template:Article body/Bibl
10
117
221
220
2021-01-05T17:26:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><p style="margin-left:2em;text-indent:-1em;" {{#if:{{{id|}}}|id="article body bibl {{{id}}}"}}>
{{#if:{{{id|}}}|<nowiki>[</nowiki>{{#if:{{{link|}}}|[[Has cited article::{{{link}}}|{{{id édité|{{{id}}}}}}]] |
{{{id édité|{{{id}}}}}}}}<nowiki>]</nowiki> <!--
-->[[#article body link bibl {{{id}}}|↑]]}}<!--
-->{{#if:{{{id 2|}}}|<span id="article body bibl {{{id 2}}}">[[#corps article lien bibl {{{id 2}}}|↑]]</span>}}<!--
-->{{#if:{{{id 3|}}}|<span id="article body bibl {{{id 3}}}">[[#corps article lien bibl {{{id 3}}}|↑]]</span>}}
{{#if:{{{auteur 9|}}}|[[Has cited author::{{{author}}}]], [[A pour auteur cité::{{{auteur 2}}}]], [[A pour auteur cité::{{{auteur 3}}}]], [[A pour auteur cité::{{{auteur 4}}}]], [[A pour auteur cité::{{{auteur 5}}}]], [[A pour auteur cité::{{{auteur 6}}}]], [[A pour auteur cité::{{{auteur 7}}}]], [[A pour auteur cité::{{{auteur 8}}}]] et [[A pour auteur cité::{{{auteur 9}}}]], |
{{#if:{{{auteur 8|}}}|[[A pour auteur cité::{{{auteur}}}]], [[A pour auteur cité::{{{auteur 2}}}]], [[A pour auteur cité::{{{auteur 3}}}]], [[A pour auteur cité::{{{auteur 4}}}]], [[A pour auteur cité::{{{auteur 5}}}]], [[A pour auteur cité::{{{auteur 6}}}]], [[A pour auteur cité::{{{auteur 7}}}]] et [[A pour auteur cité::{{{auteur 8}}}]], |
{{#if:{{{auteur 7|}}}|[[A pour auteur cité::{{{auteur}}}]], [[A pour auteur cité::{{{auteur 2}}}]], [[A pour auteur cité::{{{auteur 3}}}]], [[A pour auteur cité::{{{auteur 4}}}]], [[A pour auteur cité::{{{auteur 5}}}]], [[A pour auteur cité::{{{auteur 6}}}]] et [[A pour auteur cité::{{{auteur 7}}}]], |
{{#if:{{{auteur 6|}}}|[[A pour auteur cité::{{{author}}}]], [[A pour auteur cité::{{{auteur 2}}}]], [[A pour auteur cité::{{{auteur 3}}}]], [[A pour auteur cité::{{{auteur 4}}}]], [[A pour auteur cité::{{{auteur 5}}}]] et [[A pour auteur cité::{{{author 6}}}]], |
{{#if:{{{author 5|}}}|[[Has cited author::{{{author}}}]], [[Has cited author::{{{author 2}}}]], [[Has cited author::{{{author 3}}}]], [[Has cited author::{{{author 4}}}]] and [[Has cited author::{{{author 5}}}]], |
{{#if:{{{author 4|}}}|[[Has cited author::{{{author}}}]], [[Has cited author::{{{author 2}}}]], [[Has cited author::{{{author 3}}}]] and [[Has cited author::{{{author 4}}}]], |
{{#if:{{{author 3|}}}|[[Has cited author::{{{author}}}]], [[Has cited author::{{{auteur 2}}}]] and [[Has cited author::{{{author 3}}}]], |
{{#if:{{{author 2|}}}|[[Has cited author::{{{author}}}]] and [[Has cited author::{{{author 2}}}]], |
{{#if:{{{author|}}}|[[Has cited author::{{{author}}}]], |}}}}}}}}}}}}}}}}}} {{{text}}}<!--
-->
{{#if:{{{url|}}}|<br>En ligne : {{{url}}} <!--
-->{{#if:{{{date url|}}}| ''(consulté le {{{date url}}})''}} }}</p></includeonly><noinclude>
[[fr:Modèle:Corps article/Bibl]]
</noinclude>
e19ca7154d8e0aa684bfce6dc3e77b52f69f0f54
Template:Article body/Link bibl
10
118
223
222
2021-01-05T17:26:02Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><span id="article body link bibl {{{1}}}">[[#article body bibl {{{1}}}|{{{2|{{{1}}}}}}]]</span></includeonly><noinclude>
This model inserts in the text a link towards a bibliographic item (managed by template [[Template:Article body/Bibl|Article body/Bibl]].
[[fr:Modèle:Corps article/Lien bibl]]
</noinclude>
5bdd88b6e443a2681a0e27404f45e08ca656df77
Template:Tag
10
119
225
224
2021-01-05T17:26:02Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
Opening tag
-->{{#switch:{{{2|pair}}}
|c|close =
|e|empty|s|single|v|void
|o|open
|p|pair = <{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}}
}}<!--
Content between tags
-->{{#switch:{{{2|pair}}}
|c|close = {{{content|}}}
|e|empty|s|single|v|void =  />
|o|open = >{{{content|}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{content|...}}}
}}<!--
Closing tag
-->{{#switch:{{{2|pair}}}
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}}
}}<!--
--></code><noinclude>
{{Documentation}}
</noinclude>
eae208bc1612c834de697fa3ee9b343966cf8602
Template:Underline
10
120
227
226
2021-01-05T17:26:02Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span style="text-decoration: underline;">{{{1}}}</span><noinclude>
{{Documentation}}
<!--
PLEASE ADD CATEGORIES TO THE /doc SUBPAGE;
INTERWIKIS GO TO WIKIDATA, THANK YOU!
-->
[[fr:Modèle:Souligner]]
</noinclude>
a97ab4c2dd6eaefcef8043a349a7885ec580c351
Template:Underline/doc
10
121
229
228
2021-01-05T17:26:02Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{See|MOS:BADEMPHASIS|MOS:QUOTE}}
{{Template shortcut|Under|Unline|Undline}}
{{used in system}}
This template formats a span of text using {{tag|span|params=style="text-decoration: underline;"}}. This adds underlining without the semantics of {{tag|u}}.
{{markup
|<nowiki>{{underline|Lorem ipsum dolor sit amet, consectetur}}</nowiki>
|{{underline|Lorem ipsum dolor sit amet, consectetur}}
}}
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Text-specific formatting and function templates|{{PAGENAME}}]]
[[Category:Wikipedia XHTML tag-replacing templates]]
[[Category:Typing-aid templates|{{PAGENAME}}]]
}}</includeonly>
279b9fcb3b8a0b464a05b938091f8bf5e6135a57
User:Jacques Ducloy
2
2
230
2
2021-01-05T17:28:01Z
Jacques Ducloy
1
wikitext
text/x-wiki
==Testing area==
* [[{{FULLPAGENAME}}/Testing area|Testing area]]
* [[{{FULLPAGENAME}}/Setting up the wiki]]
98a4ae11bc84f8d050e69cc0d363757caad9292f
User:Jacques Ducloy/Setting up the wiki
2
122
231
2021-01-05T17:28:19Z
Jacques Ducloy
1
Created page with "This page gives information on how this wiki is installed. ==Wicri templates or initial pages== * [[Template:Clr]] * [[Template:Wicri global map]] * [[Template:Catmore]] * [..."
wikitext
text/x-wiki
This page gives information on how this wiki is installed.
==Wicri templates or initial pages==
* [[Template:Clr]]
* [[Template:Wicri global map]]
* [[Template:Catmore]]
* [[Template:Countries of Europe]]
* [[Template:Semantic Infobox Person]]
* [[:Category:Psychology]]
76a7026ec4c956e30dac60dbd69bfd2ab502adfe
Template:Wicri global map
10
123
233
232
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template shows a global map of the Wicri network
<pre>
{{Wicri global map
|map size = 550 implicit
|size 1 = 58 implicit
|size 2 = 50 implicit
|size 3 = 46 implicit
|size 4 = 44 implicit
|size 5 = 40 implicit
|private = link to private wiki
}}
</pre>
See also: [[Template:Wicri carte globale]]
[[fr:Modèle:Wicri carte globale]]
</noinclude><div style="position:relative;width:{{{map size|550}}}px;">
[[File:WicriRéseauGabarit2.png|{{{map size|550}}}px]]
<div style="position: absolute; top: 1%; left: 50%;">
<div style="position: absolute; left: -{{#expr: {{{size 1|54}}} / 2}}px;">
[[{{Logo Wicri Root en}}|{{{size 1|54}}}px|link=wicri-root.en:Main Page|Going to Wicri/Root]]
</div>
</div>
<div style="position: absolute; top: 18%; left: 50%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri en}}|{{{size 5|40}}}px|link=wicri.en:Main Page|Going to Wicri/Wicri]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 32%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|46}}} / 2}}px;">
[[{{Logo Wicri Africa en}}|{{{size 3|46}}}px|link=wicri-africa.en:Main Page|Going to Wicri/Africa]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 40.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|46}}} / 2}}px;">
[[{{Logo Wicri Americas en}}|{{{size 3|46}}}px|link=wicri-americas.en:Main Page|Going to Wicri/Americas (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 60%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|46}}} / 2}}px;">
[[{{Logo Wicri Asia en}}|{{{size 3|46}}}px|link=wicri-asia.en:Main Page|Going to Wicri/Asia & Oceania (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 68.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|46}}} / 2}}px;">
[[{{Logo Wicri Europe en}}|{{{size 3|46}}}px|link=wicri-europe.en:Main Page|Going to Wicri/Europe]]
</div>
</div>
{{Wicri global map, pool|size 4={{{size 4|44}}}}}
<div style="position: absolute; top: 6%; left:23.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Man en}}|{{{size 4|44}}}px|link=wicri-man.en:Main Page|Going to Wicri/Manual]]
</div>
</div>
{{Wicri global map, base|size 4={{{size 4|44}}}}}
<div style="position: absolute; top: 9%; left: 85%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Metadata en}}|{{{size 4|44}}}px|link=wicri-meta.en:Main Page|Going to Wicri/Metadata]]
</div>
</div>
<div style="position: absolute; top: 11%; left: 93%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Tools en}}|{{{size 4|44}}}px|link=wicri-tools.en:Main Page|Going to Wicri/Tools]]
</div>
</div>
{{#if:{{{private|}}} |
<div style="position: absolute; top: 10%; left: 7%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[File:Panneau travaux.png|{{{size 5|40}}}px|link={{{privé}}}|Going to private wiki]]
</div>
</div>
}}
<div style="position: absolute; top: 33%; left: 53.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Linguistics en}}|{{{size 4|40}}}px|link=wicri-linguistics.en:Main Page|Going to Wicri/Linguistics (en)]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 60%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Health en}}|{{{size 5|40}}}px|link=wicri-health.en:Main Page|Going to Wicri/Health (en)]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 67%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Agronomy en}}|{{{size 4|40}}}px|link=wicri-agronomy.en:Main Page|Going to Wicri/Agronomy]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 74%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Ticri en}}|{{{size 4|40}}}px|link=ticri.en:Main Page|Going to Wicri/Ticri]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 81.2%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Engineering en}}|{{{size 4|40}}}px|link=wicri-engin.en:Main Page|Going to Wicri/Engineering]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 88.2%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Archaeology en}}|{{{size 4|40}}}px|link=wicri-archaeology.en:Main Page|Going to Wicri/Archaeology]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 95.5%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Computer science en}}|{{{size 4|40}}}px|link=wicri-computer-science.en:Main Page|Going to Wicri/Computer science]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 46.5%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Psychology en}}|{{{size 4|40}}}px|link=wicri-psycho.en:Main Page|Going to Wicri/Psychology]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 39.5%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Music en}}|{{{size 4|40}}}px|link=wicri-music.en:Main Page|Going to Wicri/Music]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 32%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Earth en}}|{{{size 4|40}}}px|link=wicri-earth.en:Main Page|Going to Wicri/Earth]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 24.6%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Urban soils en}}|{{{size 4|40}}}px|link=wicri-urban-soils.en:Main Page|Going to Wicri/Urban Soils]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 17.6%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Wood en}}|{{{size 4|40}}}px|link=wicri-wood.en:Main Page|Going to Wicri/Wood and forests]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 11.2%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Water en}}|{{{size 4|40}}}px|link=wicri-water.en:Main Page|Going to Wicri/Water]]
</div>
</div>
<div style="position: absolute; top: 33%; left: 4.4%;">
<div style="position: absolute; left:-{{#expr: {{{size 4|40}}} / 2}}px;">
[[{{Logo Wicri Biomass en}}|{{{size 4|40}}}px|link=wicri-biomass.en:Main Page|Going to Wicri/Biomass]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 50%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri France en}}|{{{size 4|44}}}px|link=wicri-france.en:Main Page|Going to Wicri/France]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 42%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Luxembourg en}}|{{{size 4|44}}}px|link=wicri-lux.en:Main Page|Going to Wicri/Luxembourg]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 58.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Canada en}}|{{{size 4|44}}}px|link=wicri-canada.en:Main Page|Going to Wicri/Canada (en)]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 66.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Morocco en}}|{{{size 4|44}}}px|link=wicri-morocco.en:Main Page|Going to Wicri/France]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 74%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Brazil en}}|{{{size 4|44}}}px|link=wicri-brazil.en:Main Page|Going to Wicri/Brazil (en)]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 81.25%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Greater Region en}}|{{{size 5|40}}}px|link=wicri-gr.en:Main Page|Going to Wicri/Greater Region]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 88.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Alsace en}}|{{{size 5|40}}}px|link=wicri-alsace.en:Main Page|Going to Wicri/Alsace]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 95.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Lorraine en}}|{{{size 5|40}}}px|link=wicri-lor.en:Main Page|Going to Wicri/Lorraine]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 34%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Belgium en}}|{{{size 4|44}}}px|link=wicri-belgium.en:Main Page|Going to Wicri/Belgium]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 26.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Germany en}}|{{{size 4|44}}}px|link=wicri-germany.en:Main Page|Going to Wicri/Germany]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 19%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Wallonia en}}|{{{size 5|40}}}px|link=wicri-wallonie.en:Main Page|Going to Wicri/Wallonia]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 12%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Saarland en}}|{{{size 5|40}}}px|link=wicri-saarland.en:Main Page|Going to Wicri/Saarland]]
</div>
</div>
<div style="position: absolute; top: 65%; left: 5%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|40}}} / 2}}px;">
[[{{Logo Wicri Rhineland-Palatinate en}}|{{{size 5|40}}}px|link=wicri-rhin-pal.en:Main Page|Going to Wicri/Rhineland-Palatinate]]
</div>
</div>
</div>
21015c1e4fcabc445551bfb4d64af8edcb014554
Template:Wicri global map (en)
10
124
235
234
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
Ce modèle affiche une carte globale des wikis communs du réseau Wicri
<pre>
{{Wicri global map (en)
|map size= 550 (default)
|size 1 = 54 (default)
|size 2 = 50 (default)
|size 3 = 43 (default)
|size 4 = 42 (default)
|size 5 = 39 (default)
|private = link to private wiki
}}
</pre>
[[fr:Modèle:Wicri global map]]
[[de:Vorlage:Globale Karte Wicri]]
[[pt:Predefinição:Mapa de rede Wicri Orientação]]
</noinclude><div style="position:relative;width:{{{map size|550}}}px;">
[[File:WicriRéseauGabarit3.png|{{{map size|550}}}px]]
<div style="position: absolute; top: 4%; left: 17%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Base 1.28 en}}|{{{size 3|43}}}px|link=wicri-base128.en:Main Page|Pour aller sur le wiki de service Wicri/Base 1.28 (fr)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 25%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Base 1.31 en}}|{{{size 3|43}}}px|link=wicri-base131.en:Main Page|Going to wiki Wicri/Base 1.31 (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 33%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Pool LorExplor}}|{{{size 3|43}}}px|link=wic-lorexplor.pool:Main Page|Going to images pool on domain lorexplor.istex.fr]]
</div>
</div>
<div style="position: absolute; top: 4%; left:41%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Root en}}|{{{size 3|43}}}px|link=wicri-root.en:Main Page|Going to home wiki for domain lorexplor.ixtex.fr (en)]]
</div>
</div>
<div style="position: absolute; top: 1%; left: 50%;">
<div style="position: absolute; left: -{{#expr: {{{size 1|54}}} / 2}}px;">
[[{{Logo Wicri Wicri en}}|{{{size 1|54}}}px|link=wicri-wicri.en:Main Page|Going to Wicri/Wicri (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 59%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Home Demo.Istex}}|{{{size 3|43}}}px|link=wic-demo.istex.fr:Main Page|Going to home wiki for wicri-demo.istex.fr domain]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 67%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Pool Demo.Istex}}|{{{size 3|43}}}px|link=wic-demo.istex.pool:Main Page|Going to images pool on wicri-demo.istex.fr domain]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 75%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Man en}}|{{{size 3|43}}}px|link=wicri-man.en:Main Page|Going to wiki Wicri/Man (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 93%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Tools en}}|{{{size 3|43}}}px|link=wicri-tools.en:Main Page|Going to Wicri/Tools]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 14%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Arts en}}|{{{size 3|43}}}px|link=wicri-arts.en:Main Page|Going to wiki Wicri/Arts (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 78%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Sic en}}|{{{size 3|43}}}px|link=wicri-sic.en:Main Page|Going to wiki Wicri/Ics (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 71%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Oceania en}}|{{{size 3|43}}}px|link=wicri-oceania.en:Main Page|Going to wiki Wicri/Oceania (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 54%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Grand Est en}}|{{{size 3|43}}}px|link=wic-grand.est.en:Main Page|Going to wiki Wicri/Grand Est (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 92%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Île-de-France en}}|{{{size 3|43}}}px|link=wic-iledefrance.en:Main Page|Going to wiki Wicri/Île-de-France (en)]]
</div>
</div>
</div>
79d540dbb5b67697b5b21b07430dd3ec48686d37
Template:Wicri network navbox
10
125
237
236
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
|bodyclass =
|name = Wicri network navbox
|title = Wicri network
|state =collapsed
|titleclass =
|image =
|above =
|group1 = Kernel
|list1 = [[wicri.en:Main Page|Wicri/Wicri]], [[wicri-pool.inpl:Main Page|Media]], [[wicri-base.en:Main Page|Base]], [[wicri-man.en:Main Page|Man]], [[wicri-meta.en:Main Page|Metadata]], [[wicri-tools.en:Main Page|Tools]], [[incub.en:Main Page|Incubator]]
|group2 = Geographic
|list2 = [[wicri-europe.en:Main Page|Europe]], '''[[wicri-belgium.en:Main Page|Belgium]]''' ([[wicri-wallonie.en:Main Page|Wallonia]]),'''[[wicri-france.en:Main Page|France]]''' ( [[wicri-als.en:Main Page|Alsace]], [[wicri-lor.en:Main Page|Lorraine]]), '''[[wicri-germany.en:Main Page|Germany]]''' ([[wicri-rhin-pal.en:Main Page|Rhineland-Palatinate]], [[wicri-saarland.en:Main Page|Saarland]]), '''[[wicri-lux.en:Main Page|Luxembourg]]''', '''[[wicri-gr.en:Main Page|Greater Region]]'''<br/>[[wicri-africa.en:Main Page|Africa]], '''[[wicri-morocco.en:Main Page|Morocco]]'''
|group3 = ICT
|list3 = [[ticri.en:Main Page|Ticri]], [[artist.en:Main Page|Artist]], [[wicri-computer-science.en:Main Page|Computer Science]]
|group4 =Environment
|list4 = [[wicri-agronomy.en:Main Page|Agronomy]], [[wicri-biomass.en:Main Page|Biomass]], [[wicri-earth.en:Main Page|Earth]], [[wicri-urban-soils.en:Main Page|Urban Soils]], [[wicri-water.en:Main Page|Water]], [[wicri-wood.en:Main Page|Wood]]
|group5 = Humanities
|list5 = [[wicri-archaeology.en:Main Page|Archaeology]], [[wicri-health.en:Main Page|Health]], [[wicri-music.en:Main Page|Music]], [[wicri-psycho.en:Main Page|Psychology]]
}}<noinclude>
[[fr:Modèle:Boîte navigation Wicri]]
</noinclude>
77079ec972c5be59673b8ed66ee8de7ee881d8a7
Template:Wicri global map, base
10
126
239
238
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
Ce modèle est utilisé pour afficher le logo correspondant au wiki Base.
[[{{Logo Wicri Base 1.28 en}}]]
[[fr:Modèle:Wicri carte globale, base]]
</noinclude><includeonly><div style="position: absolute; top: 9%; left: 15%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Base 1.28 en}}|{{{size 4|44}}}px|link=wicri-base128.en:Main Page|Going to general wiki Wicri/Base 1.28 (fr)]]
</div>
</div>
</includeonly>
f1f3edaea6f20deab676aeb20ff2de4b921a6162
Template:Wicri global map, pool
10
127
241
240
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[{{Logo Wicri Pool LorExplor}}]]
[[fr:Modèle:Wicri carte globale, pool]]
</noinclude><includeonly><div style="position: absolute; top: 6%; left: 77%;">
<div style="position: absolute; left: -{{#expr: {{{size 4|44}}} / 2}}px;">
[[{{Logo Wicri Pool LorExplor}}|{{{size 4|44}}}px|link=wicri-pool-lorexplor:Main Page|Going to pool on site LorExplor site]]
</div>
</div>
</includeonly>
d3c76f14ca0bcb0d9e9314da96bc42aaaec3d263
Template:Logo Wicri en
10
128
243
242
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
Image:LogoWicriWicriEnMars2010.png
785654538b2dd62809949a560224d48ec5027f3a
Template:Logo Wicri Wicri en
10
129
245
244
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriWicri2021En.png<noinclude>
[[File:LogoWicriWicri2021En.png|100px]]
</noinclude>
77b47b8b4c8042e07a33e908ff90acb85d09521c
Template:Logo Wicri Root en
10
130
247
246
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriSourceEn.png
9e7ea765b8e0a4350c07210f83597d667ebf7129
Template:Logo Wicri Pool inpl
10
131
249
248
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
Image:Logo Wicri Média.png
5171cd4b62142149793f767a632c3db60ec3a1e2
Template:Logo Wicri Tools en
10
132
251
250
2021-01-05T17:32:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriOutilsAvril2010En.png
0e99093c0723d6df77fa72fb2c68115f4acf4dba
Template:Logo Wicri Man en
10
133
253
252
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriMan2021En.png
b3354d8f377ad5eb3444081c140cce8fb88052e6
Template:Logo Wicri Base en
10
134
255
254
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBaseAvril2010En.png
e09d6d151ee187a741f01d0083c50f75b270fd9c
Template:Logo Wicri Metadata en
10
135
257
256
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriMetaEn.png
49578a2a367ccd46951800855d990ef52d5111b1
Template:Logo Wicri Base 1.28 en
10
136
259
258
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBase128en.png
1bce02cd9631ca26569019e9efdd592ae85e71e0
Template:Logo Wicri Base 1.31 en
10
137
261
260
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:WicriLogoBase131V2021En.png
f7af79527cfd7afd14c6017dee0823c3541616c4
Template:Logo Wicri Home Demo.Istex
10
138
263
262
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoDemoIstexHome2020.png<noinclude>
[[File:LogoDemoIstexHome2020.png|100px]]
</noinclude>
53134c8f65f37b5e39333b6c22309f62a5085d10
Template:Logo Wicri Incubator en
10
139
265
264
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriIncubAvril2010En.png
99210fa7e09dcfe5a7c7ad51e80ef1c135e79c95
Template:Logo Wicri Pool LorExplor
10
140
267
266
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriPoolLorExplor.png<noinclude>
[[File:LogoWicriPoolLorExplor.png|100px]]
[[fr:Modèle:Logo Wicri Pool LorExplor]]
</noinclude>
cb8b40b74f9530879e25eba1194b407366d5dba1
Template:Logo Wicri Pool Demo.Istex
10
141
269
268
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriPoolDemoIstex2020.png<noinclude>
[[File:LogoWicriPoolDemoIstex2020.png|100px]]
</noinclude>
2a283d238cea8dd3cab1d190043d9af7e51f0612
Template:Logo Wicri Arts en
10
142
271
270
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriArts2020En.png
5761683308343d1c5b53cdabc6febd8e0ef78b2e
Template:Logo Wicri Agronomy en
10
143
273
272
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAgroEnV1.png
775bb9d72e9be565317ab2f9004fe7d779507cd6
Template:Logo Wicri Biomass en
10
144
275
274
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBiomasseJuillet2011En.png
6f545edde0aff964142f845517c10b663ea21e9d
Template:Logo Wicri Earth en
10
145
277
276
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriTerreJuillet2011En.png
18e2f7bd3a614179e0e063563f5048ff229dba96
Template:Logo Wicri Engineering en
10
146
279
278
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriIngenierieEn.png
7828ddca68642725ba0910b2f8977a790d09e631
Template:Logo Wicri Sic en
10
147
281
280
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriSicEn.png
ddab90e6c776eb11ee357ec28451d76b5f9650e9
Template:Logo Wicri Ticri en
10
148
283
282
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriTicriJuillet2011En.png
be8bf7f94a7f082388fb9fde1d88707d1209d31b
Template:Logo Wicri Water en
10
149
285
284
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriEauJuillet2011En.png
3ec16e3ace32f57e1ddc594761d660eec71a1997
Template:Logo Wicri Wood en
10
150
287
286
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBoisJuillet2011En.png
3676d16ac873e4904ad183b73141a7eb75728b4e
Template:Logo Wicri Artist en
10
151
289
288
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriArtistJuillet2011En.png
46791e80728671d03443e0802ca9937f0136290a
Template:Logo Wicri Urban soils en
10
152
291
290
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriSolsUrbainsJuillet2011En.png
f569c8f87b5f57412ff2875cf2c882093b647d40
Template:Logo Wicri Computer science en
10
153
293
292
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriInformatiqueJuillet2011En.png
76dacfc8e4b7217914d512d6bffc18fd6fe91e24
Template:Logo Wicri Archaeology en
10
154
295
294
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriArcheoJuillet2011En.png
d4e78a285b9021d83d2bce2e1edc376f511141af
Template:Logo Wicri Linguistics en
10
155
297
296
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriLinguisticsMai2012En.png
85a77cbdbce310fdc7b16227de62a012c42303c3
Template:Logo Wicri Health en
10
156
299
298
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriSante20140904En.png<noinclude>
[[File:LogoWicriSante20140904En.png]]
</noinclude>
4e41f7227936345a71317cdfdcbfafca0376dfea
Template:Logo Wicri Music en
10
157
301
300
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriMusicEn.png<noinclude>
[[File:LogoWicriMusicEn.png]]
</noinclude>
5ac1cf01e1691d93ecf679e5c6232dc0fe003e3b
Template:Logo Wicri Psychology en
10
158
303
302
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriPsyEn133.png<noinclude>
[[File:LogoWicriPsyEn133.png]]
</noinclude>
56bb07b64553f633eb11ac088c71c8de60c25dc3
Template:Logo Wicri Europe en
10
159
305
304
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriEuropeOctobre2011En.png
a73a11f0d368a774881187862a0d4213fb10baa4
Template:Logo Wicri Belgium en
10
160
307
306
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBelgiqueJuillet2011En.png
f50d89d094d8bce4d150df657da5ac9b15dd64ec
Template:Logo Wicri France en
10
161
309
308
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriFranceJuillet2011En.png
04e7139abdda738c8a2ad42ec6b47fed43bc9949
Template:Logo Wicri Grand Est en
10
162
311
310
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriGrandEstEn.png
57ec7ffb976173ff3aa882081a88016012899d5c
Template:Logo Wicri Île-de-France en
10
163
313
312
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriIleDeFranceEn.png
1e8001d3247262d95dfa5a72d8bc68ad97784b5c
Template:Logo Wicri Germany en
10
164
315
314
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAllemagneJuillet2011En.png
dbaa72419a6b94bfd051baeb87f9ffb7013dc925
Template:Logo Wicri Luxembourg en
10
165
317
316
2021-01-05T17:32:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriLuxembourgJuillet2011En.png
f5881442ea7581d253c85ac2c54367a7d624f2da
Template:Logo Wicri Alsace en
10
166
319
318
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAlsaceJuillet2011En.png
959edef8b605d87a7b59e681ff097c8dbfda34a5
Template:Logo Wicri Lorraine en
10
167
321
320
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriLorraineJuillet2011En.png
97972f5a315aa73179e31117bd0130869741e2f5
Template:Logo Wicri Rhineland-Palatinate en
10
168
323
322
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriRhinPalJuillet2011En.png
d1d0e1320469c6a3a404178057225afa691b5c87
Template:Logo Wicri Saarland en
10
169
325
324
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriSarreJuillet2011En.png
bf8d9c37f95706207262be0c145733f2e868577c
Template:Logo Wicri Wallonia en
10
170
327
326
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriWalJuillet2011En.png
25365b59f38623770eefbd9c8750bf4e9c4f25ec
Template:Logo Wicri Greater Region en
10
171
329
328
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriGrandeRegionJuillet2011En.png
dc14404dac0247249c0680a756347549c9c51b25
Template:Logo Wicri Americas en
10
172
331
330
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAmeriqueJanvier2012En.png
3941bdab56b55d4860a49df3e49b356957543a05
Template:Logo Wicri Brazil en
10
173
333
332
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriBresilJanvier2012En.png
984bc83a2b4e165741a5dee9d072b794890dfbe1
Template:Logo Wicri Canada en
10
174
335
334
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriCanadaEn.png
5004878eed67efac0bbb1e0acea25deb6b20c9d3
Template:Logo Wicri Asia en
10
175
337
336
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAsieJanvier2012En.png
4dbc9697645541630c019857c6ca05dcc1150368
Template:Logo Wicri Africa en
10
176
339
338
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriAfriqueOctobre2011En.png
a9686d4611030620bad347c52f0d8b06b4f5d4db
Template:Logo Wicri Morocco en
10
177
341
340
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriMarocOctobre2011En.png
d65369fb2e3ce8e65d3d560226a0b072f08f9091
Template:Logo Wicri Oceania en
10
178
343
342
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
File:LogoWicriOceanieEn.png
64d9b9aad7db2beb212c7e4d9a7b33eac60ba6b3
Template:Begin 2 columns
10
179
345
344
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{|width="100%" cellspacing="0" cellpadding="0" style="margin-top:0.6em"
|-
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="49%"|</includeonly><noinclude>
This template is used for starting a two columuns area.
It must be used with:
* [[:Template:Jump 2 columns]]
* [[:Template:End 2 columns]]
See also: [[Template:Begin 3 columns]]
[[fr:Modèle:Début 2 colonnes]]
[[de:Vorlage:Beginn 2 Spalten]]
</noinclude>
86d978cc332cc786a48249b0ba5d446d966cfd9b
Template:Skip 2 columns
10
180
347
346
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>|style="font-size:0.6em;line-height:0.6em"|
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="49%"|</includeonly><noinclude>
This template is deprecated, see [[Template:Jump 2 columns]].
[[fr:Modèle:Saut 2 colonnes]]
</noinclude>
fb161011b93d4fd390709503f346ba0f6ded1042
Template:Jump 2 columns
10
181
349
348
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>|style="font-size:0.6em;line-height:0.6em"|
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="49%"|</includeonly><noinclude>
[[fr:Modèle:Saut 2 colonnes]]
</noinclude>
2667b984e841f1d6df59ba4d2aad6573772fe33e
Template:End 2 columns
10
182
351
350
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
|}
09a0215d88f8525232ec8e5480f5f77095ced7f4
Template:Begin 3 columns
10
183
353
352
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{|width="100%" cellspacing="0" cellpadding="0" style="margin-top:0.6em"
|-
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="33%"|<noinclude>
This template is used for starting a three columuns area.
It must be used with:
* [[:Template:Jump 3 columns]]
* [[:Template:End 3 columns]]
See also: [[Template:Begin 2 columns]]
[[fr:Modèle:Début 3 colonnes]]
[[de:Vorlage:Beginn 2 Spalten]]
</noinclude>
a0a8b9246343fb4cdbfd9330ae5a36f2e59beb6b
Template:Jump 3 columns
10
184
355
354
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>
|style="font-size:0.6em;line-height:0.6em"|
| valign="top" class="cadregris" style="margin-bottom:0.6em;border:1px solid #AAAAAA;background-color:#FCFCFC;padding:7px;text-align: justify;" width="33%"|</includeonly><noinclude>
[[fr:Modèle:Saut 3 colonnes]]
</noinclude>
07b688cbce23b8391c07f40071b08d21c34bc43b
Template:End 3 columns
10
185
357
356
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
|}
09a0215d88f8525232ec8e5480f5f77095ced7f4
Template:Wicri network 2009 imagemap 500px
10
186
359
358
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:RéseauWicriSept2009.png|500px|right
rect 475 40 675 190 [[:wicri.en:Main Page|Wicri - English (Wikis for communities in reseach and innovation)]]
rect 300 90 400 200 [[:wicri.pool:Main Page|WicriMédia (multimedia resources)]]
rect 760 90 950 200 [[:incub.en:Main Page|Wicri Incubator: English version]]
rect 40 250 180 400 [[:wicri-lor.en:Main Page|Regional wiki: Wicri Lorraine]]
rect 200 250 340 400 [[:wicri-als.en:Main Page|Regional wiki: Wicri Alsace]]
rect 400 250 560 400 [[:ticri.en:Main Page|Thematic wiki Ticri (technologies dealing with information and communication for communuties implied in Resaerch & information]]
rect 590 250 720 400 [[:wicri-t-bois.en:Main Page|Thematic wiki: Wood and forests]]
rect 760 250 880 400 [[:wicri-t-biomasse.en:Main Page|Thematic wiki: Biomass]]
rect 920 250 1050 400 [[:wicri-t-eau.en:Main Page|Thematic wiki: Water]]
rect 1080 250 1200 400 [[:wicri-t-sols-urbains.en:Main Page|Thematic wiki: Urban Soils]]
desc bottom-right
</imagemap><noinclude>
This template is an archive.
</noinclude>
b17e99348b24d4aa0bcc1024c7cbfd7be2ae99ea
Template:Wicri network imagemap 500px
10
187
361
360
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriWicriNetworkAvril2010En.png|500px|right
rect 60 160 190 270 [[:wicri-base.en:Main Page|Wiki Base (outils pour la maintenance du réseau Wicri)]]
rect 210 110 340 220 [[:wicri-outils.en:Main Page| Wicri/Outils (outils logiciels pour le réseau Wicri et les Ticri)]]
rect 360 70 500 180 [[:wicri-meta.en:Main Page|Wicri/Métadonnées]]
rect 525 40 700 180 [[:wicri.en:Main Page|Wicri/Wicri Main Page of Wicri Network (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Main Page|Wicri (pool) - ressources multimédia]]
rect 920 110 1020 220 [[:wicri-man.en:Main Page|Wicri/Manuels]]
rect 30 320 130 450 [[:wicri-als.en:Main Page|Regional Wiki: Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.en:Main Page|Regional Wiki: Wicri Lorraine]]
rect 300 320 400 450 [[:incub.en:Main Page|Wicri Incubator: English version]]
rect 425 320 525 450 [[:earth.en:Main Page|Thematic wiki Earth]]
rect 550 320 670 450 [[:ticri.en:Main Page|Wiki thématique Ticri (technologies de l'information communication pour les communautés de la recherche et de l'information]]
rect 700 320 800 450 [[:wicri-t-bois.en:Main Page|Thematic wiki: Wood and forests]]
rect 835 320 940 450 [[:wicri-t-biomasse.en:Main Page|Thematic wiki: Biomass]]
rect 970 320 1070 450 [[:wicri-t-eau.en:Main Page|Thematic wiki: Water]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.en:Main Page|Thematic wiki: Urban soils]]
desc none
</imagemap><noinclude>
This template is derived from [[wicri.pool.inpl:Wicri network]]. It must be manually modify if needed.
See also: [[Template:Wicri network imagemap 300px]]
[[fr:Modèle:Wicri imagemap réseau 500px]]
</noinclude>
eb02bc262e3b1965cd1f0ccf5103963466b11bb4
Template:Wicri network imagemap 400px
10
188
363
362
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriWicriNetworkAvril2010En.png|400px|right
rect 60 160 190 270 [[:wicri-base.en:Main Page|Wiki Base (outils pour la maintenance du réseau Wicri)]]
rect 210 110 340 220 [[:wicri-outils.en:Main Page| Wicri/Outils (outils logiciels pour le réseau Wicri et les Ticri)]]
rect 360 70 500 180 [[:wicri-meta.en:Main Page|Wicri/Métadonnées]]
rect 525 40 700 180 [[:wicri.en:Main Page|Wicri/Wicri Main Page of Wicri Network (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Main Page|Wicri (pool) - ressources multimédia]]
rect 920 110 1020 220 [[:wicri-man.en:Main Page|Wicri/Manuels]]
rect 30 320 130 450 [[:wicri-als.en:Main Page|Regional Wiki: Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.en:Main Page|Regional Wiki: Wicri Lorraine]]
rect 300 320 400 450 [[:incub.en:Main Page|Wicri Incubator: English version]]
rect 425 320 525 450 [[:earth.en:Main Page|Thematic wiki Earth]]
rect 550 320 670 450 [[:ticri.en:Main Page|Wiki thématique Ticri (technologies de l'information communication pour les communautés de la recherche et de l'information]]
rect 700 320 800 450 [[:wicri-t-bois.en:Main Page|Thematic wiki: Wood and forests]]
rect 835 320 940 450 [[:wicri-t-biomasse.en:Main Page|Thematic wiki: Biomass]]
rect 970 320 1070 450 [[:wicri-t-eau.en:Main Page|Thematic wiki: Water]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.en:Main Page|Thematic wiki: Urban soils]]
desc none
</imagemap><noinclude>
This template is a copy of [[Template:Wicri network imagemap 500px]], with only one modification (size).
[[fr:Modèle:Wicri imagemap réseau 400px]]
</noinclude>
60303c0e0ec49ca405f28fc4c76a2d249aad75b6
Template:Wicri network imagemap 300px
10
189
365
364
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriWicriNetworkAvril2010En.png|300px|right
rect 60 160 190 270 [[:wicri-base.en:Main Page|Wiki Base (tools for managing Wicri network)]]
rect 210 110 340 220 [[:wicri-outils.en:Main Page| Wicri/Tools (software tools for e-Science)]]
rect 360 70 500 180 [[:wicri-meta.en:Main Page|Wicri/Metadata]]
rect 525 40 700 180 [[:wicri.en:Main Page|Wicri/Wicri Main Page of Wicri Network (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Main Page|Wicri (pool) - multimedia resources]]
rect 920 110 1020 220 [[:wicri-man.en:Main Page|Wicri/Manuals]]
rect 30 320 130 450 [[:wicri-als.en:Main Page|Regional Wiki: Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.en:Main Page|Regional Wiki: Wicri Lorraine]]
rect 300 320 400 450 [[:incub.en:Main Page|Wicri Incubator: English version]]
rect 425 320 525 450 [[:earth.en:Main Page|Thematic wiki Earth]]
rect 550 320 670 450 [[:ticri.en:Main Page|Thematic wiki Ticri (information & communication technology for research and information communities]]
rect 700 320 800 450 [[:wicri-t-bois.en:Main Page|Thematic wiki: Wood and forests]]
rect 835 320 940 450 [[:wicri-t-biomasse.en:Main Page|Thematic wiki: Biomass]]
rect 970 320 1070 450 [[:wicri-t-eau.en:Main Page|Thematic wiki: Water]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.en:Main Page|Thematic wiki: Urban soils]]
desc none
</imagemap><noinclude>
This template is a copy of [[Template:Wicri network imagemap 500px]], with only one modification (size).
[[fr:Modèle:Wicri imagemap réseau 300px]]
</noinclude>
613115f4d1f4e6ad3e48b35681b33635f0bce2ff
Template:Logo Wicri en, right small
10
190
367
366
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:LogoWicriWicriEnMars2010.png|70px|right
default [[wicri.en:Main Page|to go to Wicri (en)]]
desc none
</imagemap>
ff24bdaf9acb0e5587e6e18effc64476121118f8
Template:Logo Wicri Root en, right small
10
191
369
368
2021-01-05T17:32:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[{{Logo Wicri Root en}}|70px|right|link=wicri-root.en:Main Page]]
ecfb413dd5d79db111c7ef8fdbf12d9606767a61
Template:Wicri network - large
10
192
371
370
2021-01-05T17:32:09Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{clr}}
{|align=right
|-
|{{Wicri global map
|map size=600
}}
|}
;Wicri network, the kernel:
* Wicri family: [[wicri.en:Main Page|[en]]], [[wicri.fr:Accueil|[fr]]], [[wicri.priv:Accueil|[private]]].
* WicriMedia: [[:pool:Main Page|[en]]], [[:pool:Accueil|[fr]]].
* Incubator: [[incub.en:Main Page|[en]]], [[incub.fr:Accueil|[fr]]], [[incub.priv:Accueil|[private]]].
* Wicri Base (tools) : [[wicri-base.de:Hauptseite|[de]]], [[wicri-base.en:Main Page|[en]]], [[wicri-base.fr:Accueil|[fr]]].
;Regional networks:
*Wicri/Europe: [[wicri-europe.en:Main Page|[en]]], [[wicri-europe.fr:Accueil|[fr]]],
**Wicri/Belgium: [[wicri-belgium.en:Main Page|[en]]], [[wicri-belgique.fr:Accueil|[fr]]],
*** Wicri/Wallonia: [[wicri-wallonie.fr:Main Page|[en]]], [[wicri-wallonie.fr:Accueil|[fr]]],
**Wicri/France: [[wicri-france.en:Main Page|[en]]], [[wicri-france.fr:Accueil|[fr]]],
*** Wicri-Alsace: [[wicri-als.en:Main Page|[en]]], [[wicri-als.fr:Accueil|[fr]]], [[wicri-als.priv:Accueil|[private]]].
***Wicri/Lorraine: [[wicri-lor.en:Main Page|[en]]], [[wicri-lor.fr:Accueil|[fr]]], [[wicri-lor.priv:Accueil|[private]]].
****CPER<ref>CPER stands for '''Contrat de Projet État-Région''', a french device aiming at financing research in regions</ref>: PRST [[imt-s.fr:Accueil|IMT-S [fr]]], [[mepp.fr:Accueil|MEPP [fr]]], [[misn.fr:Accueil|MISN [fr]]], [[prst-msh.fr:Accueil|MSH [fr]]], [[sge.fr:Accueil|SGE [fr]]].
****[[dcpr.en:Main Page|DCPR [en]]], [[dcpr.fr:Accueil|DCPR [fr]]], [[drrt-lor.fr:Accueil|DRRT [fr]]], [[fabelor.fr:Accueil|Fabelor [fr]]], [[gisfi.fr:Accueil|Gisfi [fr]]], [[promotech.fr:Accueil|Promotech [fr]]],
**Wicri/Germany: [[wicri-germany.en:Main Page|[en]]], [[wicri-allemagne.fr:Accueil|[fr]]],
***Wicri/Rhineland Palatinate [[wicri-rhin-pal.en:Main Page|[en]]], [[wicri-rhen-pal.fr:Accueil|[fr]]]
***Wicri/Saarland: [[wicri-saarland.en:Main Page|[en]]], [[wicri-sarre.fr:Accueil|[fr]]],
**Wicri/Luxembourg: [[wicri-lux.en:Main Page|[en]]], [[wicri-lux.fr:Accueil|[fr]]],
**Wicri/Wicri/Greater Region: [[wicri-gr.de:Hauptseite|[de]]], [[wicri-gr.en:Main Page|[en]]], [[wicri-gr.fr:Accueil|[fr]]],
*Wicri/Africa: [[wicri-africa.en:Main Page|[en]]], [[wicri-afrique.fr:Accueil|[fr]]],
** Wicri/Morocco: [[wicri-morocco.en:Main Page|[en]]], [[wicri-maroc.fr:Accueil|[fr]]],
;Thematic networks:
* TICRI:''R&D about TICRI'':
**TICRI family: [[ticri.en:Main Page|[en]]], [[ticri.fr:Accueil|[fr]]].
**[[artist.en:Main Page|Artist [en]]], [[artist.fr:Accueil|Artist [fr]]], [[medici.fr:Accueil|Médici [fr]]], [[ticri-outils:Accueil|Ticri-outils [fr]]].
* Natural environment:
**[[wicri-t-biomasse.en:Main Page|Biomass]],
** Wood and Forests [[wicri-wood.en:Main Page|[en]]], [[wicri-bois.fr:Accueil|[fr]]], [[wicri-wood.pr.en:Main Page|[priv.en]]], [[wicri-bois.priv:Accueil|[priv.fr]]],
**[[wicri-t-eau.en:Main Page|Water]],
**Urban soils [[wicri-t-sols-urbains.en:Main Page|[en]]], [[wicri-sols-urbains.fr:Accueil|[fr]]]
**[[earth.en:Main Page|Earth]].
==Notes==
<references/>
2a68f20125582df4dbcc8971699e0d529f245c58
Template:Wicri box
10
193
373
372
2021-01-05T17:32:09Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Begin box|yellow|back=#E8E5FF}}
{|width=100%
|style="background-color: white;"|{{Logo Wicri Wicri en, right small}}
{{{text}}}
|}{{End box}}
<noinclude>
[[fr:Modèle:Cadre Wicri]]
</noinclude>
cec70eb61af2251c39703233bab21952f2ab7dff
Template:Browsing Wicri
10
194
375
374
2021-01-05T17:32:09Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{|align=center
|-
|{{Wicri global map (en)
|map size=600
}}
|}
;General and service wikis:
{{Begin 2 columns}}
;For the whole network:
* Wicri/Wicri : [[wicri-wicri.en:Main Page|[en]]], [[wicri-wicri.fr:Accueil|[fr]]],
* Wicri/Man : [[wicri-man.en:Main Page|[en]]], [[wicri-man.fr:Accueil|[fr]]],
* Wicri/Metadata: [[wicri-meta.en:Main Page|[en]]], [[wicri-meta.fr:Accueil|[fr]]],
* Wicri/Tools: [[wicri-outils.en:Main Page|[en]]], [[wicri-outils.fr:Accueil|[fr]]],
* Wicri/Incubateur : [[wicri-incub.fr:Accueil|[fr]]], [[wicri-incub.priv:Accueil|[privé]]].
;Domain <code>wicri.demo.istex.fr</code> :
* Wicri/Home Demo.Istex : [[wic-demo.istex.fr:Main Page|[en]]]
* Wicri/Pool Demo.Istex : [[wic-demo.istex.pool:Main Page|[en]]]
{{Jump 2 columns}}
;Domain <code>lorexplor.istex.fr</code> :
* Wicri/Root : [[wicri-root.en:Main Page|[en]]], [[wicri-source.fr:Accueil|[fr]]] (''Source'')
;MediaWiki, stable versions:
* Wicri/Base 1.28 : [[wicri-base128.en:Main Page|[en]]], [[wicri-base128.fr:Accueil|[fr]]], [[wicri-base128.de:Accueil|[de]]], [[wicri-base128.pt:Main Page|[pt]]]
* Wicri/Base 1.31 : [[wicri-base131.fr:Accueil|[fr]]], [[wicri-base131.en:Main Page|[en]]], [[wicri-base131.de:Hauptseite|[de]]], [[wicri-base131.pt:Página principal|[pt]]]
{{End 2 columns}}
;Regional wikis:
{{Begin 3 columns}}
;France:
* Wicri/France : [[wicri-france.en:Main Page|[en]]], [[wicri-france.fr:Accueil|[fr]]], [[wicri-france.de:Hauptseite|[de]]],
* Wicri/Ïle-de-France : [[wic-iledefrance.en:Main Page|[en]]], [[wic-iledefrance.fr:Accueil|[fr]]],
* Wicri/Grand Est : [[wic-grand.est.en:Main Page|[en]]], [[wic-grand.est.fr:Accueil|[fr]]],
:* Wicri/Alsace : [[wicri-als.en:Main Page|[en]]], [[wicri-als.fr:Accueil|[fr]]],
:*Wicri/Lorraine : [[wicri-lor.fr:Accueil|[fr]]], [[wicri-lor.en:Main Page|[en]]], [[wicri-lor.de:Hauptseite|[de]]], [[wicri-lor.priv:Accueil|[privé]]].
:**Wicri/Histoire Lorraine : [[wic-hist.lor.fr:Accueil|[fr]]],
:**Wicri/Nancy : [[wicri-nancy.fr:Accueil|[fr]]], [[wicri-nancy.en:Main Page|[en]]], [[wicri-nancy.priv:Accueil|[privé]]] ;
:*Wicri/Sociétés Grand Est : [[wic-soc.grandest.fr:Accueil|[fr]]].
{{Jump 3 columns}}
;Europe:
{{Jump 3 columns}}
;Africa;
;Americas;
;Asia:
;Oceania:
* Wicri/Oceania : [[wicri-oceania.en:Main Page|[en]]], [[wicri-oceanie.fr:Accueil|[fr]]].
{{End 3 columns}}
;Thematic wikis:
{{Begin 3 columns}}
{{Jump 3 columns}}
{{Jump 3 columns}}
{{End 3 columns}}
;The kernel of Wicri network:
{{Begin 3 columns}}
;For the whole network:
{{Jump 3 columns}}
;For LorExplor website:
* Wicri/Pool LorExplor : [[wicri-pool-lorexplor:Main Page|[en]]]
{{Jump 3 columns}}
;For Ticri website:
* Wicri/Wicri : [[wicri.en:Main Page|[en]]], [[wicri.fr:Accueil|[fr]]], [[wicri.de:Hauptseite|[de]]], [[wicri.pt:Página principal|[pt]]], [[wicri.priv:Accueil|[priv.]]].
* Wicri/Base: [[wicri-base.en:Main Page|[en]]], [[wicri-base.fr:Accueil|[fr]]], [[wicri-base.de:Hauptseite|[de]]], [[wicri-base.pt:Página principal|[pt]]].
* Wicri/Pool Ticri : [[wicri-pool-ticri:Main Page|[en]]]
{{End 3 columns}}
;Regional wikis:
{{Begin 3 columns}}
;France Network:
* Wicri/France: [[wicri-france.en:Accueil|[en]]], [[wicri-france.fr:Accueil|[fr]]], [[wicri-france.de:Hauptseite|[de]]], [[wicri-france.priv:Accueil|[privé]]],
:* Wicri/Alsace: [[wicri-alsace.en:Main Page|[en]]], [[wicri-als.fr:Accueil|[fr]]], [[wicri-als.priv:Accueil|[priv]]]
:*Wicri/Lorraine: [[wicri-lor.fr:Accueil|[fr]]], [[wicri-lor.en:Main Page|[en]]], [[wicri-lor.de:Hauptseite|[de]]], [[wicri-lor.priv:Accueil|[priv.]]].
{{Jump 3 columns}}
;Europe:
*Wicri/Europe: [[wicri-europe.en:Main Page|[en]]], [[wicri-europe.fr:Accueil|[fr]]], [[wicri-europa.de:Hauptseite|[de]]],[[wicri-europe.priv:Accueil|[priv]]],
**Wicri/Wicri/Greater Region: [[wicri-gr.de:Hauptseite|[de]]], [[wicri-gr.en:Main Page|[en]]], [[wicri-gr.fr:Accueil|[fr]]],
**Wicri/Belgium: [[wicri-belgium.en:Main Page|[en]]], [[wicri-belgique.fr:Accueil|[fr]]],
*** Wicri/Wallonia: [[wicri-wallonie.fr:Main Page|[en]]], [[wicri-wallonie.fr:Accueil|[fr]]],
**Wicri/Germany: [[wicri-germany.en:Main Page|[en]]], [[wicri-deutschland.de:Hauptseite|[de]]], [[wicri-allemagne.fr:Accueil|[fr]]],
***Wicri/Rhineland Palatinate [[wicri-rhin-pal.en:Main Page|[en]]], [[wicri-rhen-pal.fr:Accueil|[fr]]]
***Wicri/Saarland: [[wicri-saarland.en:Main Page|[en]]], [[wicri-sarre.fr:Accueil|[fr]]], [[wicri-saarland.de:Hauptseite|[de]]]
**Wicri/Luxembourg: [[wicri-lux.en:Main Page|[en]]], [[wicri-lux.fr:Accueil|[fr]]],
{{Jump 3 columns}}
;Africa:
*Wicri/Africa: [[wicri-africa.en:Main Page|[en]]], [[wicri-afrique.fr:Accueil|[fr]]], , [[wicri-afrika.de:Hauptseite|[de]]],
** Wicri/Morocco: [[wicri-morocco.en:Main Page|[en]]], [[wicri-maroc.fr:Accueil|[fr]]],
;Americas:
* Wicri/Americas : [[wicri-amerique.fr:Accueil|[fr]]], [[wicri-americas.en:Main Page|[en]]], [[wicri-amerika.de:Hauptseite|[de]]], [[wicri-america.pt:Página principal|[pt]]],
** Wicri/Brazil: [[wicri-bresil.fr:Accueil|[fr]]], [[wicri-brazil.en:Main Page|[en]]], [[wicri-brasil.pt:Página principal|[pt]]],
** Wicri/Canada: [[wicri-canada.fr:Accueil|[fr]]], [[wicri-canada.en:Main Page|[en]]]
;Asia network:
* Wicri/Asia: ''& Oceania'' [[wicri-asie.fr:Accueil|[fr]]], [[wicri-asia.en:Main Page|[en]]], [[wicri-asien.de:Hauptseite|[de]]],
{{End 3 columns}}
;Thematics wikis:
{{Begin 3 columns}}
;Engineering and e-Science:
* Wicri/Computer science: [[wic-informatique.fr:Main Page|[en]]], [[wic-informatique.fr:Accueil|[fr]]],
* Wicri/Engineering: [[wicri-engin.en:Main Page|[en]]], [[wicri-ingen.fr:Accueil|[fr]]],
* Wicri/Ticri: [[ticri.en:Main Page|[en]]], [[ticri.fr:Accueil|[fr]]], [[ticri.priv:Accueil|[priv]]].
:* Wicri/Artist: [[artist.en:Main Page|[en]]], [[artist.fr:Accueil|[fr]]], [[artist.priv:Accueil|[priv.]]],
<div style="background-color:#F5F6CE;">
:* Ticri/CIDE : [[ticri-cide.fr:Accueil|[fr]]],
:* Ticri/H<sup>2</sup>PTM : [[ticri-h2ptm.fr:Accueil|[fr]]], [[ticri-h2ptm.priv:Accueil|[priv]]],
:* Ticri/VSST : [[ticri-vsst.fr:Accueil|[fr]]],
</div>
{{Jump 3 columns}}
;Thematic network Natural environment:
* Wicri/Agronomy: [[wicri-agronomy.en:Main Page|[en]]], [[wicri-agronomie.fr:Accueil|[fr]]],
<div style="background-color:#F5F6CE;">
:*Les mots de l'agronomie : [[mots-agronomie.fr:Accueil|[fr]]], [[dico-agro.priv:Accueil|[privé]]],
</div>
*Wicri/Biomass: [[wicri-t-biomasse.en:Main Page|[en]]], [[wicri-t-biomasse.fr:Accueil|[fr]]], [[wicri-t-biomasse.priv:Accueil|[priv]]]
* Wicri/Earth : [[wicri-terre.fr:Accueil|[fr]]], [[wicri-earth.en:Main Page|[en]]].
* Wicri/Urban soils : [[wicri-t-sols-urbains.fr:Accueil|[fr]]], [[wicri-t-sols-urbains.en:Main Page|[en]]], [[wicri-t-sols-urbains.priv:Accueil|[priv.]]]
<div style="background-color:#F5F6CE;">
::* Gisfi : [[gisfi.fr:Accueil|[fr]]], [[gisfi.en:Main Page|[en]]], [[gisfi.priv:Accueil|[privé]]],
</div>
* Wicri/Water: [[wicri-t-eau.fr:Accueil|[fr]]], [[wicri-t-eau.en:Main Page|[en]]], [[wicri-wasser.de:Hauptseite|[de]]], [[wicri-t-eau.priv:Accueil|[priv.]]]
* Wicri/Wood and Forests: [[wicri-t-bois.fr:Accueil|[fr]]], [[wicri-t-bois.en:Main Page|[en]]], [[wicri-t-bois.priv:Main Page|[pr.fr]]], [[wicri-bois.pr.en:Accueil|[pr.en]]].
{{Jump 3 columns}}
;Thematic network Humanities:
*Wicri/Archaeology: [[wicri-archaeology.en:Main Page|[en]]], [[wicri-archeologie.fr:Accueil|[fr]]],[[wicri-archeologie.priv:Accueil|[priv]]]
*Wicri/Lingustics: [[wicri-linguistics.en:Main Page|[en]]], [[wicri-linguistique.fr:Accueil|[fr]]],
*Wicri/Music : [[wicri-music.en:Main Page|[en]]], [[wicri-musique.fr:Accueil|[fr]]],
*Wicri/Psychology : [[wicri-psycho.en:Main Page|[en]]], [[wicri-psycho.fr:Accueil|[fr]]],
*Wicri/Health : [[wicri-health.en:Main Page|[en]]], [[wicri-sante.fr:Accueil|[fr]]].
{{End 3 columns}}
;University of Lorraine:
{{Begin 3 columns}}
<div style="background-color:#F5F6CE;">
:: > CPER (regional agreement) :
::*Cper/IMT-S: [[imt-s.fr:Accueil|[fr]]], [[imt-s.priv:Accueil|[priv]]],
::*Cper/MEPP: [[mepp.fr:Accueil|[fr]]], [[mepp.priv:Accueil|[priv]]],
::*Cper/MISB: [[misn.fr:Accueil|[fr]]], [[misn.priv:Accueil|[priv]]],
::*Cper/H&S: [[prst-msh.fr:Accueil|[fr]]], [[prst-msh.priv:Accueil|[priv]]],
::*Cper/SGE: [[sge.fr:Accueil|[fr]]], [[sge.priv:Accueil|[priv]]]
::*[[fabelor.fr:Accueil|Fabelor]],
:: > State services
::* DRRT Lorraine : [[drrt-lor.fr:Accueil|[fr]]], [[drrt-lor.priv:Accueil|[privé]]], [[drrt-lor.staff:Accueil|[staff]]] ;
::* DIRECCTE : [[direccte.fr:Accueil|[fr]]], [[direccte.priv:Accueil|[priv]]] ;
::*[[lor-sgar-ia.priv:Accueil|SGAR IA]]
:: > Laboratories, applications...
::* DCPR : [[dcpr.fr:Accueil|[fr]]], [[dcpr.en:Main Page|[en]]], [[dcpr.priv:Accueil|[priv]]],
::* Promotech : [[promotech.fr:Accueil|[fr]]], [[promotech.priv:Accueil|[priv]]]
::*[[udl-bul-col.fr:Accueil|Collection Bul]], [[mycor.en:Main Page|Mycor]]
::*[[udl-cpme.priv:Accueil|Compétences PME]]
</div>
{{Jump 3 columns}}
{{Jump 3 columns}}
;National or international cooperation:
:* Médici : [[medici.fr:Accueil|[fr]]], [[medici.priv:Accueil|[priv]]],
:* INTD (TP) : [[intd.tp.fr:Accueil|[fr]]]
<div style="background-color:#F5F6CE;">
::* IHEST : [[ihest.priv.fr:Accueil|[fr]]], [[ihest.priv.pt:Página principal|[pt]]],
</div>
{{End 3 columns}}
<noinclude>
[[fr:Modèle:Navigation Wicri]]
</noinclude>
257782b833bd71d0042c1aa8b23fb2ca6ec5444a
Template:Wicri network imagemap 500px - fr
10
195
377
376
2021-01-05T17:32:09Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriReseauFrAvril2010.png|500px|right
rect 60 160 190 270 [[:wicri-base.fr:Accueil|Wiki Base (outils pour la maintenance du réseau Wicri)]]
rect 210 110 340 220 [[:wicri-outils.fr:Accueil| Wicri/Outils (outils logiciels pour le réseau Wicri et les Ticri)]]
rect 360 70 500 180 [[:wicri-meta.fr:Accueil|Wicri/Métadonnées]]
rect 525 40 700 180 [[:wicri.fr:Accueil|Wicri/Wicri tête du réseau Wicri (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Accueil|Wicri (pool) - ressources multimédia]]
rect 920 110 1020 220 [[:wicri-man.fr:Accueil|Wicri/Manuels]]
rect 30 320 130 450 [[:wicri-als.fr:Accueil|Wiki régional : Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.fr:Accueil|Wiki régional : Wicri Lorraine]]
rect 300 320 400 450 [[:incub.fr:Accueil|Incubateur Wicri : version française ]]
rect 425 320 525 450 [[:wicri-lor.fr:Projet Wicri SGE|Quel sera le nouveau wiki ? cette question sera discutée au sein du projet Wicri SGE]]
rect 550 320 670 450 [[:ticri.fr:Accueil|Wiki thématique Ticri (technologies de l'information communication pour les communautés de la recherche et de l'information]]
rect 700 320 800 450 [[:wicri-t-bois.fr:Accueil|Wiki thématique : Bois et forêts]]
rect 835 320 940 450 [[:wicri-t-biomasse.fr:Accueil|Wiki thématique : Biomasse]]
rect 970 320 1070 450 [[:wicri-t-eau.fr:Accueil|Wiki thématique : Eau]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.fr:Accueil|Wiki thématique : Sols urbains]]
desc none
</imagemap><noinclude>
[[fr:Modèle:Wicri imagemap réseau 500px]]
</noinclude>
85386840eee1a9b17d6076c2d24a51a036a392c1
Template:Wicri network imagemap 300px - fr
10
196
379
378
2021-01-05T17:32:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:WicriReseauFrAvril2010.png|300px|right
rect 60 160 190 270 [[:wicri-base.fr:Accueil|Wiki Base (outils pour la maintenance du réseau Wicri)]]
rect 210 110 340 220 [[:wicri-outils.fr:Accueil| Wicri/Outils (outils logiciels pour le réseau Wicri et les Ticri)]]
rect 360 70 500 180 [[:wicri-meta.fr:Accueil|Wicri/Métadonnées]]
rect 525 40 700 180 [[:wicri.fr:Accueil|Wicri/Wicri tête du réseau Wicri (Wikis des communautés de la recherche et de l'innovation)]]
rect 750 70 900 180 [[:pool:Accueil|Wicri (pool) - ressources multimédia]]
rect 920 110 1020 220 [[:wicri-man.fr:Accueil|Wicri/Manuels]]
rect 30 320 130 450 [[:wicri-als.fr:Accueil|Wiki régional : Wicri Alsace]]
rect 165 320 265 450 [[:wicri-lor.fr:Accueil|Wiki régional : Wicri Lorraine]]
rect 300 320 400 450 [[:incub.fr:Accueil|Incubateur Wicri : version française ]]
rect 425 320 525 450 [[:wicri-lor.fr:Projet Wicri SGE|Quel sera le nouveau wiki ? cette question sera discutée au sein du projet Wicri SGE]]
rect 550 320 670 450 [[:ticri.fr:Accueil|Wiki thématique Ticri (technologies de l'information communication pour les communautés de la recherche et de l'information]]
rect 700 320 800 450 [[:wicri-t-bois.fr:Accueil|Wiki thématique : Bois et forêts]]
rect 835 320 940 450 [[:wicri-t-biomasse.fr:Accueil|Wiki thématique : Biomasse]]
rect 970 320 1070 450 [[:wicri-t-eau.fr:Accueil|Wiki thématique : Eau]]
rect 1100 320 1200 450 [[:wicri-t-sols-urbains.fr:Accueil|Wiki thématique : Sols urbains]]
desc none
</imagemap><noinclude>
[[fr:Modèle:Wicri imagemap réseau 300px]]
</noinclude>
2030557ab3c80af1e21dd02cd6b5bf61ffc37c99
Template:Logo Wicri fr, right small
10
197
381
380
2021-01-05T17:32:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<imagemap>
Image:LogoWicriWicriFrMars2010.png|70px|right
default [[wicri.fr:Accueil|pour aller sur Wicri (fr)]]
desc none
</imagemap>
5c70b0d945d005e25ed42bdc3d9706856289e758
Template:Logo Wicri Wicri en, right small
10
198
383
382
2021-01-05T17:32:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Image:LogoWicriWicri2021En.png|70px|right|link=wicri-wicri.en:Main Page]]
aa70af20764f35a9d6340abe71736a31e81b4a12
Template:Wicri réseau bande
10
199
385
384
2021-01-05T17:32:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{|align=right
|-
|{{Wicri carte globale
|taille carte=600
}}
|}
;Le cœur du réseau Wicri:
* La famille Wicri/Wicri : [[wicri.fr:Accueil|[fr]]], [[wicri.en:Main Page|[en]]], [[wicri.priv:Accueil|[privé]]].
* Les répertoires d'images (Wicri/Media) : [[:wicri.pool.inpl:Accueil|[Inpl]]], [[:wicri.pool.loria:Accueil|[Loria]]].
* Wicri/Manuel : [[wicri-man.fr:Accueil|[fr]]], [[wicri-man.en:Main Page|[en]]].
* Wicri/Métadonnées : [[wicri-meta.fr:Accueil|[fr]]], [[wicri-meta.en:Main Page|[en]]].
* Wicri/Incubateur : [[incub.fr:Accueil|[fr]]], [[incub.en:Main Page|[en]]], [[incub.priv:Accueil|[privé]]].
* Wicri/Outils : [[wicri-outils.fr:Accueil|[fr]]], [[wicri-outils.en:Main Page|[en]]].
* Wicri/Base (référentiel de modèles) : [[wicri-base.fr:Accueil|[fr]]], [[wicri-base.en:Main Page|[en]]].
;Réseaux thématiques:
* Informatique et Ticri: [[wicri-informatique.fr:Accueil|Wicri/Informatique]], [[ticri.fr:Accueil|Wicri/Ticri]], .
* Environement : [[wicri-agronomie.fr:Accueil|Wicri/Agronomie]] ([[mots-agronomie.fr:Accueil|Les mots de l'agronomie]]), [[wicri-t-biomasse.fr:Accueil|Wicri/Biomasse]], [[wicri-t-bois.fr:Wicri/Accueil|Wicri/Bois et forêts]], [[wicri-t-eau.fr:Accueil|Wicri/Eau]], [[wicri-t-sols-urbains.fr:Accueil|Wicri/Sols Urbains]], [[wicri-terre.fr:Accueil|Wicri/Terre]].
* Sciences humaines et sociales : [[wicri-archeologie.fr:Accueil|Wicri/Archéologie]], [[ticri.fr:Accueil|Wicri/Ticri]] ([[artist.fr:Accueil|Wicri/Artist]], [[medici.fr:Accueil|Médici]])
;Réseaux régionaux :
* Wicri/France : [[wicri-france.fr:Accueil|[fr]]], [[wicri-france.en:Accueil|[en]]], [[wicri-france.priv:Accueil|[privé]]],
** Wicri/Alsace : [[wicri-als.fr:Accueil|[fr]]], [[wicri-als.en:Main Page|[en]]], [[wicri-als.priv:Accueil|[privé]]]
**Wicri/Lorraine : [[wicri-lor.fr:Accueil|[fr]]], [[wicri-lor.en:Main Page|[en]]], [[wicri-lor.priv:Accueil|[privé]]].
***Le CPER : les PRST [[imt-s.fr:Accueil|IMT-S]], [[mepp.fr:Accueil|MEPP]], [[misn.fr:Accueil|MISN]], [[prst-msh.fr:Accueil|MSH]], [[sge.fr:Accueil|SGE]].
***[[dcpr.fr:Accueil|DCPR]], [[drrt-lor.fr:Accueil|DRRT]], [[direccte.fr:Accueil|DIRECCTE]], [[fabelor.fr:Accueil|Fabelor]], [[gisfi.fr:Accueil|Gisfi]], [[promotech.fr:Accueil|Promotech]], [[udl-bul-col.fr:Accueil|Collection Bul]].
* Wicri/Europe : [[wicri-europe.fr:Accueil|[fr]]], [[wicri-europe.en:Accueil|[en]]], [[wicri-europe.priv:Accueil|[privé]]]. ; Wicri/Grande Région : [[wicri-gr.fr:Accueil|[fr]]], [[wicri-gr.en:Main Page|[en]]], [[wicri-gr.de:Hauptseite|[de]]], [[wicri-gr.priv:Accueil|[privé]]].
**Wicri/Allemagne : [[wicri-allemagne.fr:Accueil|[fr]]], [[wicri-germany.en:Main Page|[en]]], ([[wicri-rhen-pal.fr:Accueil|Wicri/Rhénanie-Palatinat]], [[wicri-sarre.fr:Accueil|Wicri/Sarre]])
**Wicri/Belgique : [[wicri-belgique.fr:Accueil|[fr]]], [[wicri-belgique.en:Main Page|[en]]], ([[wicri-wallonie.fr:Accueil|Wicri/Wallonie]])
**Wicri/Luxembourg : [[wicri-lux.fr:Accueil|[fr]]], [[wicri-lux.en:Accueil|[en]]]
[[fr:Modèle:Wicri réseau bande]]
ac121d97b577735ea26122a6fda041213b0ed960
Template:Wicri box - fr
10
200
387
386
2021-01-05T17:32:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Begin box|yellow|back=#E8E5FF}}
{|width=100%
|{{Logo Wicri fr, right small}}
{{{text}}}
|}{{End box}}
<noinclude>
[[fr:Modèle:Cadre Wicri]]
</noinclude>
af4318fd2880babf958665c631c76a117d11490e
Template:Wicri box - multi
10
201
389
388
2021-01-05T17:32:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Begin box|yellow|back=#E8E5FF}}
{|width=100%
|width=100%|{{Logo Wicri fr, right small}}
{{{text}}}
|{{Logo Wicri en, right small}}
|}{{End box}}
<noinclude>
[[fr:Modèle:Cadre Wicri]]
</noinclude>
f4c3b7b2a42514da849ad97385ada64dc2561aa7
Template:Wicri warning link
10
202
391
390
2021-01-05T17:32:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:WicriLienInterne.png|60px|logo internal link]]
|This page is in initialization step in order to assume links consistency in this wiki. <br/>You could use the '''[[Special:WhatLinksHere/{{PAGENAME}}|"What links here"]]''' facility of the toobox.
|}</div> [[Category:page being created]]
<noinclude>
This template is to be used without parameter while creating a new page in order to avoid people entering a dead way<br/>
:<code><nowiki>{{Wicri warning link}}</nowiki></code>
[[fr:Modèle:Wicri avertissement création lien]]
[[de:Vorlage:Wicri Achtung Link]]
</noinclude>
b4bc86103fbfc1a12b22191cc0b5095fef6e0f77
Template:Wicri multilingual link
10
203
393
392
2021-01-05T17:32:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:France flag 300 2.PNG|30px|right|60px|link=:fr:{{{fr}}}]]
|This page is a very initial step. <br/>You could use the '''[[Special:WhatLinksHere/{{PAGENAME}}|What links here]]''' facility of the toobox or go to the French one via the [[:fr:{{{fr}}}|FR link]].
|}</div> [[Category:page in creating step]]
<noinclude>
This template must be used to link a page to its corresponding one.<br/>
:<code><nowiki>{{Wicri multilingual link}}</nowiki></code>
[[fr:Modèle:Wicri lien multilingue]]
</noinclude>
3ff5e99bdefbac146942de5db2b894684bb8360d
Template:Wicri working area
10
204
395
394
2021-01-05T17:32:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:Panneau travaux.png|60px|logo working area]]
|{{{text}}}
|}</div><noinclude>
Syntax:
<pre>
{{Wicri working area
|text = Lorem ipsum...
}}
</pre>
[[Category:Template for Wicri banner]]
[[fr:Modèle Wicri travaux]]
[[de:Vorlage:Wicri Baustelle]]
</noinclude>
8c803203b4b4f4210289e08c78810d5c4161a497
Template:Wicri demo
10
205
397
396
2021-01-05T17:32:11Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
Le modèle '''Wicri démonstration''' est un bandeau destiné à identifier une page, dont l'intérêt n'est pas essentielle dans le wiki mais qui a été introduite à des fins de démonstration.
==Sample==
{{Wicri demo
|title = ''This is a specific title''
|text = Lorem ipsum...
}}
{{Begin 2 columns}}
==Parameters==
Ce modèle est appelé avec 2 paramètres.
Syntaxe :
<source lang="html">
{{Wicri demo
|title = ''This is a specific title''
|text = Lorem ipsum...
}}
</source>
Le paramètre titre est facultatif (valeur implicite ''Démonstration Wicri'').
Le paramètre texte est obligatoire.
{{Jump 2 columns}}
==The image==
[[File:Pitagorasteorema.svg|350px|center]]
L'icône retenue pour ce bandeau est le Théorème de Pythagore.
{{End 2 columns}}
[[Category:Template for Wicri banner]]
</noinclude><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:Pitagorasteorema.svg|80px|link=Template:Wicri demo]]
|
:'''{{{title|Wicri demo}}}'''
{{{text}}}
|}</div><noinclude>
[[fr:Modèle:Wicri démonstration]]
</noinclude>
a630f6895595e18b40d521e24b43bb30d0d4de0a
Template:Wicri tutorial
10
206
399
398
2021-01-05T17:32:12Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
The template '''Wicri tutorial''' is a banner designed to identify a page created or updated in an educational context.
==Sample==
{{Wicri tutorial
|title = ''Title of this text''
|text = Lorem ipsum...
}}
{{Begin 2 columns}}
==Parameters==
This model is called with 2 parameters.
Syntax:
<source lang="html">
{{Wicri tutorial
|title = ''Title of this text''
|text = Lorem ipsum...
}}
</source>
The title parameter is optional (default value ''Page dedicated to educational work'').
The text parameter is required.
{{Jump 2 columns}}
==The painting==
[[Image:Anker Die Dorfschule von 1848 1896.jpg|350px|center]]
The painting chosen for this banner is a painting by [[wicri-europe.fr:Albert Anker|Albert Anker]] dated 1896 and representing a class in Switzerland.
{{End 2 columns}}
[[fr:Modèle:Wicri tp]]
</noinclude><includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:Anker Die Dorfschule von 1848 1896.jpg|link=Template:Wicri tutorial|140px|This painting by Albert Anker illustrates an educational activity on one page]]
|'''{{{title|Page dedicated to educational work}}}'''
:{{{text}}}
|}
</div></includeonly>
14a9f4cd256b11924031f1582b512a9afbc076c8
Template:Wicri partners
10
207
401
400
2021-01-05T17:32:12Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{|align="center" width="96%" style="padding:1em; border:2px solid #aaa; -moz-border-radius:0.8em; -webkit-border-radius:0.5em; background-color:#FFFFFF" valign="top"|
|-
|colspan="6"|<center><big>'''Main partners of Wicri network'''</big></center>
|-
|align="center" width="16%"|[[Image:LogoDRRTLorraine.jpg|120px]]
|align="center" width="16%"|[[Image:Logo-cnrs_165*50.jpg|120px]]
|align="center" width="16%"|[[Image:LogoNITnew.jpg|120px]]
|align="center" width="16%"|[[Image:Logo UL.png|120px]]
|align="center" width="16%"|[[Image:LogoCRLorraine.jpg|120px]]
|align="center" width="16%"|[[Image:LogoFEDER.jpg|120px]]
|-
|align="center" width="16%"|DRRT Lorraine
|align="center" width="16%"|CNRS
|align="center" width="16%"|NIT
|align="center" width="16%"|Université de Lorraine
|align="center" width="16%"|Conseil régional de Lorraine
|align="center" width="16%"|FEDER
|}
b57423c7615020b8c3d26df180c7885277021ae4
Template:Wicri see French page
10
208
403
402
2021-01-05T17:32:12Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
{{Wicri see French page}}
==See also==
* corresponding [[:fr:Modèle:Wicri voir page en anglais|''modèle'' in French]].
</noinclude><includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:France flag 300 2.PNG|80px|link=Template:Wicri see French page|70px|French flag]]
|'''{{{title|See corresponding French page}}}'''
:{{{text|The content of the page in French is richer than this one.<br/>[[:fr:{{{fr|{{PAGENAME}}}}}|To access]].
}}}
|}
</div><includeonly>
98cdc72839c8037ffe00bfa0a31c23cdc94193e7
Template:Wicri museum
10
209
405
404
2021-01-05T17:32:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>The '''''Wicri museum''''' template is a banner designed to identify a page (or section) containing information that is no longer relevant but has been kept for "preserving the history of the Wicri network.
==Sample==
{{Wicri museum
|title = ''That is a title''
|text = Lorem ipsum...
}}
{{Begin 2 columns}}
==Parameters==
This template uses 2 parameters.
Syntaxe :
<source lang="html">
{{Wicri museum
|title = ''That is a title''
|text = Lorem ipsum...
}}
</source>
'''title''' is optional (implicit ''Wicri museum'').
'''text''' is mandatory.
{{Jump 2 columns}}
==The icon==
[[File:Museum template.svg.png|350px|center]]
The icon comes from [[Wikimedia Commons]].
{{End 2 columns}}
[[fr:Modèle:Wicri musée]]
[[Category:Wicri message box templates]]
</noinclude><includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:Museum template.svg.png|80px|link=Modèle:Wicri musée|70px|Cette icône symbolyse un musée]]
|'''{{{title|Wicr museumi}}}'''
:{{{text}}}
|}
</div><includeonly>
cfc6336f8700aa90b1ef8f81ecea9f325c095227
Category:Template for Wicri banner
14
210
407
406
2021-01-05T17:32:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Catégorie:Modèle de bandeau Wicri]]
e1db716bd26dc402a56911bd7f8a9b01640e492a
Category:Message box templates
14
211
409
408
2021-01-05T17:32:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Catégorie:Modèle de bandeau]]
72a70f116ec7765a4d6f24036cef5fad373ed1b1
Category:Wicri message box templates
14
212
411
410
2021-01-05T17:32:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Message box templates]]
[[fr:Catégorie:Modèle de bandeau Wicri]]
d05fd0aa80afa184006576bc35498f123e4dc502
Template:H2 Wicri
10
213
413
412
2021-01-05T17:32:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<h2 class="headerWicri">{{{1}}}</h2>
<noinclude>
[[fr:Modèle:H2 Wicri]]
</noinclude>
0ccec51656adf0deb3199b040f6876f09048b335
Template:Wicri link
10
214
415
414
2021-01-05T17:32:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#switch:{{{wiki}}}<!--
-->|Africa=[[wicri-africa.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Africa]]<!--
-->|Agronomy=[[wicri-agronomy.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Agronomy]]<!--
-->|Alsace=[[wicri-als.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Alsace]]<!--
-->|Americas=[[wicri-americas.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Americas]]<!--
-->|Asia=[[wicri-asia.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Asia]]<!--
-->|Base=[[wicri-base.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Base]]<!--
-->|Computer science=[[wicri-computer-science.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Computer science]]<!--
-->|Earth=[[wicri-earth.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Earth]]<!--
-->|Europe=[[wicri-europe.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Europe]]<!--
-->|Forest=[[wicri-forest.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Forest]]<!--
-->|France=[[wicri-france.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/France]]<!--
-->|Germany=[[wicri-germany.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Germany]]<!--
-->|GR=[[wicri-gr.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Greater Region]]<!--
-->|Health=[[wicri-health.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Health]]<!--
-->|Lorraine=[[wicri-lor.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Lorraine]]<!--
-->|Luxembourg=[[wicri-lux.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Luxembourg]]<!--
-->|Man=[[wicri-man.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Man]]<!--
-->|Metadata=[[wicri-meta.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Metadata]]<!--
-->|Music=[[wicri-music.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Music]]<!--
-->|Outils=[[wicri-outils.fr:{{{page|{{FULLPAGENAME}}}}}|Wicri/Outils (fr)]]<!--
-->|Psychology=[[wicri-psycho.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Psychology]]<!--
-->|Ticri=[[ticri.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Ticri]]<!--
-->|Tools=[[wicri-tools.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Tools]]<!--
-->|Water=[[wicri-water.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Water]]<!--
-->|Wicri=[[wicri.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Wicri]]
}}<noinclude>
This template generates a link into Wicri network.
;Syntax:
::<code><nowiki>{{</nowiki>'''Wicri link'''</code>
:::<code>|wiki=''name of target wiki ''</code> - mandatory
:::<code>|page=''name of target page ''</code> - implicit value <nowiki>{{FULLPAGENAME}}</nowiki>
:::<code>}}</code>
;List of available codes for target wikis:
{{Wicri link/List}}
==See also==
* [[:Template:Wicri link fr]]
[[de:Vorlage:Wicri Link]]
[[fr:Modèle:Wicri lien]]
[[pt:Predefinição:Wicri ligação]]
</noinclude>
ceda1c09939bc75ee7ab21671a261a669cc6cb5c
Template:Wicri link fr
10
215
417
416
2021-01-05T17:32:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#switch:{{{wiki}}}<!--
-->|France=[[wicri-france.fr:{{{page|{{FULLPAGENAME}}}}}|Wicri/France]] (fr)<!--
-->}}<noinclude>
This template must be used for a link to a French wiki of Wicri network.
==See also==
* [[*Template:Wicri link]]
</noinclude>
160be97984f2d5da630bca43452ffd8d2c53383a
Template:Wicri link/List
10
216
419
418
2021-01-05T17:32:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{| class="wikitable"
!wiki code
!interwiki code link
!Full name
|-
|Africa
|wicri-africa.en
|{{Wicri link|wiki=Africa}}
|-
|Agronomy
|wicri-agronomy.en
|{{Wicri link|wiki=Agronomy}}
|-
|Alsace
|wicri-als.en
|{{Wicri link|wiki=Alsace}}
|-
|Americas
|wicri-americas.en
|{{Wicri link|wiki=Americas}}
|-
|Asia
|wicri-asia.en
|{{Wicri link|wiki=Asia}}
|-
|Base
|wicri-base.en
|{{Wicri link|wiki=Base}}
|-
|Computer science
|wicri-computer-science.en
|{{Wicri link|wiki=Computer science}}
|-
|Earth
|wicri-earth.en
|{{Wicri link|wiki=Earth}}
|-
|Europe
|wicri-europe.en
|{{Wicri link|wiki=Europe}}
|-
|Forest
|wicri-forest.en
|{{Wicri link|wiki=Forest}}
|-
|France
|wicri-france.en
|{{Wicri link|wiki=France}}
|-
|Germany
|wicri-germany.en
|{{Wicri link|wiki=Germany}}
|-
|GR
|wicri-gr.en
|{{Wicri link|wiki=GR}}
|-
|Health
|wicri-health.en
|{{Wicri link|wiki=Health}}
|-
|Lorraine
|wicri-lor.en
|{{Wicri link|wiki=Lorraine}}
|-
|Luxembourg
|wicri-lux.en
|{{Wicri link|wiki=Luxembourg}}
|-
|Man
|wicri-man.en
|{{Wicri link|wiki=Man}}
|-
|Metadata
|wicri-meta.en
|{{Wicri link|wiki=Metadata}}
|-
|Music
|wicri-music.en
|{{Wicri link|wiki=Music}}
|-
|Outils
|wicri-outils.fr
|{{Wicri link|wiki=Outils|page=Accueil}}
|-
|Psychology
|wicri-psycho.en
|{{Wicri link|wiki=Psychology}}
|-
|Ticri
|ticri.en
|{{Wicri link|wiki=Ticri}}
|-
|Tools
|wicri-tools.en
|{{Wicri link|wiki=Tools}}
|-
|Water
|wicri-water.en
|{{Wicri link|wiki=Water}}
|-
|Wicri
|wicri.en
|{{Wicri link|wiki=Wicri}}
|}
<noinclude>
[[fr:Modèle:Wicri lien/Liste]]
</noinclude>
84c8701e2b41860d01fcc45f64d9f61143cb3717
Template:Wicri link/Link
10
217
421
420
2021-01-05T17:32:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#switch:{{{wiki}}}<!--
-->|Africa=wicri-africa.en<!--
-->|Agronomy=wicri-agronomy.en<!--
-->|Alsace=wicri-als.en<!--
-->|Americas=wicri-americas.en<!--
-->|Asia=wicri-asia.en<!--
-->|Base=wicri-base.en<!--
-->|Computer science=wicri-computer-science.en<!--
-->|Earth=wicri-earth.en<!--
-->|Europe=wicri-europe.en<!--
-->|Forest=wicri-forest.en<!--
-->|France=wicri-france.en<!--
-->|Germany=wicri-germany.en<!--
-->|GR=wicri-gr.en<!--
-->|Health=wicri-health.en<!--
-->|Lorraine=wicri-lor.en<!--
-->|Luxembourg=wicri-lux.en<!--
-->|Man=wicri-man.en<!--
-->|Metadata=wicri-meta.en<!--
-->|Music=wicri-music.en<!--
-->|Psychology=wicri-psycho.en<!--
-->|Ticri=ticri.en<!--
-->|Tools=wicri-tools.en<!--
-->|Water=wicri-water.en<!--
-->|Wicri=wicri.en
}}
e3db604b5372ea38ca4dad7c9c41df5e4b4ed669
Template:Wicri link with icon
10
218
423
422
2021-01-05T17:32:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>[[{{Wicri link/Link|wiki={{{wiki}}}}}:{{{page}}}|{{{texte|{{{page}}}}}}]] ([[{{Logo Wicri fr}}|12px|link={{Wicri link/Link|wiki={{{wiki}}}}}:{{{page}}}]])</includeonly><noinclude>
This template is used for creatig an interwiki link with an icon.
Sample:
<source lang="html">
* {{Wicri link with icon|wiki=Computer science|page=EDF 2014 Athens}}
</source>
* {{Wicri link with icon|wiki=Computer science|page=EDF 2014 Athens}}
==See also==
* [[Template:Wicri link]]
* [[Template:Wicri link/Link]]
[[Category:Interwiki link]]
[[fr:Modèle:Wicri lien avec icône]]
</noinclude>
1ed91c502bc3d64fec02eb8fef5fc60eeb38a586
Template:Wicri see
10
219
425
424
2021-01-05T17:32:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template produces :
;In the Wicri network<nowiki>:</nowiki>:
[[fr:Modèle:Wicri voir]]
</noinclude><includeonly>;In the Wicri network<nowiki>:</nowiki>:{{#if:{{{via|}}}<!--
-->|See « {{PAGENAME}} » in the wiki {{Wicri link|wiki={{{via}}}}},<!--
--> with its [[help:Reference page{{!}}reference page]] in <!--
-->{{Wicri link|wiki={{{reference}}}}}.<!--
-->|{{#if:{{{dec|}}}|This is the [[help:Reference page{{!}}reference page]] of « {{PAGENAME}} ». [[Category:Reference page for {{{dec}}}]]|The [[help:Reference page{{!}}reference page]] for « {{PAGENAME}} » is in the wiki {{Wicri link|wiki={{{reference}}}}}.}}<!--
-->}}<includeonly>
ae8672ddbc0587fc215d1c70dd0f451d7e01db67
Template:Wicri moved page
10
220
427
426
2021-01-05T17:32:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:Nuvola apps forward arrow.png|60px|logo lien externe]]
|This page has been moved into {{Wicri link|wiki={{{wiki}}}|page={{{page}}}}}
|}</div>
<noinclude>
This template must be used for marking a page that has been moced into another wiki.<br/>
:<code><nowiki>{{Wicri moved page}}</nowiki></code>
:<code><nowiki> |page =</nowiki></code> ''page name in target wiki''
:<code><nowiki> |wiki =</nowiki></code> ''target wiki code (see below)''
:<code><nowiki>}}</nowiki></code>
;Available codes:
{{Wicri link/List}}
[[fr:Modèle:Wicri page transférée]]
</noinclude>
5e49ba7035bede93775cdf9456f35ff7e58c54cb
Template:Wicri link to Wikipedia
10
221
429
428
2021-01-05T17:32:15Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[File:Logo lien vers Wikipédia.png|100px|logo lien externe]]
|This page has just been created. Its content is limited to an external link to Wikipedia. <br/>For more information, please, consult the tab '''[[Special:Special:WhatLinksHere//{{PAGENAME}}|What links here]]''' (side bar).
|}
</div>
==See also==
{{#if:{{{ref|}}}|
{{Wicri voir|référence={{{ref}}}}}}}
;Liens externes:
* Wikipedia : [[wikipedia:{{PAGENAME}}|{{PAGENAME}}]]
[[Category : page in creation step]]
<noinclude>
Ce bandeau doit être utilisé pour signaler une création de page pour laquelle le lien externe vers Wikipédia est le seul élément significatif.
Syntaxe :
<pre>
{{Wicri avertissement lien externe}}
</pre>
==Voir aussi==
* [[Modèle:Wicri avertissement lien externe]],
* [[Modèle:Lien Wikipédia]]
[[Catégorie:Modèle de bandeau Wicri]]
[[fr:Modèle:Wicri avertissement lien Wikipédia]]
</noinclude>
a481fa2508d845d524fdedef4f7cd1f4bea55489
Template:To French box
10
222
431
430
2021-01-05T17:32:15Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Begin box|yellow|back=#E8E5FF}}
[[Image:France flag 300 2.PNG|50px|right|link={{{link|fr:{{PAGENAME}}}}]]
{{{text}}}
{{End box}}
<noinclude>
</noinclude>
8a659b7d02225946999ec831cdc97fd0ffd87411
Template:Catmore
10
223
433
432
2021-01-05T17:32:41Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Cat more]]
a60e44ad84056bec0059d60d343a84a4c49fe21b
Template:Catmore/doc
10
224
435
434
2021-01-05T17:32:41Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Cat more/doc]]
ac3a469cfd9f040f4650e9976357aaa2c8b63d39
Template:Cat more
10
225
437
436
2021-01-05T17:32:41Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Hatnote|extraclasses=relarticle mainarticle|For more information, see '''[[{{{1<includeonly>|{{PAGENAME}}</includeonly>}}}{{#if:{{{l1|}}}|{{!}}{{{l1}}}}}]]'''{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }} '''[[{{{2}}}{{#if:{{{l2|}}}|{{!}}{{{l2}}}}}]]'''{{#if:{{{3|}}}|{{#if:{{{4|}}}|, | and }} '''[[{{{3}}}{{#if:{{{l3|}}}|{{!}}{{{l3}}}}}]]'''{{#if:{{{4|}}}|{{#if:{{{5|}}}|, | and }} '''[[{{{4}}}{{#if:{{{l4|}}}|{{!}}{{{l4}}}}}]]'''{{#if:{{{5|}}}| and '''[[{{{5}}}{{#if:{{{l5|}}}|{{!}}{{{l5}}}}}]]'''}}}}}}}}.{{#if:{{{6|}}}|<br />— '''Error: [[Template:Cat more|Too many links specified (maximum is 5)]]'''}}}}<noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}
</noinclude>
2b62f8add673a638908b441038b792760cd2b27f
Template:Cat more/doc
10
226
439
438
2021-01-05T17:32:42Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
==Usage==
<code><nowiki>{{cat more|WP:WikiProject}}</nowiki></code> produces: {{cat more|WP:WikiProject}}
<code><nowiki>{{cat more|WP:WikiProject|l1=WikiProject}}</nowiki></code> produces: {{cat more|WP:WikiProject|l1=WikiProject}}
==Multiple link targets==
* <code><nowiki>{{cat more|1 BC}}</nowiki></code> produces: {{cat more|1 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC}}
* <code><nowiki>{{cat more|1 BC|2 BC}}</nowiki></code> produces: {{cat more|1 BC|2 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC}}
* <code><nowiki>{{cat more|1 BC|2 BC|3 BC}}</nowiki></code> produces: {{cat more|1 BC|2 BC|3 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC}}
* <code><nowiki>{{cat more|1 BC|2 BC|3 BC|4 BC}}</nowiki></code> produces: {{cat more|1 BC|2 BC|3 BC|4 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC|Talk:4 BC|l4=4 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC|Talk:4 BC|l4=4 BC}}
* <code><nowiki>{{cat more|1 BC|2 BC|3 BC|4 BC|5 BC}}</nowiki></code> produces: {{cat more|1 BC|2 BC|3 BC|4 BC|5 BC}}
* <code><nowiki>{{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC|Talk:4 BC|l4=4 BC|Talk:5 BC|l5=5 BC}}</nowiki></code> produces: {{cat more|Talk:1 BC|l1=1 BC|Talk:2 BC|l2=2 BC|Talk:3 BC|l3=3 BC|Talk:4 BC|l4=4 BC|Talk:5 BC|l5=5 BC}}
== TemplateData ==
{{TemplateDataHeader}}
<templatedata>
{
"description": "This templates adds a 'For more information, see ...' statement with a maximum of 5 linked Wiki pages. Each link can be labelled with a user-defined new text. If no label is defined, the link will display with its original page name.",
"params": {
"1": {
"label": "first link",
"type": "string",
"required": true,
"description": "First link to a Wiki page, formatted as 'internal' Wiki-link, f.e. 'WP:WikiProject' or 'articlename'"
},
"l1": {
"label": "label first link",
"type": "string",
"description": "Format: l1=labeltext. A user-defined label for the first Wiki-link, f.e. 'WP:WikiProject' as first parameter and 'l1=Project' would display 'Project' but link to 'WP:WikiProject'"
},
"2": {
"label": "second link",
"type": "string",
"description": "Second link to another Wiki page, same formatting as the first link. Note: 3 more links 3,4,5 and (optional) labels l3,l4,l5 can be added manually"
},
"l2": {
"label": "label second link",
"type": "string",
"description": "Format: l2=labeltext. A user-defined label for the second Wiki-link. Note: 3 more links 3,4,5 and (optional) labels l3,l4,l5 can be added manually"
}
}
}
</templatedata>
==See also==
* {{tl|Cat main}} "The main article for this category is..."
* {{tl|Category explanation|colourless green ideas}} "This category is for ..."
* {{tl|Category main section}}
* [[WP:HAT]] all hatnotes, documentation
<includeonly>
<!--PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
[[Category:Hatnote templates for category pages]]
</includeonly>
dd178f33a5941b586b00fdcacbb8755140c20eea
Template:Hatnote
10
227
441
440
2021-01-05T17:32:42Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
4a1d1028d07c9056022807a96051e1c82cf2a1c7
Module:Hatnote
828
228
443
442
2021-01-05T17:32:43Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Module:Hatnote --
-- --
-- This module produces hatnote links and links to related articles. It --
-- implements the {{hatnote}} and {{format link}} meta-templates and includes --
-- helper functions for other Lua hatnote modules. --
--------------------------------------------------------------------------------
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local mArguments -- lazily initialise [[Module:Arguments]]
local yesno -- lazily initialise [[Module:Yesno]]
local p = {}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getArgs(frame)
-- Fetches the arguments from the parent frame. Whitespace is trimmed and
-- blanks are removed.
mArguments = require('Module:Arguments')
return mArguments.getArgs(frame, {parentOnly = true})
end
local function removeInitialColon(s)
-- Removes the initial colon from a string, if present.
return s:match('^:?(.*)')
end
function p.findNamespaceId(link, removeColon)
-- Finds the namespace id (namespace number) of a link or a pagename. This
-- function will not work if the link is enclosed in double brackets. Colons
-- are trimmed from the start of the link by default. To skip colon
-- trimming, set the removeColon parameter to false.
checkType('findNamespaceId', 1, link, 'string')
checkType('findNamespaceId', 2, removeColon, 'boolean', true)
if removeColon ~= false then
link = removeInitialColon(link)
end
local namespace = link:match('^(.-):')
if namespace then
local nsTable = mw.site.namespaces[namespace]
if nsTable then
return nsTable.id
end
end
return 0
end
function p.formatPages(...)
-- Formats a list of pages using formatLink and returns it as an array. Nil
-- values are not allowed.
local pages = {...}
local ret = {}
for i, page in ipairs(pages) do
ret[i] = p._formatLink(page)
end
return ret
end
function p.formatPageTables(...)
-- Takes a list of page/display tables and returns it as a list of
-- formatted links. Nil values are not allowed.
local pages = {...}
local links = {}
for i, t in ipairs(pages) do
checkType('formatPageTables', i, t, 'table')
local link = t[1]
local display = t[2]
links[i] = p._formatLink(link, display)
end
return links
end
function p.makeWikitextError(msg, helpLink, addTrackingCategory, title)
-- Formats an error message to be returned to wikitext. If
-- addTrackingCategory is not false after being returned from
-- [[Module:Yesno]], and if we are not on a talk page, a tracking category
-- is added.
checkType('makeWikitextError', 1, msg, 'string')
checkType('makeWikitextError', 2, helpLink, 'string', true)
yesno = require('Module:Yesno')
title = title or mw.title.getCurrentTitle()
-- Make the help link text.
local helpText
if helpLink then
helpText = ' ([[' .. helpLink .. '|help]])'
else
helpText = ''
end
-- Make the category text.
local category
if not title.isTalkPage and yesno(addTrackingCategory) ~= false then
category = 'Hatnote templates with errors'
category = string.format(
'[[%s:%s]]',
mw.site.namespaces[14].name,
category
)
else
category = ''
end
return string.format(
'<strong class="error">Error: %s%s.</strong>%s',
msg,
helpText,
category
)
end
function p.disambiguate(page, disambiguator)
-- Formats a page title with a disambiguation parenthetical,
-- i.e. "Example" → "Example (disambiguation)".
checkType('disambiguate', 1, page, 'string')
checkType('disambiguate', 2, disambiguator, 'string', true)
disambiguator = disambiguator or 'disambiguation'
return string.format('%s (%s)', page, disambiguator)
end
--------------------------------------------------------------------------------
-- Format link
--
-- Makes a wikilink from the given link and display values. Links are escaped
-- with colons if necessary, and links to sections are detected and displayed
-- with " § " as a separator rather than the standard MediaWiki "#". Used in
-- the {{format hatnote link}} template.
--------------------------------------------------------------------------------
function p.formatLink(frame)
local args = getArgs(frame)
local link = args[1]
local display = args[2]
if not link then
return p.makeWikitextError(
'no link specified',
'Template:Format hatnote link#Errors',
args.category
)
end
return p._formatLink(link, display)
end
function p._formatLink(link, display)
checkType('_formatLink', 1, link, 'string')
checkType('_formatLink', 2, display, 'string', true)
-- Remove the initial colon for links where it was specified manually.
link = removeInitialColon(link)
-- Find whether a faux display value has been added with the {{!}} magic
-- word.
if not display then
local prePipe, postPipe = link:match('^(.-)|(.*)$')
link = prePipe or link
display = postPipe
end
-- Find the display value.
if not display then
local page, section = link:match('^(.-)#(.*)$')
if page then
display = page .. ' § ' .. section
end
end
-- Assemble the link.
if display then
return string.format(
'[[:%s|%s]]',
string.gsub(link, '|(.*)$', ''), --display overwrites manual piping
display
)
else
return string.format('[[:%s]]', link)
end
end
--------------------------------------------------------------------------------
-- Hatnote
--
-- Produces standard hatnote text. Implements the {{hatnote}} template.
--------------------------------------------------------------------------------
function p.hatnote(frame)
local args = getArgs(frame)
local s = args[1]
local options = {}
if not s then
return p.makeWikitextError(
'no text specified',
'Template:Hatnote#Errors',
args.category
)
end
options.extraclasses = args.extraclasses
options.selfref = args.selfref
return p._hatnote(s, options)
end
function p._hatnote(s, options)
checkType('_hatnote', 1, s, 'string')
checkType('_hatnote', 2, options, 'table', true)
options = options or {}
local classes = {'hatnote', 'navigation-not-searchable'}
local extraclasses = options.extraclasses
local selfref = options.selfref
if type(extraclasses) == 'string' then
classes[#classes + 1] = extraclasses
end
if selfref then
classes[#classes + 1] = 'selfref'
end
return string.format(
'<div role="note" class="%s">%s</div>',
table.concat(classes, ' '),
s
)
end
return p
68269290db95dca1fb485b69372e2b5a90ed79ad
Template:Category navbox
10
229
445
444
2021-01-05T17:32:43Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
|name = Category box
|title = {{{title}}}
|list1= {{{text}}}
|list1style=text-align:left;
|titlestyle = background:#FFeeFF;
|state=collapsed
}}
<noinclude>
[[fr:Modèle:Boîte déroulante catégorie]]
</noinclude>
dd77934891b229531c2e1780316940922e0617e7
Template:Disambiguation
10
230
447
446
2021-01-05T17:32:44Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Dmbox
| type = disambig
| text = This [[Help:Disambiguation|disambiguation]] page lists {{{type|{{#if:{{{ignore_parentheses|}}}||{{Title disambig text|{{trim|{{Str rep|{{{page-title|{{FULLPAGENAME}}}}}|(disambiguation)|}}}}}}}}}}} <includeonly>{{template other|templates|</includeonly>articles<includeonly>}}</includeonly> associated with the title '''{{#if:{{{ignore_parentheses|}}}|{{{page-title|{{FULLPAGENAME}}}}}|{{title without disambig|{{{page-title|{{FULLPAGENAME}}}}}}}}}'''. <br /> <small>If an [{{fullurl:Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.</small>
| nocat = {{{nocat|}}} <!--So "nocat=true" works-->
}}{{main other
| demospace = {{{demospace|}}}
| [[Category:Disambiguation pages]]{{disambiguation/cat|{{{1|}}}}}{{disambiguation/cat|{{{2|}}}}}{{disambiguation/cat|{{{3|}}}}}{{disambiguation/cat|{{{4|}}}}}{{disambiguation/cat|{{{5|}}}}}{{disambiguation/cat|{{{6|}}}}}{{disambiguation/cat|{{{7|}}}}}{{disambiguation/cat|{{{8|}}}}}{{disambiguation/cat|{{{9|}}}}}{{disambiguation/cat|{{{10|}}}}}{{#if:{{Title disambig text|{{trim|{{Str rep|{{FULLPAGENAME}}|(disambiguation)|}}}}}}|[[Category:Disambiguation pages with (qualified) titles]]|}}
| <!-- Don't categorise when not in main (article) space. However, note that {{Dmbox}} categorises pages into Category:All disambiguation pages and Category:All article disambiguation pages-->
}}<includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{TALKPAGENAME}}}}|yes|[[Category:Unsynchronized disambiguation talk pages]]}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! -->
</noinclude>
131d48a411c884b21b0b159cb5dce2c157328b66
Template:Disambiguation/doc
10
231
449
448
2021-01-05T17:32:44Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
{{High-risk| 173000+ }}
{{Dabnav}}
{{shortcut|Template:Dab|Template:Disambig}}
This is the {{tl|Disambiguation}} template.
'''<big>Important: Please do not [[Wikipedia:Substitution|subst:]] this template.</big>'''
This is a general-purpose template, to be placed at the bottom of any article that exists to help readers find other articles with the same or similar names. This concept is called ''[[Wikipedia:Disambiguation|disambiguation]]'' and is used with many common words, such as ''[[Cross (disambiguation)|cross]]'', ''[[Life (disambiguation)|life]]'' and ''[[work]]''. This template automatically adds articles to the [[:Category:Disambiguation pages]].
== Page title fixes ==
This template will automatically detect incomplete disambiguation present in page titles. If the title includes anything other than (disambiguation) in parentheses, it is assumed to be the article type. For example, this template on the page [[1st Division (France)]] would produce the text "This disambiguation page lists France articles associated with the title '''1st Division'''". If the page titles contains parentheses that are not used for disambiguation (such as [[Everything You Always Wanted to Know About Sex* (*But Were Afraid to Ask)]]), set {{para|ignore_parentheses|yes}}. If you wish to manually specify the article type, use the {{para|type}} parameter.
==Variant templates==
===Disambiguation===
{{Category see also|Disambiguation message boxes}}
For disambiguation pages requiring cleanup, use {{tl|Disambiguation cleanup}}.
More specific and alternative templates exist for disambiguation pages whose entries are limited exclusively to items of a particular type:
* {{tl|Airport disambiguation}} for airports – [[:Category:Airport disambiguation]]
* {{tl|Biology disambiguation}} – [[:Category:Biology disambiguation pages]]
* {{tl|Call sign disambiguation}} – [[:Category:Broadcast call sign disambiguation pages]]
* {{tl|Caselaw disambiguation}} – [[:Category:Case law disambiguation pages]]
* {{tl|Chinese title disambiguation}} – [[:Category:Disambiguation pages with Chinese character titles]]
* {{tl|Genus disambiguation}} – [[:Category:Genus disambiguation pages]]
* {{tl|Geodis}} for place names – [[:Category:Place name disambiguation pages]]
* {{tl|Hndis}} for people's names – [[:Category:Human name disambiguation pages]]
** {{tl|Hndis-cleanup}}
* {{tl|Hospital disambiguation}} for hospitals or medical centers – [[:Category:Hospital disambiguation pages]]
* {{tl|Letter disambiguation}} – adds a Latin letter navbox, does not auto-categorize
* {{tl|Letter-NumberCombDisambig}} – [[:Category:Letter-number combination disambiguation pages]]
* {{tl|Mathematical disambiguation}} for mathematics titles – [[:Category:Mathematics disambiguation pages]]
* {{tl|Mil-unit-dis}} – [[:Category:Military units and formations disambiguation pages]]
* {{tl|Numberdis}} for numbers – [[:Category:Lists of ambiguous numbers]]
* {{tl|Phonetics disambiguation}} – [[:Category:Linguistics disambiguation pages]]
* {{tl|Road disambiguation}} for roads – [[:Category:Road disambiguation pages]]
* {{tl|School disambiguation}} for educational institutions – [[:Category:Educational institution disambiguation pages]]
* {{tl|Species Latin name disambiguation}} – [[:Category:Latin name disambiguation pages]]
* {{tl|Wikipedia disambiguation}} for ambiguous titles and shortcuts in the Wikipedia namespace – [[:Category:Wikipedia disambiguation pages]]
'''Note:''' A set index article (SIA) is ''not'' a disambiguation page; it is a list article about a set of items ''of a specific type'' that ''also'' share the same (or similar) name. [[Wikipedia:Set index articles]] includes templates for SIAs.
== Parameters ==
Sometimes there isn't a specific disambiguation template (see list above) that fits for a page, or the page has items in more than one of the above classes. Then use {{tl|Disambiguation}} but with one or more parameters telling which categories to use. Up to ten parameters can be fed, and in any order, for example:
:{{tlc|Disambiguation|school|hospital}}
Only add a parameter from this list if the disambiguation page has several items of that type:
* {{tlx|Disambiguation|human name}}: for [[:Category:Human name disambiguation pages]] (note that you must instead add the category separately if it needs a different [[WP:SORTKEY|sort key]])
* {{tlx|Disambiguation|bird}}: for [[:Category:Bird common name disambiguation pages]]
* {{tlx|Disambiguation|church}}: for [[:Category:Church building disambiguation pages]]
* {{tlx|Disambiguation|county}}: for [[:Category:County name disambiguation pages]]
** {{tlx|Disambiguation|uscounty}}: for [[:Category:United States county disambiguation pages]]
* {{tlx|Disambiguation|fish}}: for [[:Category:Fish common name disambiguation pages]]
* {{tlx|Disambiguation|genus}}: for [[:Category:Genus disambiguation pages]]
* {{tlx|Disambiguation|geo}}: for [[:Category:Place name disambiguation pages]]
* {{tlx|Disambiguation|hospital}}: for [[:Category:Hospital disambiguation pages]]
* {{tlx|Disambiguation|latin}}: for [[:Category:Latin name disambiguation pages]]
* {{tlx|Disambiguation|letter number}}: for [[:Category:Letter-number combination disambiguation pages]]
* {{tlx|Disambiguation|math}}: for [[:Category:Mathematical disambiguation]]
* {{tlx|Disambiguation|number}}: for [[:Category:Lists of ambiguous numbers]]
* {{tlx|Disambiguation|plant}}: for [[:Category:Plant common name disambiguation pages]]
* {{tlx|Disambiguation|political}}: for [[:Category:Political party disambiguation pages]]
* {{tlx|Disambiguation|road}}: for [[:Category:Road disambiguation pages]]
* {{tlx|Disambiguation|school}}: for [[:Category:Educational institution disambiguation pages]]
* {{tlx|Disambiguation|ship}}: for [[:Category:Ship disambiguation pages]]
* {{tlx|Disambiguation|township}}: for [[:Category:Township name disambiguation pages]]
These can be added if there are one or more elements in the list (per their category descriptions):
* {{tlx|Disambiguation|airport}}: for [[:Category:Airport disambiguation]]
* {{tlx|Disambiguation|callsign}}: for [[:Category:Broadcast call sign disambiguation pages]]
These can be added even if there's only one element in the list, since these types are not actually ambiguous:
* {{tlx|Disambiguation|given name}}: [[:Category:Disambiguation pages with given-name-holder lists]]
* {{tlx|Disambiguation|surname}}: for [[:Category:Disambiguation pages with surname-holder lists]]
This parameter reflects the title, not the contents:
* {{tlx|Disambiguation|chinese}}: for [[:Category:Disambiguation pages with Chinese character titles]]
And this parameter reflects a maintenance need, not the contents:
* {{tlx|Disambiguation|split}}: for [[:Category:Disambiguation pages in need of being split]]
Note that {{tl|Disambiguation}} might not have parameters for all subcategories of [[:Category:Disambiguation pages]], then you have to manually add the category to the disambig page.
=== Nocat ===
If categorization is not needed on pages that are not in [[WP:MAINSPACE|mainspace]], then the "nocat" parameter may be set equal to "true" or "yes" as follows:
* {{tlx|Disambiguation|nocat{{=}}true}}
* {{tlx|Disambiguation|nocat{{=}}yes}}
== Redirects ==
The following redirect to this template:
* {{tl|Disambig}}
* {{tl|Dab}}
* {{tl|DAB}}
* {{tl|Disamb}}
== Technical details ==
Internally, this template uses {{tl|Dmbox}}. That template categorises pages into [[:Category:All disambiguation pages]] and [[:Category:All article disambiguation pages]].
This template also uses {{tl|Disambiguation/cat}} to handle the categorisation parameters, such as "hospital" and "school".
== Template use ==
Place template at the foot of the disambiguation page after all of the disambiguation content but before any categories (see below) or interlanguage links, as per the [[WP:DCAT]] guideline.
==TemplateData==
{{TemplateDataHeader}}
<templatedata>
{
"description": "Place at the bottom of Disambiguation pages.",
"params": {
"1": {
"label": "1",
"description": "Used to put the page in a category. Can be one of 'split' (dab pages in need of being split); 'clean up','clean-up','cleanup' (dabs in need of cleanup); 'airports','airport' (airport dabs); 'call sign','call signs','broadcast call sign','broadcast call signs','callsign' (broadcast call sign dabs); 'chinese char','chinese-char','chinesechar','chinese character','chinese' (chinese character dabs); 'churches','church building','church buildings','church' (church building dabs), 'fish' (fish dabs); 'geodis','geography','geographical','place name','place names','place','places','geo' (Place names); 'county'; 'uscounty' (United States county dabs); 'township' (Township name dabs); 'name','names','human name','human names','hn','hndis' (Human name dabs); 'surnames','surname' (surname dabs); 'given names','given name' (given-name dabs), 'hospital name','hospital names','hospitals','hospital' (hospital dabs); 'latin name','latin names','latin' (Latin name dabs); 'letter-number','letter number' (Letter-number combination dabs); 'mathdab','maths','mathematics','mathematical','math' (mathematical dabs); 'numberdis','numbers','ambiguous number','ambiguous numbers','number' (Lists of ambiguous numbers), 'plants','plant' (Plant common name dabs); 'roaddis','roads','road' (road dabs), 'schooldis','schools','educational institution','educational institutions','college','colleges','university','universities','school' (Educational institution dabs); 'political','party' (political party dabs), 'genus' (Genus dabs)",
"type": "string",
"required": false
},
"2": {
"label": "2",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"3": {
"label": "3",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"4": {
"label": "4",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"5": {
"label": "5",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"6": {
"label": "6",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"7": {
"label": "7",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"8": {
"label": "8",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"9": {
"label": "9",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"10": {
"label": "10",
"description": "Further category keys, as parameter 1.",
"type": "string",
"required": false
},
"page-title": {
"label": "page-title",
"description": "Page title to use, only useful for special cases when default does not work.",
"type": "string",
"default": "(FULLPAGENAME)",
"required": false
},
"nocat": {
"label": "nocat",
"description": "Set to 'yes' to prevent categorisation.",
"type": "string",
"required": false
},
"demospace": {
"label": "demospace",
"description": "Used for testing.",
"type": "string",
"required": false
},
"ignore_parentheses": {
"label": "ignore_parentheses",
"description": "Set to 'yes' to prevent parentheses in the article title from being parsed as incomplete disambiguation.",
"type": "string",
"required": false
},
"type": {
"label": "type",
"description": "Manually specify the article type in the descriptive text ('This disambiguation page lists {{{type}}} articles...')",
"type": "string",
"required": false
}
}
}
</templatedata>
== See also ==
* [[Wikipedia:Hatnote]]
* {{tl|Disambiguation needed}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article, see [[Wikipedia:OTHERUSES]] for more.
* {{tl|WikiProject Disambiguation}} – for disambig talkpages
* {{tl|Other uses}} – for linking to disambiguation pages in articles
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Disambiguation message boxes| ]]
}}</includeonly>
f5bfe974a84174ef9739ec12aa014bff05f95cb2
Template:Dmbox
10
232
451
450
2021-01-05T17:32:44Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<table id="
{{#switch:{{{type|}}}
| setindex = setindexbox
| disambig <!-- disambig = default -->
| #default = disambigbox
}}" class="metadata plainlinks dmbox
{{#switch:{{{type|}}}
| setindex = dmbox-setindex
| disambig <!-- disambig = default -->
| #default = dmbox-disambig
}} {{{class|}}}" style="{{{style|}}}" role="presentation">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <td class="mbox-image" style="padding: 2px 0 2px 0.4em;"> {{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| setindex = DAB list gray.svg
| disambig <!-- disambig = default -->
| #default = Disambig gray.svg
}}|30px|alt=Disambiguation icon]]
}}</td>
}}
<td class="mbox-text" style="padding: 0.25em 0.4em; font-style: italic; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright" style="padding: 2px 0.4em 2px 0;"> {{{imageright}}} </td>
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| disambig
| setindex = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<!--
Magic word for disambiguation pages:
-->{{#ifeq:{{{type|}}}|disambig|__DISAMBIG__|}}<!--
Categorization:
-->{{#switch:{{{type|}}}
| setindex =
{{category handler
| main = [[Category:All set index articles]]
| nocat = {{{nocat|}}} <!--So "nocat=true" works-->
| page = {{{page|}}} <!--For testing-->
}}
| disambig <!-- disambig = default -->
| #default =
{{category handler
| main = [[Category:All article disambiguation pages]][[Category:All disambiguation pages]]
| template = <!-- Don't categorize on template pages. -->
| other = [[Category:All disambiguation pages]]
| nocat = {{{nocat|}}} <!--So "nocat=true" works-->
| page = {{{page|}}} <!--For testing-->
}}
}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! -->
</noinclude>
e600c15920659c8a898b50e6c47f2ad44a6a7919
Template:Main other
10
233
453
452
2021-01-05T17:32:45Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:0}}
| main
| other
}}
}}
| main = {{{1|}}}
| other
| #default = {{{2|}}}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
c8e5526da7586aff37928206e183ceef44ed7829
Template:Category handler
10
234
455
454
2021-01-05T17:32:45Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:Category handler|main}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage, and interwikis to Wikidata. -->
</noinclude>
d14e9f545cf1833acbe174ae70b615c39b18cf63
Module:Hatnote list
828
235
457
456
2021-01-05T17:32:46Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Module:Hatnote list --
-- --
-- This module produces and formats lists for use in hatnotes. In particular, --
-- it implements the for-see list, i.e. lists of "For X, see Y" statements, --
-- as used in {{about}}, {{redirect}}, and their variants. Also introduced --
-- are andList & orList helpers for formatting lists with those conjunctions. --
--------------------------------------------------------------------------------
local mArguments --initialize lazily
local mHatnote = require('Module:Hatnote')
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local p = {}
--------------------------------------------------------------------------------
-- List stringification helper functions
--
-- These functions are used for stringifying lists, usually page lists inside
-- the "Y" portion of "For X, see Y" for-see items.
--------------------------------------------------------------------------------
--default options table used across the list stringification functions
local stringifyListDefaultOptions = {
conjunction = "and",
separator = ",",
altSeparator = ";",
space = " ",
formatted = false
}
-- Stringifies a list generically; probably shouldn't be used directly
function stringifyList(list, options)
-- Type-checks, defaults, and a shortcut
checkType("stringifyList", 1, list, "table")
if #list == 0 then return nil end
checkType("stringifyList", 2, options, "table", true)
options = options or {}
for k, v in pairs(stringifyListDefaultOptions) do
if options[k] == nil then options[k] = v end
end
local s = options.space
-- Format the list if requested
if options.formatted then list = mHatnote.formatPages(unpack(list)) end
-- Set the separator; if any item contains it, use the alternate separator
local separator = options.separator
--searches display text only
function searchDisp(t, f)
return string.find(string.sub(t, (string.find(t, '|') or 0) + 1), f)
end
for k, v in pairs(list) do
if searchDisp(v, separator) then
separator = options.altSeparator
break
end
end
-- Set the conjunction, apply Oxford comma, and force a comma if #1 has "§"
local conjunction = s .. options.conjunction .. s
if #list == 2 and searchDisp(list[1], "§") or #list > 2 then
conjunction = separator .. conjunction
end
-- Return the formatted string
return mw.text.listToText(list, separator .. s, conjunction)
end
--DRY function
function conjList (conj, list, fmt)
return stringifyList(list, {conjunction = conj, formatted = fmt})
end
-- Stringifies lists with "and" or "or"
function p.andList (...) return conjList("and", ...) end
function p.orList (...) return conjList("or", ...) end
--------------------------------------------------------------------------------
-- For see
--
-- Makes a "For X, see [[Y]]." list from raw parameters. Intended for the
-- {{about}} and {{redirect}} templates and their variants.
--------------------------------------------------------------------------------
--default options table used across the forSee family of functions
local forSeeDefaultOptions = {
andKeyword = 'and',
title = mw.title.getCurrentTitle().text,
otherText = 'other uses',
forSeeForm = 'For %s, see %s.'
}
--Collapses duplicate punctuation
function punctuationCollapse (text)
local replacements = {
["%.%.$"] = ".",
["%?%.$"] = "?",
["%!%.$"] = "!",
["%.%]%]%.$"] = ".]]",
["%?%]%]%.$"] = "?]]",
["%!%]%]%.$"] = "!]]"
}
for k, v in pairs(replacements) do text = string.gsub(text, k, v) end
return text
end
-- Structures arguments into a table for stringification, & options
function p.forSeeArgsToTable (args, from, options)
-- Type-checks and defaults
checkType("forSeeArgsToTable", 1, args, 'table')
checkType("forSeeArgsToTable", 2, from, 'number', true)
from = from or 1
checkType("forSeeArgsToTable", 3, options, 'table', true)
options = options or {}
for k, v in pairs(forSeeDefaultOptions) do
if options[k] == nil then options[k] = v end
end
-- maxArg's gotten manually because getArgs() and table.maxn aren't friends
local maxArg = 0
for k, v in pairs(args) do
if type(k) == 'number' and k > maxArg then maxArg = k end
end
-- Structure the data out from the parameter list:
-- * forTable is the wrapper table, with forRow rows
-- * Rows are tables of a "use" string & a "pages" table of pagename strings
-- * Blanks are left empty for defaulting elsewhere, but can terminate list
local forTable = {}
local i = from
local terminated = false
-- Loop to generate rows
repeat
-- New empty row
local forRow = {}
-- On blank use, assume list's ended & break at end of this loop
forRow.use = args[i]
if not args[i] then terminated = true end
-- New empty list of pages
forRow.pages = {}
-- Insert first pages item if present
table.insert(forRow.pages, args[i + 1])
-- If the param after next is "and", do inner loop to collect params
-- until the "and"'s stop. Blanks are ignored: "1|and||and|3" → {1, 3}
while args[i + 2] == options.andKeyword do
if args[i + 3] then
table.insert(forRow.pages, args[i + 3])
end
-- Increment to next "and"
i = i + 2
end
-- Increment to next use
i = i + 2
-- Append the row
table.insert(forTable, forRow)
until terminated or i > maxArg
return forTable
end
-- Stringifies a table as formatted by forSeeArgsToTable
function p.forSeeTableToString (forSeeTable, options)
-- Type-checks and defaults
checkType("forSeeTableToString", 1, forSeeTable, "table")
checkType("forSeeTableToString", 2, options, "table", true)
options = options or {}
for k, v in pairs(forSeeDefaultOptions) do
if options[k] == nil then options[k] = v end
end
-- Stringify each for-see item into a list
local strList = {}
for k, v in pairs(forSeeTable) do
local useStr = v.use or options.otherText
local pagesStr = p.andList(v.pages, true) or
mHatnote._formatLink(mHatnote.disambiguate(options.title))
local forSeeStr = string.format(options.forSeeForm, useStr, pagesStr)
forSeeStr = punctuationCollapse(forSeeStr)
table.insert(strList, forSeeStr)
end
-- Return the concatenated list
return table.concat(strList, ' ')
end
-- Produces a "For X, see [[Y]]" string from arguments. Expects index gaps
-- but not blank/whitespace values. Ignores named args and args < "from".
function p._forSee (args, from, options)
local forSeeTable = p.forSeeArgsToTable(args, from, options)
return p.forSeeTableToString(forSeeTable, options)
end
-- As _forSee, but uses the frame.
function p.forSee (frame, from, options)
mArguments = require('Module:Arguments')
return p._forSee(mArguments.getArgs(frame), from, options)
end
return p
550f2da2fef65e979e19376f0ce163167bf20f9d
Module:TableTools
828
236
459
458
2021-01-05T17:32:47Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--[[
------------------------------------------------------------------------------------
-- TableTools --
-- --
-- This module includes a number of functions for dealing with Lua tables. --
-- It is a meta-module, meant to be called from other Lua modules, and should --
-- not be called directly from #invoke. --
------------------------------------------------------------------------------------
--]]
local libraryUtil = require('libraryUtil')
local p = {}
-- Define often-used variables and functions.
local floor = math.floor
local infinity = math.huge
local checkType = libraryUtil.checkType
--[[
------------------------------------------------------------------------------------
-- isPositiveInteger
--
-- This function returns true if the given value is a positive integer, and false
-- if not. Although it doesn't operate on tables, it is included here as it is
-- useful for determining whether a given table key is in the array part or the
-- hash part of a table.
------------------------------------------------------------------------------------
--]]
function p.isPositiveInteger(v)
if type(v) == 'number' and v >= 1 and floor(v) == v and v < infinity then
return true
else
return false
end
end
--[[
------------------------------------------------------------------------------------
-- isNan
--
-- This function returns true if the given number is a NaN value, and false
-- if not. Although it doesn't operate on tables, it is included here as it is
-- useful for determining whether a value can be a valid table key. Lua will
-- generate an error if a NaN is used as a table key.
------------------------------------------------------------------------------------
--]]
function p.isNan(v)
if type(v) == 'number' and tostring(v) == '-nan' then
return true
else
return false
end
end
--[[
------------------------------------------------------------------------------------
-- shallowClone
--
-- This returns a clone of a table. The value returned is a new table, but all
-- subtables and functions are shared. Metamethods are respected, but the returned
-- table will have no metatable of its own.
------------------------------------------------------------------------------------
--]]
function p.shallowClone(t)
local ret = {}
for k, v in pairs(t) do
ret[k] = v
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- removeDuplicates
--
-- This removes duplicate values from an array. Non-positive-integer keys are
-- ignored. The earliest value is kept, and all subsequent duplicate values are
-- removed, but otherwise the array order is unchanged.
------------------------------------------------------------------------------------
--]]
function p.removeDuplicates(t)
checkType('removeDuplicates', 1, t, 'table')
local isNan = p.isNan
local ret, exists = {}, {}
for i, v in ipairs(t) do
if isNan(v) then
-- NaNs can't be table keys, and they are also unique, so we don't need to check existence.
ret[#ret + 1] = v
else
if not exists[v] then
ret[#ret + 1] = v
exists[v] = true
end
end
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- numKeys
--
-- This takes a table and returns an array containing the numbers of any numerical
-- keys that have non-nil values, sorted in numerical order.
------------------------------------------------------------------------------------
--]]
function p.numKeys(t)
checkType('numKeys', 1, t, 'table')
local isPositiveInteger = p.isPositiveInteger
local nums = {}
for k, v in pairs(t) do
if isPositiveInteger(k) then
nums[#nums + 1] = k
end
end
table.sort(nums)
return nums
end
--[[
------------------------------------------------------------------------------------
-- affixNums
--
-- This takes a table and returns an array containing the numbers of keys with the
-- specified prefix and suffix. For example, for the table
-- {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix "a", affixNums will
-- return {1, 3, 6}.
------------------------------------------------------------------------------------
--]]
function p.affixNums(t, prefix, suffix)
checkType('affixNums', 1, t, 'table')
checkType('affixNums', 2, prefix, 'string', true)
checkType('affixNums', 3, suffix, 'string', true)
local function cleanPattern(s)
-- Cleans a pattern so that the magic characters ()%.[]*+-?^$ are interpreted literally.
s = s:gsub('([%(%)%%%.%[%]%*%+%-%?%^%$])', '%%%1')
return s
end
prefix = prefix or ''
suffix = suffix or ''
prefix = cleanPattern(prefix)
suffix = cleanPattern(suffix)
local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$'
local nums = {}
for k, v in pairs(t) do
if type(k) == 'string' then
local num = mw.ustring.match(k, pattern)
if num then
nums[#nums + 1] = tonumber(num)
end
end
end
table.sort(nums)
return nums
end
--[[
------------------------------------------------------------------------------------
-- numData
--
-- Given a table with keys like ("foo1", "bar1", "foo2", "baz2"), returns a table
-- of subtables in the format
-- { [1] = {foo = 'text', bar = 'text'}, [2] = {foo = 'text', baz = 'text'} }
-- Keys that don't end with an integer are stored in a subtable named "other".
-- The compress option compresses the table so that it can be iterated over with
-- ipairs.
------------------------------------------------------------------------------------
--]]
function p.numData(t, compress)
checkType('numData', 1, t, 'table')
checkType('numData', 2, compress, 'boolean', true)
local ret = {}
for k, v in pairs(t) do
local prefix, num = mw.ustring.match(tostring(k), '^([^0-9]*)([1-9][0-9]*)$')
if num then
num = tonumber(num)
local subtable = ret[num] or {}
if prefix == '' then
-- Positional parameters match the blank string; put them at the start of the subtable instead.
prefix = 1
end
subtable[prefix] = v
ret[num] = subtable
else
local subtable = ret.other or {}
subtable[k] = v
ret.other = subtable
end
end
if compress then
local other = ret.other
ret = p.compressSparseArray(ret)
ret.other = other
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- compressSparseArray
--
-- This takes an array with one or more nil values, and removes the nil values
-- while preserving the order, so that the array can be safely traversed with
-- ipairs.
------------------------------------------------------------------------------------
--]]
function p.compressSparseArray(t)
checkType('compressSparseArray', 1, t, 'table')
local ret = {}
local nums = p.numKeys(t)
for _, num in ipairs(nums) do
ret[#ret + 1] = t[num]
end
return ret
end
--[[
------------------------------------------------------------------------------------
-- sparseIpairs
--
-- This is an iterator for sparse arrays. It can be used like ipairs, but can
-- handle nil values.
------------------------------------------------------------------------------------
--]]
function p.sparseIpairs(t)
checkType('sparseIpairs', 1, t, 'table')
local nums = p.numKeys(t)
local i = 0
local lim = #nums
return function ()
i = i + 1
if i <= lim then
local key = nums[i]
return key, t[key]
else
return nil, nil
end
end
end
--[[
------------------------------------------------------------------------------------
-- size
--
-- This returns the size of a key/value pair table. It will also work on arrays,
-- but for arrays it is more efficient to use the # operator.
------------------------------------------------------------------------------------
--]]
function p.size(t)
checkType('size', 1, t, 'table')
local i = 0
for k in pairs(t) do
i = i + 1
end
return i
end
return p
ab9df0eb210b08945b9eed86435858f6e931a79a
Template:Other uses
10
237
461
460
2021-01-05T17:32:47Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:other uses|otheruses}}<noinclude>
{{documentation}}
</noinclude>
a0ed4d8a49aa2019fdd4932da37ee432b9936ffc
Module:Other uses
828
238
463
462
2021-01-05T17:32:48Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
local mHatnote = require('Module:Hatnote')
local mHatlist = require('Module:Hatnote list')
local mArguments --initialize lazily
local mTableTools --initialize lazily
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local p = {}
-- Produces standard {{other uses}} implementation
function p.otheruses(frame)
mArguments = require('Module:Arguments')
mTableTools = require('Module:TableTools')
local args = mTableTools.compressSparseArray(mArguments.getArgs(frame))
local title = mw.title.getCurrentTitle().prefixedText
return p._otheruses(args, {title=title})
end
--Implements "other [x]" templates with otherText supplied at invocation
function p.otherX(frame)
mArguments = require('Module:Arguments')
mTableTools = require('Module:TableTools')
local x = frame.args[1]
local args = mTableTools.compressSparseArray(
mArguments.getArgs(frame, {parentOnly = true})
)
local options = {
title = mw.title.getCurrentTitle().prefixedText,
otherText = x
}
return p._otheruses(args, options)
end
-- Main generator
function p._otheruses(args, options)
--Type-checks and defaults
checkType('_otheruses', 1, args, 'table', true)
args = args or {}
checkType('_otheruses', 2, options, 'table')
if not (options.defaultPage or options.title) then
error('No default title data provided in "_otheruses" options table', 2)
end
local emptyArgs = true
for k, v in pairs(args) do
if type(k) == 'number' then emptyArgs = false break end
end
if emptyArgs then
args = {
options.defaultPage or
mHatnote.disambiguate(options.title, options.disambiguator)
}
end
--Generate and return hatnote
local text = mHatlist.forSeeTableToString({{
use = options.otherText and "other " .. options.otherText or nil,
pages = args
}})
return mHatnote._hatnote(text)
end
return p
2497cafae11ffa785bced56bc9f3853cf3bce7b1
Template:Other uses/doc
10
239
465
464
2021-01-05T17:32:49Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{documentation subpage}}
{{High-use| 45000+ }}
{{lua|Module:Other uses}}
{{for|navboxes|Template:Navigation templates}}
This template creates a note directing the reader to the [[WP:DISAMBIGUATION|disambiguation page]] related to the page it is included in. The page to which is directed, can be a page whose name is the name of the current page with "(disambiguation)" appended to it. Or you can direct the user to a disambiguation page with a different title, by supplying it as an argument to the template.
==Usage==
'''{{Tlx|Other uses}} results in'''
{{other uses}}
'''{{Tlx|Other uses|Target (disambiguation)}} results in'''
{{other uses|Target (disambiguation)}}
==When to use this template==
This template can be used on pages with an [[WP:D|ambiguous title]], to direct readers that intended to read a similarly named article, to a [[WP:D|disambiguation page]].
Please link to a page that includes the word "(disambiguation)" in the title (if one exists), as illustrated in the example above and suggested [[WP:INTDABLINK|here]].
==When not to use this template==
Do not use this template on an article with an unambiguous title; for example, a reader who searches specifically for "Paris, Virginia" is not likely to have been looking for an article about a city in France (or anywhere else), so it would ''not'' be appropriate to add {{tlx|other uses|Paris}} to the top of the [[Paris, Virginia]] article. Also, do not use this template to link to an article that is not a disambiguation page; instead, one of the other [[WP:HATNOTE|hatnote templates]] listed below may be more appropriate for that purpose.
{{Hatnote templates}}
== TemplateData ==
{{TemplateData header}}
<templatedata>
{
"description": "This template creates a note directing the reader to the disambiguation page related to the page it is included in.",
"params": {
"1": {
"label": "Target page",
"description": "Use this parameter to direct the user to a disambiguation page with a different title.",
"type": "wiki-page-name"
}
}
}
</templatedata>
<includeonly>{{sandbox other||
[[Category:Hatnote templates]]
[[Category:Disambiguation and redirection templates]]
}}</includeonly>
d2ba9bece02e6724347c751f48698893062cdd33
Template:Navbox with columns
10
240
467
466
2021-01-05T17:32:50Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!--
Please do not edit without discussion first as this is a "VERY complex" template.
-->{{Navbox
|name = {{{name|}}}
|navbar = {{{navbar|}}}
|state = {{{state|}}}
|border = {{{border|{{{1|}}}}}}
|title = {{{title|}}}
|above = {{{above|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|bodyclass = {{{bodyclass|}}}
|titleclass = {{{titleclass|}}}
|aboveclass = {{{aboveclass|}}}
|belowclass = {{{belowclass|}}}
|groupclass = {{{groupclass|}}}
|listclass = {{{listclass|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|basestyle = {{{basestyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|oddstyle = {{{oddstyle|}}}
|evenstyle = {{{evenstyle|}}}
|{{#if:{{{evenodd|}}}|evenodd|void}} = {{{evenodd|}}}
|list1padding = 0px;
|list1 = <!--
--><table class="navbox-columns-table" style="border-spacing: 0px; text-align:left;<!--
-->{{#if:{{{col1header|}}}{{{fullwidth|}}}|width:100%;<!--
-->|width:auto; margin-left:auto; margin-right:auto;}}{{{coltablestyle|}}}"><!--
--- Header row ---
-->{{#if:{{{col1header|}}}|<tr><!--
--><td class="navbox-abovebelow" <!--
-->colspan={{{col1headercolspan|1}}} style="<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col1headerstyle|}}}">{{{col1header}}}</td><!--
-->{{#if:{{{col2header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col2headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col2headerstyle|}}}">{{{col2header}}}</td>}}<!--
-->{{#if:{{{col3header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col3headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col3headerstyle|}}}">{{{col3header}}}</td>}}<!--
-->{{#if:{{{col4header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col4headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col4headerstyle|}}}">{{{col4header}}}</td>}}<!--
-->{{#if:{{{col5header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col5headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col5headerstyle|}}}">{{{col5header}}}</td>}}<!--
-->{{#if:{{{col6header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col6headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col6headerstyle|}}}">{{{col6header}}}</td>}}<!--
-->{{#if:{{{col7header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col7headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col7headerstyle|}}}">{{{col7header}}}</td>}}<!--
-->{{#if:{{{col8header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col8headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col8headerstyle|}}}">{{{col8header}}}</td>}}<!--
-->{{#if:{{{col9header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col9headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col9headerstyle|}}}">{{{col9header}}}</td>}}<!--
-->{{#if:{{{col10header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col10headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col10headerstyle|}}}">{{{col10header}}}</td>}}<!--
-->{{#if:{{{col11header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col11headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col11headerstyle|}}}">{{{col11header}}}</td>}}<!--
-->{{#if:{{{col12header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col12headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col12headerstyle|}}}">{{{col12header}}}</td>}}<!--
-->{{#if:{{{col13header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col13headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col13headerstyle|}}}">{{{col13header}}}</td>}}<!--
-->{{#if:{{{col14header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col14headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col14headerstyle|}}}">{{{col14header}}}</td>}}<!--
-->{{#if:{{{col15header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col15headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col15headerstyle|}}}">{{{col15header}}}</td>}}<!--
-->{{#if:{{{col16header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col16headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col16headerstyle|}}}">{{{col16header}}}</td>}}<!--
-->{{#if:{{{col17header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col17headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col17headerstyle|}}}">{{{col17header}}}</td>}}<!--
-->{{#if:{{{col18header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col18headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col18headerstyle|}}}">{{{col18header}}}</td>}}<!--
-->{{#if:{{{col19header|}}}|<td class="navbox-abovebelow" <!--
-->colspan={{{col19headercolspan|1}}} style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col19headerstyle|}}}">{{{col19header}}}</td>}}<!--
-->{{#if:{{{col20header|}}}|<td class="navbox-abovebelow" <!--
-->style="border-left:2px solid #fdfdfd;<!--
-->font-weight:bold;{{{colheaderstyle|}}}{{{col20headerstyle|}}}">{{{col20header}}}</td>}}<!--
--></tr>}}<!--
--- Main columns---
-->{{#if:{{{col1|}}}|<!--
--><tr style="vertical-align:top;"><!--
-->{{#if:{{{col1header|}}}{{{col1footer|}}}{{{fullwidth|}}}|<!--
-->|{{#switch:{{{padding|}}}|off|0|0em|0px|0%|0;|0em;|0px;|0%;=<!--
-->|#default=<td style="width:{{{padding|5em}}};"> </td>}}}}<!--
--><td class="navbox-list" style="padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col1style|}}};width:{{{col1width|{{{colwidth|10em}}}}}};"><div>
{{{col1}}}
</div></td>}}<!--
-->{{#if:{{{col2|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col2style|}}};width:{{{col2width|{{{colwidth|10em}}}}}};"><div>
{{{col2}}}
</div></td>}}<!--
-->{{#if:{{{col3|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col3style|}}};width:{{{col3width|{{{colwidth|10em}}}}}};"><div>
{{{col3}}}
</div></td>}}<!--
-->{{#if:{{{col4|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col4style|}}};width:{{{col4width|{{{colwidth|10em}}}}}};"><div>
{{{col4}}}
</div></td>}}<!--
-->{{#if:{{{col5|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col5style|}}};width:{{{col5width|{{{colwidth|10em}}}}}};"><div>
{{{col5}}}
</div></td>}}<!--
-->{{#if:{{{col6|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col6style|}}};width:{{{col6width|{{{colwidth|10em}}}}}};"><div>
{{{col6}}}
</div></td>}}<!--
-->{{#if:{{{col7|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col7style|}}};width:{{{col7width|{{{colwidth|10em}}}}}};"><div>
{{{col7}}}
</div></td>}}<!--
-->{{#if:{{{col8|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col8style|}}};width:{{{col8width|{{{colwidth|10em}}}}}};"><div>
{{{col8}}}
</div></td>}}<!--
-->{{#if:{{{col9|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col9style|}}};width:{{{col9width|{{{colwidth|10em}}}}}};"><div>
{{{col9}}}
</div></td>}}<!--
-->{{#if:{{{col10|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col10style|}}};width:{{{col10width|{{{colwidth|10em}}}}}};"><div>
{{{col10}}}
</div></td>}}<!--
-->{{#if:{{{col11|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col11style|}}};width:{{{col11width|{{{colwidth|10em}}}}}};"><div>
{{{col11}}}
</div></td>}}<!--
-->{{#if:{{{col12|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col12style|}}};width:{{{col12width|{{{colwidth|10em}}}}}};"><div>
{{{col12}}}
</div></td>}}<!--
-->{{#if:{{{col13|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col13style|}}};width:{{{col13width|{{{colwidth|10em}}}}}};"><div>
{{{col13}}}
</div></td>}}<!--
-->{{#if:{{{col14|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col14style|}}};width:{{{col14width|{{{colwidth|10em}}}}}};"><div>
{{{col14}}}
</div></td>}}<!--
-->{{#if:{{{col15|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col15style|}}};width:{{{col15width|{{{colwidth|10em}}}}}};"><div>
{{{col15}}}
</div></td>}}<!--
-->{{#if:{{{col16|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col16style|}}};width:{{{col16width|{{{colwidth|10em}}}}}};"><div>
{{{col16}}}
</div></td>}}<!--
-->{{#if:{{{col17|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col17style|}}};width:{{{col17width|{{{colwidth|10em}}}}}};"><div>
{{{col17}}}
</div></td>}}<!--
-->{{#if:{{{col18|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col18style|}}};width:{{{col18width|{{{colwidth|10em}}}}}};"><div>
{{{col18}}}
</div></td>}}<!--
-->{{#if:{{{col19|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col19style|}}};width:{{{col19width|{{{colwidth|10em}}}}}};"><div>
{{{col19}}}
</div></td>}}<!--
-->{{#if:{{{col20|}}}|<td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;<!--
-->{{{colstyle|}}};{{{evencolstyle|}}};{{{col20style|}}};width:{{{col20width|{{{colwidth|10em}}}}}};"><div>
{{{col20}}}
</div></td>}}<!--
--- Footer row ---
-->{{#if:{{{col1footer|}}}|<!--
--><tr><!--
--><td class="navbox-abovebelow" colspan={{{col1footercolspan|1}}} style="<!--
-->font-weight:bold;{{{colfooterstyle|}}};{{{col1footerstyle|}}}">{{{col1footer}}}</td><!--
-->{{#if:{{{col2footer|}}}|<td class="navbox-abovebelow" colspan={{{col2footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col2footerstyle|}}}">{{{col2footer}}}</td>}}<!--
-->{{#if:{{{col3footer|}}}|<td class="navbox-abovebelow" colspan={{{col3footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col3footerstyle|}}}">{{{col3footer}}}</td>}}<!--
-->{{#if:{{{col4footer|}}}|<td class="navbox-abovebelow" colspan={{{col4footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col4footerstyle|}}}">{{{col4footer}}}</td>}}<!--
-->{{#if:{{{col5footer|}}}|<td class="navbox-abovebelow" colspan={{{col5footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col5footerstyle|}}}">{{{col5footer}}}</td>}}<!--
-->{{#if:{{{col6footer|}}}|<td class="navbox-abovebelow" colspan={{{col6footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col6footerstyle|}}}">{{{col6footer}}}</td>}}<!--
-->{{#if:{{{col7footer|}}}|<td class="navbox-abovebelow" colspan={{{col7footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col7footerstyle|}}}">{{{col7footer}}}</td>}}<!--
-->{{#if:{{{col8footer|}}}|<td class="navbox-abovebelow" colspan={{{col8footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col8footerstyle|}}}">{{{col8footer}}}</td>}}<!--
-->{{#if:{{{col9footer|}}}|<td class="navbox-abovebelow" colspan={{{col9footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col9footerstyle|}}}">{{{col9footer}}}</td>}}<!--
-->{{#if:{{{col10footer|}}}|<td class="navbox-abovebelow" colspan={{{col10footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col10footerstyle|}}}">{{{col10footer}}}</td>}}<!--
-->{{#if:{{{col11footer|}}}|<td class="navbox-abovebelow" colspan={{{col11footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col11footerstyle|}}}">{{{col11footer}}}</td>}}<!--
-->{{#if:{{{col12footer|}}}|<td class="navbox-abovebelow" colspan={{{col12footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col12footerstyle|}}}">{{{col12footer}}}</td>}}<!--
-->{{#if:{{{col13footer|}}}|<td class="navbox-abovebelow" colspan={{{col13footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col13footerstyle|}}}">{{{col13footer}}}</td>}}<!--
-->{{#if:{{{col14footer|}}}|<td class="navbox-abovebelow" colspan={{{col14footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col14footerstyle|}}}">{{{col14footer}}}</td>}}<!--
-->{{#if:{{{col15footer|}}}|<td class="navbox-abovebelow" colspan={{{col15footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col15footerstyle|}}}">{{{col15footer}}}</td>}}<!--
-->{{#if:{{{col16footer|}}}|<td class="navbox-abovebelow" colspan={{{col16footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col16footerstyle|}}}">{{{col16footer}}}</td>}}<!--
-->{{#if:{{{col17footer|}}}|<td class="navbox-abovebelow" colspan={{{col17footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col17footerstyle|}}}">{{{col17footer}}}</td>}}<!--
-->{{#if:{{{col18footer|}}}|<td class="navbox-abovebelow" colspan={{{col18footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col18footerstyle|}}}">{{{col18footer}}}</td>}}<!--
-->{{#if:{{{col19footer|}}}|<td class="navbox-abovebelow" colspan={{{col19footercolspan|1}}} style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col19footerstyle|}}}">{{{col19footer}}}</td>}}<!--
-->{{#if:{{{col20footer|}}}|<td class="navbox-abovebelow" style="<!--
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col20footerstyle|}}}">{{{col20footer}}}</td>}}<!--
--></tr>}}<!--
--></tr></table>
<!-- Allow a few additional groups/lists after columns -->
|liststyle = {{{liststyle|}}}
|list1style = background:transparent;color:inherit;
|list3style = {{{list1style|}}}
|list4style = {{{list2style|}}}
|list5style = {{{list3style|}}}
|list6style = {{{list4style|}}}
|list7style = {{{list5style|}}}
|list8style = {{{list6style|}}}
|list3 = {{{list1|}}}
|list4 = {{{list2|}}}
|list5 = {{{list3|}}}
|list6 = {{{list4|}}}
|list7 = {{{list5|}}}
|list8 = {{{list6|}}}
|groupstyle = {{{groupstyle|}}}
|group3style = {{{group1style|}}}
|group4style = {{{group2style|}}}
|group5style = {{{group3style|}}}
|group6style = {{{group4style|}}}
|group7style = {{{group5style|}}}
|group8style = {{{group6style|}}}
|group3 = {{{group1|}}}
|group4 = {{{group2|}}}
|group5 = {{{group3|}}}
|group6 = {{{group4|}}}
|group7 = {{{group5|}}}
|group8 = {{{group6|}}}
|below = {{{below|}}}
|tracking = no
}}<noinclude>
{{documentation}}
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage--->
</noinclude>
a6206ebdfb331edb53ab9d8cab2b5390887e66c0
Template:Navbox with columns/doc
10
241
469
468
2021-01-05T17:32:51Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{Navbox suite}}
A navigation box that presents its content in columns. Originally intended to provide a relatively straightforward means to align links prefixed by flag icons, e.g. in templates offering links to country articles.
== Basic syntax ==
Only required parameters and ''colwidth'' included.
<pre style="overflow:auto;">
{{Navbox with columns
| name = {{subst:PAGENAME}}
| title =
| colwidth = <!--(to set a default width for each column,
preferably in a proportional unit such as 'em'*)-->
| col1 =
| col2 =
}}
</pre>
<div style="font-size:90%;line-height:1.35em;">* See [[Em (typography)]]. Using proportional units means the template should still be displayed correctly across a range of browser font-sizes. If ''colwidth'' is not specified, a default 10.0em is used.</div>
== Parameters ==
===Setup parameters===
:;''name''<ref name="common">Parameters marked with a footnote '''<sup>[1]</sup>''' are parameters in common with the sister templates {{tl|Navbox}} and {{tl|Navbox with collapsible groups}}. A much more complete description of those parameters is available at {{tl|Navbox}}.</ref>
::The name of the template. The name of this template, for example, is "Navbox with columns".
:;''state''<ref name="common"/>
::Possible values are <code>collapsed</code>, <code>uncollapsed</code>, <code>plain</code>, <code>off</code>, and the default <code>autocollapse</code>. See {{tl|Navbox}} for more information.
:;''navbar''<ref name="common"/>
::Possible values are <code>plain</code>, <code>off</code>, and the default value of blank. See {{tl|Navbox}} for more information.
:;''border''<ref name="common"/>
::Possible values are <code>child</code>, <code>none</code>, and the default value of blank. Set to <code>child</code> if you wish to use the navbox inside of another navbox; with this option, the child navbox is borderless and fits snuggly inside of its parent navbox. The parent navbox may be the list area of {{tl|Navbox}}, a columns of another {{tl|Navbox with columns}}, or a section of {{tl|Navbox with collapsible groups}}. See {{tl|Navbox}} for more information and examples.
===Perimeter parameters===
i.e. parameters affecting the inclusion/formatting of items around the template's perimeter.
:;'''''title'''''<ref name="common"/>
::The title of the template, displayed centered in the titlebar at the top of the template.
:;''above''<ref name="common"/>
::Text or other elements to appear above the columns.
:;''image''<ref name="common"/>
::Image to the right of all of the columns.
:;''imageleft''<ref name="common"/>
::Image to the left of all of the columns.
:;''below''<ref name="common"/>
::Text or other elements to appear below the columns.
===Style parameters===
:;''style''<ref name="common"/>
::CSS style/s to apply to the template's body (i.e. including space not used by columns)
:;''titlestyle''<ref name="common"/>
::[[Wikipedia:CSS|CSS]] style/s to apply to titlebar; usually <code>background:''color''</code> (background defaults to [[Wikipedia:NavFrame|NavHead]] default).
:;''abovestyle''<ref name="common"/>
:;''belowstyle''<ref name="common"/>
::CSS style/s to apply to the ''above'' and ''below'' parameters, respectively.
:;''basestyle''<ref name="common"/>
::CSS style/s to apply to the ''title'', ''above'', and ''below'', parameters, all at the same time.
:;''imagestyle''<ref name="common"/>
::CSS style/s to apply to the ''image'' parameter.
:;''imageleftstyle''<ref name="common"/>
::CSS style/s to apply to the ''imageleft'' parameter
:;''coltablestyle''
::
:;''colstyle''
::CSS style/s to apply across all columns; if used, usually <code>background:''color''</code> per ''titlestyle'' above.
:;''oddcolstyle''
:;''evencolstyle''
::CSS style/s to apply to all odd/even-numbered columns, respectively.
:;''col<sub>n</sub>style''
::CSS style/s to apply to the n<sup>th</sup> column only.
:;''colheaderstyle''
::CSS style/s to apply to all column headers.
:;''col<sub>n</sub>headerstyle''
::CSS style/s to apply to the n<sup>th</sup> column header.
:;''col<sub>n</sub>footerstyle''
::CSS style/s to apply to the n<sup>th</sup> column footer cell.
===Columns parameters===
:;''colwidth''
::Width, preferably in a proportional unit such as '[[Em (typography)|em]]', or as a percentage, used for each column whose width not specified by ''colNwidth'' below. Defaults to 10em. Examples:
:::<code>colwidth = 15.0em</code>
:::<code>colwidth = 25%</code>
:;''fullwidth''
::If set to anything, then the total width of the columns are scaled linearly to make the sum of the widths 100%. A rather advanced parameter, this usually need not be used and should be left blank. If a colheader or colfooter is used, then fullwidth is used automatically. Example:
:::<code>fullwidth = on</code>
:;''padding''
::Padding before first column, preferably in a proportional unit. Defaults to 5em. Padding is disabled by setting it to 0 (or 0em, or 0%).
:;''col<sub>n</sub>width''
::The n<sup>th</sup> column's width (overrides ''colwidth'' above).
:;'''''col<sub>n</sub>'''''
::The content of the n<sup>th</sup> column. If any columns are used, then <code>col1</code> is required. There can be a maximum of 20 columns.
:;''col<sub>n</sub>header''
::A header cell for the n<sup>th</sup> column that appears above the column. See below for examples.
:;''col<sub>n</sub>footer
::A footer cell that appears below the n<sup>th</sup> column.
:;''col<sub>n</sub>headercolspan
::A number specifying how many columns the n<sup>th</sup> column header should span. It defaults to 1. If it is greater than one, then do not specify column headers that it covers. For example, if <code>col1headercolspan = 3</code>, then leave <code>col2header</code> and <code>col3header</code> blank.
:;''col<sub>n</sub>footercolspan
::A number specifying how many columns the n<sup>th</sup> column footer should span. It defaults to 1. If it is greater than one, then do not specify column footers that it covers. For example, if <code>col1footercolspan = 3</code>, then leave <code>col2footer</code> and <code>col3footer</code> blank.
===Additional groups/lists===
You may wish to add a few extra groups and/or lists below the columns. The following parameters are given to provide such functionality. See {{tl|Navbox}} for a more complete description of how they work, and for more examples.
:;''group<sub>n</sub>''<ref name="common"/>
::Allows up to 6 additional groups to go along with the lists below the columns.
:;''list<sub>n</sub>''<ref name="common"/>
::Allows up to 6 additional lists below the columns.
:;''groupstyle<ref name="common"/>
::The general CSS style/s for the groups.
:;''group<sub>n</sub>''style<sup>†</sup>
::CSS style/s for the n<sup>th</sup> group parameter.<ref name="common"/>
:;''liststyle''<ref name="common"/>
::The general CSS style/s for the lists.
:;''list<sub>n</sub>style''
::CSS style/s for the n<sup>th</sup> list parameter.
:;''listpadding''<ref name="common"/>
::Amount of padding to have in each list cell.
:; ''oddstyle''
:; ''evenstyle''
::Applies to odd/even list numbers. Overrules styles defined by ''liststyle''. The default behavior is to add striped colors (white and gray) to odd/even rows, respectively, in order to improve readability. These should not be changed except in extraordinary circumstances.
:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
::See {{tl|Navbox}} for description.
=== Microformats ===
;bodyclass : This parameter is inserted into the "class" attribute for the infobox as a whole.
;titleclass : This parameter is inserted into the "class" attribute for the infobox's title caption.
This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag a navbox as containing [[hCard]] information about a person, for example, add the following parameter:
<pre>
|bodyclass = vcard
</pre>
''and''
<pre>
|titleclass = fn
</pre>
''or'' (for example):
<pre><nowiki>
|title = The books of <span class="fn">[[Iain Banks]]</span>
</nowiki></pre>
...and so forth.
See [[Wikipedia:WikiProject Microformats]] for more information on adding microformat information to Wikipedia, and [[microformat]] for more information on microformats in general.
== Examples ==
===Basic example===
<pre style="overflow:scroll;">
{{Navbox with columns
| name = East Asia Summit (EAS)
| title = [[East Asia Summit|East Asia Summit (EAS)]]
| listclass = plainlist
| width = 18.25em
| padding = 10em
| aboveclass = hlist
| abovestyle = font-weight: bold;
| above =
* [[First East Asia Summit|First]]
* [[Second East Asia Summit|Second]]
* [[Third East Asia Summit|Third]]
* [[Fourth East Asia Summit|Fourth]]
* [[Fifth East Asia Summit|Fifth]]
* [[Sixth East Asia Summit|Sixth]]
* [[Seventh East Asia Summit|Seventh]]
| col1 =
* {{AUS}}
* {{BRU}}
* {{BIR}}
| col2 =
* {{CAM}}
* {{CHN}}
* {{IND}}
| col3 =
* {{IDN}}
* {{JPN}}
* {{LAO}}
| col4 =
* {{MAS}}
* {{NZL}}
* {{PHL}}
| col5 =
* {{RUS}}
* {{SIN}}
* {{KOR}}
| col6width = 17em
| col6 =
* {{THA}}
* {{USA}}
* {{VIE}}
}}
</pre>
{{Navbox with columns
| name = East Asia Summit (EAS)
| title = [[East Asia Summit|East Asia Summit (EAS)]]
| state = uncollapsed
| listclass = plainlist
| width = 18.25em
| padding = 10em
| aboveclass = hlist
| abovestyle = font-weight: bold;
| above =
* [[First East Asia Summit|First]]
* [[Second East Asia Summit|Second]]
* [[Third East Asia Summit|Third]]
* [[Fourth East Asia Summit|Fourth]]
* [[Fifth East Asia Summit|Fifth]]
* [[Sixth East Asia Summit|Sixth]]
* [[Seventh East Asia Summit|Seventh]]
| col1 =
* {{AUS}}
* {{BRU}}
* {{BIR}}
| col2 =
* {{CAM}}
* {{CHN}}
* {{IND}}
| col3 =
* {{IDN}}
* {{JPN}}
* {{LAO}}
| col4 =
* {{MAS}}
* {{NZL}}
* {{PHL}}
| col5 =
* {{RUS}}
* {{SIN}}
* {{KOR}}
| col6width = 17em
| col6 =
* {{THA}}
* {{USA}}
* {{VIE}}
}}
===Example with percentage widths===
<pre style="overflow:scroll;">
{{Navbox with columns
| name = Transit visibility table
| titlestyle = background:silver;
| title = [[Astronomical transit|Transit]] visibility from [[inferior and superior planets|planets superior]] to the transiting body
| listclass = plainlist
| colwidth = 14.2857%
| colstyle = text-align:center;
| col1header = Venus
| col1 =
* [[Transit of Mercury from Venus|Mercury]]
| col2header = Earth
| col2 =
* [[Transit of Mercury|Mercury]]
* [[Transit of Venus|Venus]]
| col3header = Mars
| col3 =
* [[Transit of Mercury from Mars|Mercury]]
* [[Transit of Venus from Mars|Venus]]
* [[Transit of Earth from Mars|Earth]]
| col4header = Jupiter
| col4 =
* [[Transit of Mercury from Jupiter|Mercury]]
* [[Transit of Venus from Jupiter|Venus]]
* [[Transit of Earth from Jupiter|Earth]]
* [[Transit of Mars from Jupiter|Mars]]
| col5header = Saturn
| col5 =
* [[Transit of Mercury from Saturn|Mercury]]
* [[Transit of Venus from Saturn|Venus]]
* [[Transit of Earth from Saturn|Earth]]
* [[Transit of Mars from Saturn|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
| col6header = Uranus
| col6 =
* [[Transit of Mercury from Uranus|Mercury]]
* [[Transit of Venus from Uranus|Venus]]
* [[Transit of Earth from Uranus|Earth]]
* [[Transit of Mars from Uranus|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]
| col7header = Neptune
| col7 =
* [[Transit of Mercury from Neptune|Mercury]]
* [[Transit of Venus from Neptune|Venus]]
* [[Transit of Earth from Neptune|Earth]]
* [[Transit of Mars from Neptune|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]
* [[Transit of Uranus from Neptune|Uranus]]
}}
</pre>
{{Navbox with columns
| name = Transit visibility table
| titlestyle = background:silver;
| title = [[Astronomical transit|Transit]] visibility from [[inferior and superior planets|planets superior]] to the transiting body
| state = uncollapsed
| listclass = plainlist
| colwidth = 14.2857%
| colstyle = text-align:center;
| col1header = Venus
| col1 =
* [[Transit of Mercury from Venus|Mercury]]
| col2header = Earth
| col2 =
* [[Transit of Mercury|Mercury]]
* [[Transit of Venus|Venus]]
| col3header = Mars
| col3 =
* [[Transit of Mercury from Mars|Mercury]]
* [[Transit of Venus from Mars|Venus]]
* [[Transit of Earth from Mars|Earth]]
| col4header = Jupiter
| col4 =
* [[Transit of Mercury from Jupiter|Mercury]]
* [[Transit of Venus from Jupiter|Venus]]
* [[Transit of Earth from Jupiter|Earth]]
* [[Transit of Mars from Jupiter|Mars]]
| col5header = Saturn
| col5 =
* [[Transit of Mercury from Saturn|Mercury]]
* [[Transit of Venus from Saturn|Venus]]
* [[Transit of Earth from Saturn|Earth]]
* [[Transit of Mars from Saturn|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
| col6header = Uranus
| col6 =
* [[Transit of Mercury from Uranus|Mercury]]
* [[Transit of Venus from Uranus|Venus]]
* [[Transit of Earth from Uranus|Earth]]
* [[Transit of Mars from Uranus|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]
| col7header = Neptune
| col7 =
* [[Transit of Mercury from Neptune|Mercury]]
* [[Transit of Venus from Neptune|Venus]]
* [[Transit of Earth from Neptune|Earth]]
* [[Transit of Mars from Neptune|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]
* [[Transit of Uranus from Neptune|Uranus]]
}}
===Example with col<sub>n</sub>header and col<sub>n</sub>footer===
The gray background for the columns is added for illustration only.
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = col<sub>n</sub>header and col<sub>n</sub>footer example
|colstyle = text-align:center;background:silver;
|colwidth = 25%
|col1header = col1header
|col2header = col2header
|col3header = col3header
|col4header = col4header
|col1 = col1
|col2 = col2
|col3 = col3
|col4 = col4
|col1footer = col1footer
|col2footer = col2footer
|col3footer = col3footer
|col4footer = col4footer
}}
===Example with col<sub>n</sub>header using col<sub>n</sub>headercolspan===
The gray background for the columns is added for illustration only. This example shows the col<sub>n</sub>headercolspan parameter being used, but you may also use col<sub>n</sub>footercolspan to adjust the span of the footer cells.
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = col<sub>n</sub>header with col<sub>n</sub>colspan example
|colstyle = text-align:center;background:silver;
|col1header = col1header
|col2header = col2header (colspan=2)
|col4header = col4header
|col5header = col5header (colspan=3)
|col2headercolspan = 2
|col5headercolspan = 3
|col1 = col1
|col2 = col2
|col3 = col3
|col4 = col4
|col5 = col5
|col6 = col6
|col7 = col7
}}
===Example to illustrate most fields===
The gray background and centered text for the columns is for illustration only. The columns default to an off-white background and left text alignment. This example shows how you can use up to six additional groups/lists after the columns.
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = Example to illustrate most fields
|colstyle = text-align:center;background:silver;
|col1 = col1
|col2 = col2
|col3 = col3
|col4 = col4
|col5 = col5
|col1header = col1header
|col2header = col2header
|col3header = col3header
|col4header = col4header
|col5header = col5header
|col1footer = col1footer
|col2footer = col2footer
|col3footer = col3footer
|col4footer = col4footer
|col5footer = col5footer
|group1 = group1
|group2 = group2
|group3 = group3
|group4 = group4
|group5 = group5
|group6 = group6
|list1 = list1
|list2 = list2
|list3 = list3
|list4 = list4
|list5 = list5
|list6 = list6
|above = above
|below = below
}}
==Using child navboxes==
All three types of navbox templates, namely {{tl|Navbox}}, {{tl|Navbox with columns}}, and {{tl|Navbox with collapsible groups}}, can be nested inside of one another using the <code>border</code> parameter (which is common to all three). For complex templates, it may be necessary to use nesting to achieve a desired look.
===Nesting Navbox with columns in itself===
This example shows how one can nest multiple {{tl|Navbox with columns}} templates to get the right look. Edit this page to see the code. There is a main {{tl|Navbox with columns}} and two additional {{tl|Navbox with columns}} templates, with the "child" option set (see code).
{{Navbox with columns
|name = Navbox with columns/doc
|state = uncollapsed
|title = Subgroups with nesting
|colstyle = text-align:center;background:silver;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = {{Navbox with columns|child
|colwidth = 50%
|colstyle = text-align:center;background:silver;
|col1header = Col1.1Header
|col2header = Col1.2Header
|col1 = Col1.1
|col2 = Col1.2
}}
|col2 = Col2
|col3 = {{Navbox with columns|child
|colwidth = 33%
|colstyle = text-align:center;background:silver;
|col1header = Col3.1Header
|col2header = Col3.2Header
|col3header = Col3.3Header
|col1 = Col3.1
|col2 = Col3.2
|col3 = Col3.3
}}
|col4 = Col4
}}
===Nesting other Navbox forms===
This example shows {{tl|Navbox}}, {{tl|Navbox with collapsible groups}} and {{tl|Navbox with columns}} all working together. Edit this page to see the code. Note that each of the child navboxes has the first parameter set to <code>child</code>.
{{Navbox with collapsible groups
|name = Navbox with collapsible groups
|title = Navbox, Navbox with columns, and Navbox with collapsible groups together
|selected = {{{1|}}}
|group1 = [[:Category:Scouting|The Scouting Movement]]
|abbr1 = movement
|list1 = [[Scouting]]{{·}}''[[Scouting for Boys]]''{{·}}[[Scout method]]{{·}}[[Scout Law]]{{·}}[[Scout Promise]]{{·}}[[Scout Motto]]{{·}}[[Wood Badge]]{{·}}[[Age groups in Scouting and Guiding]]{{·}}[[Cub Scout]]{{·}}[[Boy Scout]]{{·}}[[Rover Scout]]{{·}}[[Brownie (Girl Guides)|Brownie]]{{·}}[[Girl Guiding and Girl Scouting]]{{·}}[[Ranger (Girl Guide)]]{{·}}[[Jamboree (Scouting)|Jamboree]]{{·}}[[Scout Leader]]{{·}}[[World Organization of the Scout Movement|WOSM]]{{·}}[[World Association of Girl Guides and Girl Scouts|WAGGGS]]{{·}}[[Non-aligned Scouting and Scout-like organisations|Non-aligned organisations]]{{·}}[[Scouting controversy and conflict]]{{·}}[[Scouting in popular culture]]{{·}}[[List of Scouts]]{{·}}[[List of highest awards in Scouting]]
|list2 = {{Navbox|child
|title = [[French colonial empires|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]
|titlestyle = background#
|groupstyle = background:lavender;
|group1 = [[Mahgreb]]
|list1 = [[French rule in Algeria|Algeria]]{{·}} [[French Morocco|Morocco]] <small>([[Arguin|Arguin Island]])</small>{{·}} [[History of Tunisia|Tunisia]]
|group2 = [[French West Africa]]
|list2 = [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]{{·}} [[French Dahomey|Dahomey]]{{·}} [[French Sudan]]{{·}} [[French Guinea|Guinea]]{{·}} [[History of Mauritania#French colonization and post-colonial history|Mauritania]]{{·}} [[History of Niger#Colonization|Niger]]{{·}} [[History of Senegal|Senegal]]{{·}} [[French Upper Volta|Upper Volta]]
|group3 = Togo
|list3 = [[French Togoland]]{{·}} [[James Island (The Gambia)|James Island]]
|group4 = [[French Equatorial Africa]]
|list4 = [[Colonial Chad|Chad]]{{·}} [[History of Gabon|Gabon]]{{·}} [[History of the Republic of the Congo|Middle Congo]]{{·}} [[Oubangui-Chari]]
|group5 = [[Comoros]]
|list5 = [[Anjouan]]{{·}} [[Grande Comore]]{{·}} [[Mohéli]]
|group6 = Southern Africa
|list6 = [[History of Djibouti#French interest|French Somaliland (Djibouti)]]{{·}} [[History of Madagascar#French control|Madagascar]]{{·}} [[Mauritius|Ile de France]]{{·}} [[Seychelles]]
}}
|group3 = [[Scouting in the United Kingdom]]
|abbr3 = Scouting
|list3 = [[The Scout Association]]{{·}}[[Girlguiding UK]]{{·}}[[Beaver Scouts]]{{·}}[[Cub Section (UK)]]{{·}}[[Venture Scout]]{{·}}[[Explorer Scouts]]{{·}}[[Brownie (Girl Guides)]]{{·}}[[Ranger (Girl Guide)]]{{·}}[[Rainbow (Girl Guides)]]{{·}}[[Scout Network]]{{·}}[[Chief Scout (United Kingdom)]]{{·}}[[Scout Counties]]{{·}}[[Scout District]]{{·}}[[Scout Section (UK)]]{{·}}[[Scout Activity Centre]]{{·}}[[Young Leaders (The Scout Association)|Young Leaders]]
|list4 = {{Navbox with columns|child
|title = Navbox with columns nested in itself
|colstyle = text-align:center;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = {{Navbox with columns|child
|colwidth = 50%
|colstyle = text-align:center;
|col1header = Col1.1Header
|col2header = Col1.2Header
|col1 = Col1.1
|col2 = Col1.2
}}
|col2 = Col2
|col3 = {{Navbox with columns|child
|colwidth = 33%
|colstyle = text-align:center;
|col1header = Col3.1Header
|col2header = Col3.2Header
|col3header = Col3.3Header
|col1 = Col3.1
|col2 = Col3.2
|col3 = Col3.3
}}
|col4 = Col4
}}
}}
== Footnotes ==
{{reflist}}
== See also ==
{{Navigational templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
[[Category:Navigational boxes| ]]
}}</includeonly>
29242db67171ea06c102dcaa56397a6a348ce3d1
Template:Navbox with collapsible groups
10
242
471
470
2021-01-05T17:32:52Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:navbox|navbox
|name = {{{name|<noinclude>Navbox with collapsible groups</noinclude>}}}
|navbar = {{{navbar|}}}
|state = {{{state|<noinclude>uncollapsed</noinclude>}}}
|border = {{{border|{{{1|}}}}}}
|title = {{{title<includeonly>|</includeonly>}}}
|above = {{{above|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|bodyclass = {{{bodyclass|}}}
|titleclass = {{{titleclass|}}}
|aboveclass = {{{aboveclass|}}}
|belowclass = {{{belowclass|}}}
|groupclass = {{{groupclass|}}}
|listclass = {{{listclass|}}}
|imageclass = {{{imageclass|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|basestyle = {{{basestyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|list1 =
{{#if:{{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr1}}} |uncollapsed |{{{state1|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group1style|}}}{{{sect1titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list1style|}}}{{{content1style|}}}
|title = {{{group1<includeonly>|</includeonly>}}}{{{sect1|}}}{{{section1|}}}<noinclude> or {{{section1}}} or {{{sect1}}}</noinclude>
|list1 = {{{list1<includeonly>|</includeonly>}}}{{{content1|}}}<noinclude> or {{{content1}}}</noinclude>
|image = {{{image1|}}}
|imageleft = {{{imageleft1|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list1|}}}{{{content1|}}}
}}
|list2 =
{{#if:{{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr2}}} |uncollapsed |{{{state2|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group2style|}}}{{{sect2titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list2style|}}}{{{content2style|}}}
|title = {{{group2<includeonly>|</includeonly>}}}{{{sect2|}}}{{{section2|}}}<noinclude> or {{{section2}}} or {{{sect2}}}</noinclude>
|list1 = {{{list2<includeonly>|</includeonly>}}}{{{content2|}}}<noinclude> or {{{content2}}}</noinclude>
|image = {{{image2|}}}
|imageleft = {{{imageleft2|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list2|}}}{{{content2|}}}
}}
|list3 =
{{#if:{{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr3}}} |uncollapsed |{{{state3|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group3style|}}}{{{sect3titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list3style|}}}{{{content3style|}}}
|title = {{{group3<includeonly>|</includeonly>}}}{{{sect3|}}}{{{section3|}}}<noinclude> or {{{section3}}} or {{{sect3}}}</noinclude>
|list1 = {{{list3<includeonly>|</includeonly>}}}{{{content3|}}}<noinclude> or {{{content3}}}</noinclude>
|image = {{{image3|}}}
|imageleft = {{{imageleft3|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list3|}}}{{{content3|}}}
}}
|list4 =
{{#if:{{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr4}}} |uncollapsed |{{{state4|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group4style|}}}{{{sect4titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list4style|}}}{{{content4style|}}}
|title = {{{group4<includeonly>|</includeonly>}}}{{{sect4|}}}{{{section4|}}}<noinclude> or {{{section4}}} or {{{sect4}}}</noinclude>
|list1 = {{{list4<includeonly>|</includeonly>}}}{{{content4|}}}<noinclude> or {{{content4}}}</noinclude>
|image = {{{image4|}}}
|imageleft = {{{imageleft4|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list4|}}}{{{content4|}}}
}}
|list5 =
{{#if:{{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr5}}} |uncollapsed |{{{state5|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group5style|}}}{{{sect5titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list5style|}}}{{{content5style|}}}
|title = {{{group5<includeonly>|</includeonly>}}}{{{sect5|}}}{{{section5|}}}<noinclude> or {{{section5}}} or {{{sect5}}}</noinclude>
|list1 = {{{list5<includeonly>|</includeonly>}}}{{{content5|}}}<noinclude> or {{{content5}}}</noinclude>
|image = {{{image5|}}}
|imageleft = {{{imageleft5|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list5|}}}{{{content5|}}}
}}
|list6 =
{{#if:{{{group6|}}}{{{sect6|}}}{{{section6|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr6}}} |uncollapsed |{{{state6|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group6style|}}}{{{sect6titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list6style|}}}{{{content6style|}}}
|title = {{{group6|}}}{{{sect6|}}}{{{section6|}}}
|list1 = {{{list6|}}}{{{content6|}}}
|image = {{{image6|}}}
|imageleft = {{{imageleft6|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list6|}}}{{{content6|<noinclude>''(...etc, to group20/sect20/section20 and list20/content20)''</noinclude>}}}
}}
|list7 =
{{#if:{{{group7|}}}{{{sect7|}}}{{{section7|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr7}}} |uncollapsed |{{{state7|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group7style|}}}{{{sect7titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list7style|}}}{{{content7style|}}}
|title = {{{group7|}}}{{{sect7|}}}{{{section7|}}}
|list1 = {{{list7|}}}{{{content7|}}}
|image = {{{image7|}}}
|imageleft = {{{imageleft7|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list7|}}}{{{content7|}}}
}}
|list8 =
{{#if:{{{group8|}}}{{{sect8|}}}{{{section8|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr8}}} |uncollapsed |{{{state8|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group8style|}}}{{{sect8titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list8style|}}}{{{content8style|}}}
|title = {{{group8|}}}{{{sect8|}}}{{{section8|}}}
|list1 = {{{list8|}}}{{{content8|}}}
|image = {{{image8|}}}
|imageleft = {{{imageleft8|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list8|}}}{{{content8|}}}
}}
|list9 =
{{#if:{{{group9|}}}{{{sect9|}}}{{{section9|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr9}}} |uncollapsed |{{{state9|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group9style|}}}{{{sect9titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list9style|}}}{{{content9style|}}}
|title = {{{group9|}}}{{{sect9|}}}{{{section9|}}}
|list1 = {{{list9|}}}{{{content9|}}}
|image = {{{image9|}}}
|imageleft = {{{imageleft9|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list9|}}}{{{content9|}}}
}}
|list10 =
{{#if:{{{group10|}}}{{{sect10|}}}{{{section10|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr10}}} |uncollapsed |{{{state10|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group10style|}}}{{{sect10titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list10style|}}}{{{content10style|}}}
|title = {{{group10|}}}{{{sect10|}}}{{{section10|}}}
|list1 = {{{list10|}}}{{{content10|}}}
|image = {{{image10|}}}
|imageleft = {{{imageleft10|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list10|}}}{{{content10|}}}
}}
|list11 =
{{#if:{{{group11|}}}{{{sect11|}}}{{{section11|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr11}}} |uncollapsed |{{{state11|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group11style|}}}{{{sect11titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list11style|}}}{{{content11style|}}}
|title = {{{group11|}}}{{{sect11|}}}{{{section11|}}}
|list1 = {{{list11|}}}{{{content11|}}}
|image = {{{image11|}}}
|imageleft = {{{imageleft11|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list11|}}}{{{content11|}}}
}}
|list12 =
{{#if:{{{group12|}}}{{{sect12|}}}{{{section12|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr12}}} |uncollapsed |{{{state12|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group12style|}}}{{{sect12titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list12style|}}}{{{content12style|}}}
|title = {{{group12|}}}{{{sect12|}}}{{{section12|}}}
|list1 = {{{list12|}}}{{{content12|}}}
|image = {{{image12|}}}
|imageleft = {{{imageleft12|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list12|}}}{{{content12|}}}
}}
|list13 =
{{#if:{{{group13|}}}{{{sect13|}}}{{{section13|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr13}}} |uncollapsed |{{{state13|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group13style|}}}{{{sect13titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list13style|}}}{{{content13style|}}}
|title = {{{group13|}}}{{{sect13|}}}{{{section13|}}}
|list1 = {{{list13|}}}{{{content13|}}}
|image = {{{image13|}}}
|imageleft = {{{imageleft13|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list13|}}}{{{content13|}}}
}}
|list14 =
{{#if:{{{group14|}}}{{{sect14|}}}{{{section14|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr14}}} |uncollapsed |{{{state14|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group14style|}}}{{{sect14titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list14style|}}}{{{content14style|}}}
|title = {{{group14|}}}{{{sect14|}}}{{{section14|}}}
|list1 = {{{list14|}}}{{{content14|}}}
|image = {{{image14|}}}
|imageleft = {{{imageleft14|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list14|}}}{{{content14|}}}
}}
|list15 =
{{#if:{{{group15|}}}{{{sect15|}}}{{{section15|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr15}}} |uncollapsed |{{{state15|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group15style|}}}{{{sect15titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list15style|}}}{{{content15style|}}}
|title = {{{group15|}}}{{{sect15|}}}{{{section15|}}}
|list1 = {{{list15|}}}{{{content15|}}}
|image = {{{image15|}}}
|imageleft = {{{imageleft15|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list15|}}}{{{content15|}}}
}}
|list16 =
{{#if:{{{group16|}}}{{{sect16|}}}{{{section16|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr16}}} |uncollapsed |{{{state16|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group16style|}}}{{{sect16titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list16style|}}}{{{content16style|}}}
|title = {{{group16|}}}{{{sect16|}}}{{{section16|}}}
|list1 = {{{list16|}}}{{{content16|}}}
|image = {{{image16|}}}
|imageleft = {{{imageleft16|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list16|}}}{{{content16|}}}
}}
|list17 =
{{#if:{{{group17|}}}{{{sect17|}}}{{{section17|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr17}}} |uncollapsed |{{{state17|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group17style|}}}{{{sect17titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list17style|}}}{{{content17style|}}}
|title = {{{group17|}}}{{{sect17|}}}{{{section17|}}}
|list1 = {{{list17|}}}{{{content17|}}}
|image = {{{image17|}}}
|imageleft = {{{imageleft17|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list17|}}}{{{content17|}}}
}}
|list18 =
{{#if:{{{group18|}}}{{{sect18|}}}{{{section18|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr18}}} |uncollapsed |{{{state18|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group18style|}}}{{{sect18titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list18style|}}}{{{content18style|}}}
|title = {{{group18|}}}{{{sect18|}}}{{{section18|}}}
|list1 = {{{list18|}}}{{{content18|}}}
|image = {{{image18|}}}
|imageleft = {{{imageleft18|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list18|}}}{{{content18|}}}
}}
|list19 =
{{#if:{{{group19|}}}{{{sect19|}}}{{{section19|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr19}}} |uncollapsed |{{{state19|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group19style|}}}{{{sect19titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list19style|}}}{{{content19style|}}}
|title = {{{group19|}}}{{{sect19|}}}{{{section19|}}}
|list1 = {{{list19|}}}{{{content19|}}}
|image = {{{image19|}}}
|imageleft = {{{imageleft19|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list19|}}}{{{content19|}}}
}}
|list20 =
{{#if:{{{group20|}}}{{{sect20|}}}{{{section20|}}}
| {{#invoke:navbox|navbox|child
|navbar = plain
|state = {{#ifeq:{{{selected}}}|{{{abbr20}}} |uncollapsed |{{{state20|collapsed}}}}}
|titlestyle = {{{basestyle|}}};{{{groupstyle|}}}{{{secttitlestyle|}}}{{{group20style|}}}{{{sect20titlestyle|}}}
|liststyle = {{{liststyle|}}}{{{contentstyle|}}}{{{list20style|}}}{{{content20style|}}}
|title = {{{group20|}}}{{{sect20|}}}{{{section20|}}}
|list1 = {{{list20|}}}{{{content20|}}}
|image = {{{image20|}}}
|imageleft = {{{imageleft20|}}}
|{{#if:{{{listpadding|}}} |listpadding |void}} = {{{listpadding|}}}
}}
| {{{list20|}}}{{{content20|}}}
}}
|below = {{{below|}}}
}}<noinclude>
{{documentation}}
</noinclude>
0007d09740d9818eb8f3d6534e757d717c92627f
Template:Collapsible option
10
243
473
472
2021-01-05T17:32:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{big|'''Initial visibility'''}}
To set the template's initial visibility, the {{para|state}} [[Help:Template#Parameters|parameter]] may be used:
<ul>
<li>{{para|state|collapsed}}: <nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}}| |BASE}}PAGENAME<includeonly>}}</includeonly><nowiki>|state=collapsed}}</nowiki> to show the template collapsed, i.e., hidden apart from its title bar
<li>{{para|state|expanded}}: <nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}} | |BASE}}PAGENAME<includeonly>}}</includeonly><nowiki>|state=expanded}}</nowiki> to show the template expanded, i.e., fully visible
<li>{{para|state|autocollapse}}: <nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}} | |BASE}}PAGENAME<includeonly>}}</includeonly><nowiki>|state=autocollapse}}</nowiki><ul>
<li>shows the template collapsed to the title bar if there is a <nowiki>{{navbar}}, a {{sidebar}}</nowiki>, or some other table on the page with the collapsible attribute
<li>shows the template in its expanded state if there are no other collapsible items on the page
</ul></ul>
If the {{para|state}} parameter is not set, the template's initial visibility is taken from the {{para|default}} parameter in the template. For this template, that currently evaluates to <code>{{#switch:{{{default|}}}|collapsed=collapsed|expanded=expanded|autocollapse|#default=autocollapse}}</code>.</ul><!--
-->{{#if:{{{align|}}}|
:{{para|align|''value''}} is also available; where ''value'' can be either <code>right</code> or <code>left</code>. The default is <code>center</code>
}}{{#if:{{{title-background|}}}|:{{para|title-background|''value''}} is also available; where ''value'' can be either <code>navbox</code> or a <code>color</code>. The default is <code>none</code> and <code>navbox</code> defaults to the default navbox color.
}}{{#if:{{{width|}}}|
:{{para|width|''value''}} is also available; where ''value'' can be either <code>N [em/%/px]</code> or <code>auto</code>. The default is <code>100%</code>
}}<!--
Add {{pp-template}} if template page where this template is transcluded is protected:
-->{{template other
| {{#if:{{PROTECTIONLEVEL:edit}} |{{pp-template|docusage=yes}}
| {{#if:{{PROTECTIONLEVEL:move}} |{{pp-move|docusage=yes|small=yes}} }}
}} }}<noinclude>
{{Documentation}}
</noinclude>
2dea98e604c251cb7c89115d2d092088ea8a688f
Template:Big
10
244
475
474
2021-01-05T17:32:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span style="font-size: 120%;">{{{1}}}</span><noinclude>
{{Documentation}}
<!-- Please add categories to the /doc subpage; interwikis go to Wikidata, thank you. -->
</noinclude>
921a29fc5d6c9a23b246400fe247ba4f2e0f2aaf
Template:Para
10
245
477
476
2021-01-05T17:32:53Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<code class="nowrap" {{#if:{{{plain|}}}|style="border:none;background-color:inherit;color:inherit;"}}>|{{#if:{{{1|}}}|{{{1}}}=}}{{{2|}}}</code><noinclude>
{{Documentation}}
<!--Categories and interwikis go near the bottom of the /doc subpage.-->
</noinclude>
66770157bb51b0aabb5b874e4f1bb8f04c80915c
Module:Color contrast
828
246
479
478
2021-01-05T17:32:54Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--
-- This module implements
-- {{Color contrast ratio}}
-- {{Greater color contrast ratio}}
-- {{ColorToLum}}
-- {{RGBColorToLum}}
--
local p = {}
local HTMLcolor = mw.loadData( 'Module:Color contrast/colors' )
local function sRGB ( v )
if (v <= 0.03928) then
v = v / 12.92
else
v = math.pow((v+0.055)/1.055, 2.4)
end
return v
end
local function rgbdec2lum( R, G, B )
if ( 0 <= R and R < 256 and 0 <= G and G < 256 and 0 <= B and B < 256 ) then
return 0.2126 * sRGB(R/255) + 0.7152 * sRGB(G/255) + 0.0722 * sRGB(B/255)
else
return ''
end
end
local function hsl2lum( h, s, l )
if ( 0 <= h and h < 360 and 0 <= s and s <= 1 and 0 <= l and l <= 1 ) then
local c = (1 - math.abs(2*l - 1))*s
local x = c*(1 - math.abs( math.fmod(h/60, 2) - 1) )
local m = l - c/2
local r, g, b = m, m, m
if( 0 <= h and h < 60 ) then
r = r + c
g = g + x
elseif( 60 <= h and h < 120 ) then
r = r + x
g = g + c
elseif( 120 <= h and h < 180 ) then
g = g + c
b = b + x
elseif( 180 <= h and h < 240 ) then
g = g + x
b = b + c
elseif( 240 <= h and h < 300 ) then
r = r + x
b = b + c
elseif( 300 <= h and h < 360 ) then
r = r + c
b = b + x
end
return rgbdec2lum(255*r, 255*g, 255*b)
else
return ''
end
end
local function color2lum( c )
if (c == nil) then
return ''
end
-- whitespace
c = c:match( '^%s*(.-)[%s;]*$' )
-- unstrip nowiki strip markers
c = mw.text.unstripNoWiki(c)
-- lowercase
c = c:lower()
-- first try to look it up
local L = HTMLcolor[c]
if (L ~= nil) then
return L
end
-- convert from hsl
if mw.ustring.match(c,'^hsl%([%s]*[0-9][0-9%.]*[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local h, s, l = mw.ustring.match(c,'^hsl%([%s]*([0-9][0-9%.]*)[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return hsl2lum(tonumber(h), tonumber(s)/100, tonumber(l)/100)
end
-- convert from rgb
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*%)$')
return rgbdec2lum(tonumber(R), tonumber(G), tonumber(B))
end
-- convert from rgb percent
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return rgbdec2lum(255*tonumber(R)/100, 255*tonumber(G)/100, 255*tonumber(B)/100)
end
-- remove leading # (if there is one) and whitespace
c = mw.ustring.match(c, '^[%s#]*([a-f0-9]*)[%s]*$')
-- split into rgb
local cs = mw.text.split(c or '', '')
if( #cs == 6 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[2])
local G = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[4])
local B = 16*tonumber('0x' .. cs[5]) + tonumber('0x' .. cs[6])
return rgbdec2lum(R, G, B)
elseif ( #cs == 3 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[1])
local G = 16*tonumber('0x' .. cs[2]) + tonumber('0x' .. cs[2])
local B = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[3])
return rgbdec2lum(R, G, B)
end
-- failure, return blank
return ''
end
function p._greatercontrast(args)
local bias = tonumber(args['bias'] or '0') or 0
local v1 = color2lum(args[1] or '')
local c2 = args[2] or '#FFFFFF'
local v2 = color2lum(c2)
local c3 = args[3] or '#000000'
local v3 = color2lum(c3)
local ratio1 = 0;
local ratio2 = 0;
if (type(v1) == 'number' and type(v2) == 'number') then
ratio1 = (v2 + 0.05)/(v1 + 0.05)
ratio1 = (ratio1 < 1) and 1/ratio1 or ratio1
end
if (type(v1) == 'number' and type(v3) == 'number') then
ratio2 = (v3 + 0.05)/(v1 + 0.05)
ratio2 = (ratio2 < 1) and 1/ratio2 or ratio2
end
return (ratio1 + bias > ratio2) and c2 or c3
end
function p._ratio(args)
local v1 = color2lum(args[1])
local v2 = color2lum(args[2])
if (type(v1) == 'number' and type(v2) == 'number') then
-- v1 should be the brighter of the two.
if v2 > v1 then
v1, v2 = v2, v1
end
return (v1 + 0.05)/(v2 + 0.05)
else
return args['error'] or '?'
end
end
function p._styleratio(args)
local style = (args[1] or ''):lower()
local bg, fg = 'white', 'black'
local lum_bg, lum_fg = 1, 0
if args[2] then
local lum = color2lum(args[2])
if lum ~= '' then bg, lum_bg = args[2], lum end
end
if args[3] then
local lum = color2lum(args[3])
if lum ~= '' then fg, lum_fg = args[3], lum end
end
local slist = mw.text.split(mw.ustring.gsub(mw.ustring.gsub(style or '', '&#[Xx]23;', '#'), '#', '#'), ';')
for k = 1,#slist do
s = slist[k]
local k,v = s:match( '^[%s]*([^:]-):([^:]-)[%s;]*$' )
k = k or ''
v = v or ''
if (k:match('^[%s]*(background)[%s]*$') or k:match('^[%s]*(background%-color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_bg = v, lum end
elseif (k:match('^[%s]*(color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_fg = v, lum end
end
end
if lum_bg > lum_fg then
return (lum_bg + 0.05)/(lum_fg + 0.05)
else
return (lum_fg + 0.05)/(lum_bg + 0.05)
end
end
function p.lum(frame)
return color2lum(frame.args[1] or frame:getParent().args[1])
end
function p.ratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._ratio(args)
end
function p.styleratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._styleratio(args)
end
function p.greatercontrast(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._greatercontrast(args)
end
return p
2a7acd1ffb5dc0655049c436e7a71f54827d5422
Module:Color contrast/colors
828
247
481
480
2021-01-05T17:32:55Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
return {
aliceblue = 0.92880068253475,
antiquewhite = 0.84646951707754,
aqua = 0.7874,
aquamarine = 0.8078549208338,
azure = 0.97265264954166,
beige = 0.8988459998705,
bisque = 0.80732327372979,
black = 0,
blanchedalmond = 0.85084439608156,
blue = 0.0722,
blueviolet = 0.12622014321946,
brown = 0.098224287876511,
burlywood = 0.51559844533893,
cadetblue = 0.29424681085422,
chartreuse = 0.76032025902623,
chocolate = 0.23898526114557,
coral = 0.37017930872924,
cornflowerblue = 0.30318641994179,
cornsilk = 0.93562110372965,
crimson = 0.16042199953026,
cyan = 0.7874,
darkblue = 0.018640801980939,
darkcyan = 0.20329317839046,
darkgoldenrod = 0.27264703559993,
darkgray = 0.39675523072563,
darkgreen = 0.091143429047575,
darkgrey = 0.39675523072563,
darkkhaki = 0.45747326349994,
darkmagenta = 0.07353047651207,
darkolivegreen = 0.12651920884889,
darkorange = 0.40016167026524,
darkorchid = 0.13413142174857,
darkred = 0.054889674531132,
darksalmon = 0.40541471563381,
darkseagreen = 0.43789249325969,
darkslateblue = 0.065792846227988,
darkslategray = 0.067608151928044,
darkslategrey = 0.067608151928044,
darkturquoise = 0.4874606277449,
darkviolet = 0.10999048339343,
deeppink = 0.23866895828276,
deepskyblue = 0.44481603395575,
dimgray = 0.14126329114027,
dimgrey = 0.14126329114027,
dodgerblue = 0.27442536991456,
firebrick = 0.10724525535015,
floralwhite = 0.95922484825004,
forestgreen = 0.18920812076002,
fuchsia = 0.2848,
gainsboro = 0.71569350050648,
ghostwhite = 0.94311261886323,
gold = 0.69860877428159,
goldenrod = 0.41919977809569,
gray = 0.2158605001139,
green = 0.15438342968146,
greenyellow = 0.80609472611453,
grey = 0.2158605001139,
honeydew = 0.96336535554782,
hotpink = 0.34658438169715,
indianred = 0.21406134963884,
indigo = 0.03107561486337,
ivory = 0.99071270600615,
khaki = 0.77012343394121,
lavender = 0.80318750514521,
lavenderblush = 0.90172748631046,
lawngreen = 0.73905893124963,
lemonchiffon = 0.94038992245622,
lightblue = 0.63709141280807,
lightcoral = 0.35522120733135,
lightcyan = 0.94587293494829,
lightgoldenrodyellow = 0.93348351018297,
lightgray = 0.65140563741982,
lightgreen = 0.69091979956865,
lightgrey = 0.65140563741982,
lightpink = 0.58566152734898,
lightsalmon = 0.4780675225206,
lightseagreen = 0.35050145117042,
lightskyblue = 0.56195637618331,
lightslategray = 0.23830165007287,
lightslategrey = 0.23830165007287,
lightsteelblue = 0.53983888284666,
lightyellow = 0.98161818392882,
lime = 0.7152,
limegreen = 0.44571042246098,
linen = 0.88357340984379,
magenta = 0.2848,
maroon = 0.045891942324215,
mediumaquamarine = 0.49389703310801,
mediumblue = 0.044077780212328,
mediumorchid = 0.21639251153773,
mediumpurple = 0.22905858091648,
mediumseagreen = 0.34393112338131,
mediumslateblue = 0.20284629471622,
mediumspringgreen = 0.70704308194184,
mediumturquoise = 0.5133827926448,
mediumvioletred = 0.14371899849357,
midnightblue = 0.02071786635086,
mintcream = 0.97834604947588,
mistyrose = 0.82183047859185,
moccasin = 0.80083000991567,
navajowhite = 0.76519682342785,
navy = 0.015585128108224,
oldlace = 0.91900633405549,
olive = 0.20027537200568,
olivedrab = 0.22593150951929,
orange = 0.4817026703631,
orangered = 0.25516243753416,
orchid = 0.31348806761439,
palegoldenrod = 0.78792647887614,
palegreen = 0.77936759006353,
paleturquoise = 0.76436077921714,
palevioletred = 0.28754994117889,
papayawhip = 0.87797100199835,
peachpuff = 0.74905589878251,
peru = 0.30113074877936,
pink = 0.63271070702466,
plum = 0.45734221587969,
powderblue = 0.68254586500605,
purple = 0.061477070432439,
rebeccapurple = 0.07492341159447,
red = 0.2126,
rosybrown = 0.32319457649407,
royalblue = 0.16663210743188,
saddlebrown = 0.097922285020521,
salmon = 0.36977241527596,
sandybrown = 0.46628543696283,
seagreen = 0.19734199706275,
seashell = 0.92737862206922,
sienna = 0.13697631337098,
silver = 0.52711512570581,
skyblue = 0.55291668518184,
slateblue = 0.14784278062136,
slategray = 0.20896704076536,
slategrey = 0.20896704076536,
snow = 0.96533341834849,
springgreen = 0.73052306068529,
steelblue = 0.20562642207625,
tan = 0.48237604163921,
teal = 0.16996855778968,
thistle = 0.56818401093733,
tomato = 0.30638612719415,
turquoise = 0.5895536427578,
violet = 0.40315452986676,
wheat = 0.74909702820482,
white = 1,
whitesmoke = 0.91309865179342,
yellow = 0.9278,
yellowgreen = 0.50762957208707,
}
6ae47fdb24de4eed5ec26d203faf5341a388987b
Template:Navbox subgroups
10
248
483
482
2021-01-05T17:32:55Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{Navbox
|name = {{{name|}}}
|state = {{{state|}}}
|navbar = {{{navbar|}}}
|border = {{#if:{{{border|}}}|{{{border}}}|child}}
|title = {{{title|}}}
|above = {{{above|}}}
|below = {{{below|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|groupwidth = {{{groupwidth|}}}
|group1 = {{#if:{{{group1|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group1}}}</div>}}
|group2 = {{#if:{{{group2|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group2}}}</div>}}
|group3 = {{#if:{{{group3|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group3}}}</div>}}
|group4 = {{#if:{{{group4|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group4}}}</div>}}
|group5 = {{#if:{{{group5|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group5}}}</div>}}
|group6 = {{#if:{{{group6|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group6}}}</div>}}
|group7 = {{#if:{{{group7|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group7}}}</div>}}
|group8 = {{#if:{{{group8|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group8}}}</div>}}
|group9 = {{#if:{{{group9|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group9}}}</div>}}
|group10 = {{#if:{{{group10|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group10}}}</div>}}
|group11 = {{#if:{{{group11|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group11}}}</div>}}
|group12 = {{#if:{{{group12|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group12}}}</div>}}
|group13 = {{#if:{{{group13|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group13}}}</div>}}
|group14 = {{#if:{{{group14|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group14}}}</div>}}
|group15 = {{#if:{{{group15|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group15}}}</div>}}
|group16 = {{#if:{{{group16|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group16}}}</div>}}
|group17 = {{#if:{{{group17|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group17}}}</div>}}
|group18 = {{#if:{{{group18|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group18}}}</div>}}
|group19 = {{#if:{{{group19|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group19}}}</div>}}
|group20 = {{#if:{{{group20|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group20}}}</div>}}
|list1 = {{{list1|}}}
|list2 = {{{list2|}}}
|list3 = {{{list3|}}}
|list4 = {{{list4|}}}
|list5 = {{{list5|}}}
|list6 = {{{list6|}}}
|list7 = {{{list7|}}}
|list8 = {{{list8|}}}
|list9 = {{{list9|}}}
|list10 = {{{list10|}}}
|list11 = {{{list11|}}}
|list12 = {{{list12|}}}
|list13 = {{{list13|}}}
|list14 = {{{list14|}}}
|list15 = {{{list15|}}}
|list16 = {{{list16|}}}
|list17 = {{{list17|}}}
|list18 = {{{list18|}}}
|list19 = {{{list19|}}}
|list20 = {{{list20|}}}
|bodyclass = {{{bodyclass|}}}
|titleclass = {{{titleclass|}}}
|aboveclass = {{{aboveclass|}}}
|belowclass = {{{belowclass|}}}
|groupclass = {{{groupclass|}}}
|listclass = {{{listclass|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|imagestyle = {{{imagestyle|}}}
|titlestyle = {{{titlestyle|}}}
|basestyle = {{{basestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|groupstyle = padding-left:0;padding-right:0;{{{groupstyle|}}}
|liststyle = {{{liststyle|}}}
|evenstyle = {{{evenstyle|}}}
|oddstyle = {{{oddstyle|}}}
|group1style = {{{group1style|}}}
|group2style = {{{group2style|}}}
|group3style = {{{group3style|}}}
|group4style = {{{group4style|}}}
|group5style = {{{group5style|}}}
|group6style = {{{group6style|}}}
|group7style = {{{group7style|}}}
|group8style = {{{group8style|}}}
|group9style = {{{group9style|}}}
|group10style = {{{group10style|}}}
|group11style = {{{group11style|}}}
|group12style = {{{group12style|}}}
|group13style = {{{group13style|}}}
|group14style = {{{group14style|}}}
|group15style = {{{group15style|}}}
|group16style = {{{group16style|}}}
|group17style = {{{group17style|}}}
|group18style = {{{group18style|}}}
|group19style = {{{group19style|}}}
|group20style = {{{group20style|}}}
|list1style = {{{list1style|}}}
|list2style = {{{list2style|}}}
|list3style = {{{list3style|}}}
|list4style = {{{list4style|}}}
|list5style = {{{list5style|}}}
|list6style = {{{list6style|}}}
|list7style = {{{list7style|}}}
|list8style = {{{list8style|}}}
|list9style = {{{list9style|}}}
|list10style = {{{list10style|}}}
|list11style = {{{list11style|}}}
|list12style = {{{list12style|}}}
|list13style = {{{list13style|}}}
|list14style = {{{list14style|}}}
|list15style = {{{list15style|}}}
|list16style = {{{list16style|}}}
|list17style = {{{list17style|}}}
|list18style = {{{list18style|}}}
|list19style = {{{list19style|}}}
|list20style = {{{list20style|}}}
|evenodd = {{{evenodd|}}}
|listpadding = {{{listpadding|}}}
}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
3bce677814c9558e1955a042f53842a02714c680
Template:Navbox subgroups/doc
10
249
485
484
2021-01-05T17:32:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{Intricate template}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Navbox suite}}
This template is designed to be used with {{tl|Navbox}} or other [[Wikipedia:Navigation template|navigation template]]s that allow creating lists of links with groups headers or titles. This template allows the creation of subgroups that can be assigned to a list item within {{tl|Navbox}}. A subgroup may contain up to 20 list items.
== Blank template ==
<pre>
{{Navbox subgroup
| groupstyle =
| liststyle =
| group1 =
| list1 =
| group2 =
| list2 =
...
| group20 =
| list20 =
}}
</pre>
== Parameters ==
This template employs all parameters of {{tl|Navbox}}. Please see the documentation there for more complete descriptions. In fact, the only differences between this template and {{tl|Navbox}} are as follows:
*The border parameter defaults to "child"
*The group padding defaults to 0.75em on the left/right, and can only be changed with the <code>grouppadding</code> parameter. This is done to prevent the [[Internet Explorer box model bug]] from affecting the width of groups.
Everything else is ''exactly'' the same as {{tl|Navbox}}.
Only the most common parameters are listed below.
=== Cells ===
:; ''list<sub>n</sub>''
:: (i.e. ''list1'', ''list2'', ... ''list20'') The body of the template, usually a list of links. Format is inline. At least one ''list'' parameter is required; each additional ''list'' is displayed in a separate row of the table. Each ''list<sub>n</sub>'' may be preceded by a corresponding ''group<sub>n</sub>'' parameter, if provided (see below).
:; ''group<sub>n</sub>''
:: (i.e. ''group1'', ''group2'', ..., ''group20'') If specified, text appears in a header cell displayed to the left of ''list<sub>n</sub>''. If omitted, ''list<sub>n</sub>'' uses the full width of the table. The background color defaults to <code><span style="background:#e6e6ff; color:black;">#e6e6ff</span></code>, but can be changed via the ''groupstyle'' parameter (see below).
=== Styles ===
:; ''bodystyle''
:: Specifies [[Cascading Style Sheets|CSS]] styles to apply to the template body. Examples:
::: <code>background:#''nnnnnn'';</code>
::: <code>text-align:[''right/center/left/justified''];</code>
:; ''groupstyle''
:: CSS styles to apply to the ''group<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Examples:
::: <code>background:#''nnnnnn'';</code>
::: <code>text-align:[''left/center/right''];</code>
::: <code>vertical-align:[''top/middle/bottom''];</code>
::: <code>white-space:nowrap;</code>
:; ''grouppadding''
:: CSS style to specify group padding. Should usually be specified using em units. It is recommended to leave this parameter alone and use the default padding. Examples:
::: <code>grouppadding = 0em 1em;</code> (1em on left/right, 0em on top/bottom)
::: <code>grouppadding = 0em 0.5em 0em 1em;</code> (0em top, 0.5em right, 0em bottom, 1em left)
:; ''liststyle''
:: CSS styles to apply to all lists. Overridden by the ''oddstyle'' and ''evenstyle'' parameters (if specified) below.
:; ''oddstyle''
:; ''evenstyle''
:: CSS styles to apply to the odd-numbered list items (''list1'', ''list3'', etc) or even-numbered list items (''list2'', ''list4'', etc), respectively. Typically used to set background color (<code>background:#''nnnnnn'';</code>) in order to achieve an alternating background color between odd and even-numbered lists.
:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. NOTE: Due to system limitations, do '''not''' use a semi-colon to close this command.
==Setting the width of groups==
If multiple {{tl|Navbox subgroup}} templates are used inside of a parent {{tl|Navbox}}, it generally looks better if the width of the groups matches up. In order to do this, one must set the <code>groupwidth</code> parameter:
:<code>groupwidth = 10em</code>
An alternative way is to set the <code>groupstyle</code> parameters to contain the desired width, and the <code>liststyle</code> parameters to have width:auto (due to HTML/CSS reasons). For example, place the following code in each {{tl|Navbox subgroup}} to adjust the widths:
:<code>groupstyle = width:10em;</code>
:<code>liststyle = width:auto;</code>
*NOTE: For the <code>groupstyle</code> widths to work, you '''must''' set the <code>liststyle</code> width to "auto".
If you also use the <code>image</code> or <code>imageleft</code> parameters, then you will most likely also need to set their width manually using the <code>imagestyle</code> and <code>imageleftstyle</code> parameters.
==Example==
The following is an example of ''Navbox subgroup'' used within a ''Navbox'' template.
{{Navbox
| state = uncollapsed
| name = Navbox subgroup/doc
| title = Protected Areas of Colorado
| listclass = hlist
| group1 = National Park Service
| list1 = {{Navbox subgroup
| group1 = National Parks
| list1 =
*[[Black Canyon of the Gunnison National Park|Black Canyon of the Gunnison]]
*[[Great Sand Dunes National Park and Preserve|Great Sand Dunes]]
*[[Mesa Verde National Park|Mesa Verde]]
*[[Rocky Mountain National Park|Rocky Mountain]]
| group2 = National Monuments
| list2 =
*[[Colorado National Monument|Colorado]]
*[[Florissant Fossil Beds National Monument|Florissant Fossil Beds]]
*[[Hovenweep National Monument|Hovenweep]]
*[[Yucca House National Monument|Yucca House]]
| group3 = National Historic Sites
| list3 =
*[[Bent's Old Fort National Historic Site|Bent's Old Fort]]
*[[Sand Creek Massacre National Historic Site|Sand Creek Massacre]]
| group4 = National Recreation Area
| list4 =
*[[Curecanti National Recreation Area|Curecanti]]
}}
| group2 = National Forests
| list2 =
*[[Arapaho National Forest|Arapaho]]
*[[Grand Mesa National Forest|Grand Mesa]]
*[[Gunnison National Forest|Gunnison]]
*[[Pike National Forest|Pike]]
*[[Rio Grande National Forest|Rio Grande]]
*[[Roosevelt National Forest|Roosevelt]]
*[[Medicine Bow – Routt National Forest|Medicine Bow – Routt]]
*[[San Isabel National Forest|San Isabel]]
*[[San Juan National Forest|San Juan]]
*[[Uncompahgre National Forest|Uncompahgre]]
*[[White River National Forest|White River]]
}}
<pre style="overflow:scroll;">
{{Navbox
| state = uncollapsed
| name = Protected Areas of Colorado
| title = Protected Areas of Colorado
| listclass = hlist
| group1 = National Park Service
| list1 = {{Navbox subgroup
| group1 = National Parks
| list1 =
*[[Black Canyon of the Gunnison National Park|Black Canyon of the Gunnison]]
*[[Great Sand Dunes National Park and Preserve|Great Sand Dunes]]
*[[Mesa Verde National Park|Mesa Verde]]
*[[Rocky Mountain National Park|Rocky Mountain]]
| group2 = National Monuments
| list2 =
*[[Colorado National Monument|Colorado]]
*[[Florissant Fossil Beds National Monument|Florissant Fossil Beds]]
*[[Hovenweep National Monument|Hovenweep]]
*[[Yucca House National Monument|Yucca House]]
| group3 = National Historic Sites
| list3 =
*[[Bent's Old Fort National Historic Site|Bent's Old Fort]]
*[[Sand Creek Massacre National Historic Site|Sand Creek Massacre]]
| group4 = National Recreation Area
| list4 =
*[[Curecanti National Recreation Area|Curecanti]]
}}
| group2 = National Forests
| list2 =
*[[Arapaho National Forest|Arapaho]]
*[[Grand Mesa National Forest|Grand Mesa]]
*[[Gunnison National Forest|Gunnison]]
*[[Pike National Forest|Pike]]
*[[Rio Grande National Forest|Rio Grande]]
*[[Roosevelt National Forest|Roosevelt]]
*[[Medicine Bow - Routt National Forest|Medicine Bow - Routt]]
*[[San Isabel National Forest|San Isabel]]
*[[San Juan National Forest|San Juan]]
*[[Uncompahgre National Forest|Uncompahgre]]
*[[White River National Forest|White River]]
}}
</pre>
== See also ==
* {{tl|Navbox}} – Basic navbox
* {{tl|Navbox with columns}} – Allows columns instead of groups/lists
* {{tl|Navbox with collapsible groups}} – Another variation.
* {{strikethrough|[[Wikipedia:Line-break handling]] – The how-to guide about how to handle word wraps (line breaks) on Wikipedia, such as the wrapping of the link lists used in navboxes.}} Deprecated; use the <code>hlist</code> class.
* {{strikethrough|{{tl|Nowrap begin}} – The recommended format for adding bullets, pipes, or dashes between list items.}} Deprecated; use the <code>hlist</code> class.
* {{tl|Nobold}} – To display text at normal font-weight within a context where the default font-weight is bold, e.g. header cells in tables.
{{Navigation templates}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!--Categories-->
[[Category:Navigational boxes| ]]
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
}}</includeonly>
3de951c1ca1a9050df72ee2377477bd3f20f9b5c
Template:Nowrap
10
250
487
486
2021-01-05T17:32:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span class="nowrap">{{{1}}}</span><noinclude>
{{documentation}}
<!-- Categories go on the /doc page; interwikis go to Wikidata. -->
</noinclude>
5d0dc6b6d89b37f4356242404f46138a4017f015
Template:Nowrap begin
10
251
489
488
2021-01-05T17:32:56Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><span class="nowrap"></includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
b4c620d9081bc494acbfae059cbb0dc18575c1c6
Template:Nowrap end
10
252
491
490
2021-01-05T17:32:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly></span></includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
b30742b0d0f9c52ca4f1657a3a8c5ade72ad4a16
Template:.w
10
253
493
492
2021-01-05T17:32:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:·]]
557e6c2829a423bf209bcbdf91ca4421c23faf0d
Template:·
10
254
495
494
2021-01-05T17:32:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<b>·</b> <noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
bddcd60a7b03421d93c14219c3518e748538fd4e
Template:·w
10
255
497
496
2021-01-05T17:32:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:W]]
87ff529c3d1c14c812020a04d51492dc27c38190
Template:W
10
256
499
498
2021-01-05T17:32:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude>{{Documentation}}</noinclude>
de4983e47f70cfbddabe5ff162dc1dc2b7437e4d
Template:·wrap
10
257
501
500
2021-01-05T17:32:57Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Wrap]]
0beb14addfff7f4b4c1817a4c51ae0a6373f2f76
Template:Wrap
10
258
503
502
2021-01-05T17:32:58Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly></span> <span class="nowrap"></includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
59d1129cf2bd5c694d1fbf4a58e3307b766048d4
Template:Smallsup
10
259
505
504
2021-01-05T17:32:58Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><sup><small>{{{1}}}</small></sup></includeonly><noinclude>
{{Documentation}}
</noinclude>
c174fb3247218273210500118556feb9f3c76d5a
Template:Country showdata
10
260
507
506
2021-01-05T17:32:58Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>__NOEDITSECTION__
{{documentation|content=<code>Template:{{PAGENAME}}</code> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <code>[[Template:flag|flag]]</code>, <code>[[Template:flagicon|flagicon]]</code>, and others.
{{ombox|text=This template is within the scope of '''[[Wikipedia:WikiProject Flag Template|WikiProject Flag Template]]''', a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page.}}
[[File:{{{flag alias|Flag of None.svg}}}|thumb|{{#if:{{{flag link|}}} | See also: [[{{{flag link}}}]] | {{#ifexist: Flag of {{{alias}}} | See also: [[Flag of {{{alias}}}]] | }} }}]]
===Standard parameters===
<table class="wikitable">
<tr><th>Parameter name</th><th>Value</th><th>Meaning</th>
</tr><tr>
<td><code>alias</code></td>
<td>{{#if: {{{alias|}}} | <code>{{{alias}}}</code> | <span style="color:red">'''undefined!'''</span> }}
<td>Main article name ([[{{{alias}}}]])</td>
</tr>
{{#if: {{{shortname alias|}}} |
<tr>
<td><code>shortname alias</code></td>
<td><code>{{{shortname alias}}}</code></td>
<td>''(optional)'' Display name to be used for the wikilink, if <code>alias</code> is a disambiguated article name, for example</td>
</tr>
}}
<tr>
<td><code>flag alias</code></td>
<td>{{#if: {{{flag alias|}}} | <code>{{{flag alias}}}</code> | <span style="color:red">'''undefined!'''</span> }}</td>
<td>Image name ([[:File:{{{flag alias}}}]], shown on right)</td>
</tr></table>
{{#if: {{{var1|{{{flag alias-naval|}}}}}} |
===Flag variants===
{{#if:{{{flag link|}}} | {{details|{{{flag link}}}}} | {{#ifexist: Flag of {{{alias}}} | {{details|Flag of {{{alias}}}}} | }} }}
{{#ifeq:{{{variant|♦}}}|♦|{{red|Note: These variants cannot be used unless the line <code>{{!}} variant {{=}} {{(((}}variant{{!}}{{)))}}</code> is added to this template.}}}}
<table class="wikitable">
<tr><th>Label</th><th>Flag image (40px)</th><th>Image name</th></tr>
{{#if: {{{var1|}}} | <tr><td><code>{{{var1}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var1}}}}}}|40px|{{{border-{{{var1}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var1}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var2|}}} | <tr><td><code>{{{var2}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var2}}}}}}|40px|{{{border-{{{var2}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var2}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var3|}}} | <tr><td><code>{{{var3}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var3}}}}}}|40px|{{{border-{{{var3}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var3}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var4|}}} | <tr><td><code>{{{var4}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var4}}}}}}|40px|{{{border-{{{var4}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var4}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var5|}}} | <tr><td><code>{{{var5}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var5}}}}}}|40px|{{{border-{{{var5}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var5}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var6|}}} | <tr><td><code>{{{var6}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var6}}}}}}|40px|{{{border-{{{var6}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var6}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var7|}}} | <tr><td><code>{{{var7}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var7}}}}}}|40px|{{{border-{{{var7}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var7}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var8|}}} | <tr><td><code>{{{var8}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var8}}}}}}|40px|{{{border-{{{var8}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var8}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var9|}}} | <tr><td><code>{{{var9}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var9}}}}}}|40px|{{{border-{{{var9}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var9}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var10|}}} | <tr><td><code>{{{var10}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var10}}}}}}|40px|{{{border-{{{var10}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var10}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var11|}}} | <tr><td><code>{{{var11}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var11}}}}}}|40px|{{{border-{{{var11}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var11}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var12|}}} | <tr><td><code>{{{var12}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var12}}}}}}|40px|{{{border-{{{var12}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var12}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var13|}}} | <tr><td><code>{{{var13}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var13}}}}}}|40px|{{{border-{{{var13}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var13}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var14|}}} | <tr><td><code>{{{var14}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var14}}}}}}|40px|{{{border-{{{var14}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var14}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var15|}}} | <tr><td><code>{{{var15}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var15}}}}}}|40px|{{{border-{{{var15}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var15}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var16|}}} | <tr><td><code>{{{var16}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var16}}}}}}|40px|{{{border-{{{var16}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var16}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var17|}}} | <tr><td><code>{{{var17}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var17}}}}}}|40px|{{{border-{{{var17}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var17}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var18|}}} | <tr><td><code>{{{var18}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var18}}}}}}|40px|{{{border-{{{var18}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var18}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var19|}}} | <tr><td><code>{{{var19}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var19}}}}}}|40px|{{{border-{{{var19}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var19}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var20|}}} | <tr><td><code>{{{var20}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var20}}}}}}|40px|{{{border-{{{var20}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var20}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var21|}}} | <tr><td><code>{{{var21}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var21}}}}}}|40px|{{{border-{{{var21}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var21}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var22|}}} | <tr><td><code>{{{var22}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var22}}}}}}|40px|{{{border-{{{var22}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var22}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var23|}}} | <tr><td><code>{{{var23}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var23}}}}}}|40px|{{{border-{{{var23}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var23}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var24|}}} | <tr><td><code>{{{var24}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var24}}}}}}|40px|{{{border-{{{var24}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var24}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var25|}}} | <tr><td><code>{{{var25}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var25}}}}}}|40px|{{{border-{{{var25}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var25}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var26|}}} | <tr><td><code>{{{var26}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var26}}}}}}|40px|{{{border-{{{var26}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var26}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var27|}}} | <tr><td><code>{{{var27}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var27}}}}}}|40px|{{{border-{{{var27}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var27}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var28|}}} | <tr><td><code>{{{var28}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var28}}}}}}|40px|{{{border-{{{var28}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var28}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var29|}}} | <tr><td><code>{{{var29}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var29}}}}}}|40px|{{{border-{{{var29}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var29}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var30|}}} | <tr><td><code>{{{var30}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var30}}}}}}|40px|{{{border-{{{var30}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var30}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var31|}}} | <tr><td><code>{{{var31}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var31}}}}}}|40px|{{{border-{{{var31}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var31}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var32|}}} | <tr><td><code>{{{var32}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var32}}}}}}|40px|{{{border-{{{var32}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var32}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var33|}}} | <tr><td><code>{{{var33}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var33}}}}}}|40px|{{{border-{{{var33}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var33}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var34|}}} | <tr><td><code>{{{var34}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var34}}}}}}|40px|{{{border-{{{var34}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var34}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var35|}}} | <tr><td><code>{{{var35}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var35}}}}}}|40px|{{{border-{{{var35}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var35}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var36|}}} | <tr><td><code>{{{var36}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var36}}}}}}|40px|{{{border-{{{var36}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var36}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var37|}}} | <tr><td><code>{{{var37}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var37}}}}}}|40px|{{{border-{{{var37}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var37}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var38|}}} | <tr><td><code>{{{var38}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var38}}}}}}|40px|{{{border-{{{var38}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var38}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var39|}}} | <tr><td><code>{{{var39}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var39}}}}}}|40px|{{{border-{{{var39}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var39}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var40|}}} | <tr><td><code>{{{var40}}}</code></td><td style="text-align:center;">[[File:{{{flag alias-{{{var40}}}}}}|40px|{{{border-{{{var40}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var40}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-naval|}}} | <tr><td><code>naval</code></td><td style="text-align:center;">[[File:{{{flag alias-naval}}}|40px|{{{border-naval|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-naval}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-air force|}}} | <tr><td><code>air force</code></td><td style="text-align:center;">[[File:{{{flag alias-air force}}}|40px|{{{border-air force|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-air force}}}</code></td></tr> }}<!--
-->{{#if: {{{flag alias-army|}}} | <tr><td><code>army</code></td><td style="text-align:center;">[[File:{{{flag alias-army}}}|40px|{{{border-army|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-army}}}</code></td></tr> }}<!--
--></table>
}}
{{#if: {{{flag alias-naval|}}}{{{link alias-naval|}}}{{{flag alias-air force|}}}{{{link alias-air force|}}}{{{flag alias-army|}}}{{{link alias-army|}}} |
===Military ensigns===
{{#if: {{{flag alias-naval|}}} |
This template includes a naval ensign flag variant that can be used with [[Template:Navy]]:
* <code><nowiki>{{navy|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{navy|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|naval}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|naval}}
| {{#if: {{{link alias-naval|}}} |
This nation's naval ensign is the same as its national flag, so [[Template:Navy]] produces the following:
* <code><nowiki>{{navy|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{navy|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
}}}}
{{#if: {{{flag alias-air force|}}} |
This template includes an air force ensign flag variant that can be used with [[Template:Air force]]:
* <code><nowiki>{{air force|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{air force|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|air force}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|air force}}
| {{#if: {{{link alias-air force|}}} |
This nation's air force ensign is the same as its national flag, so [[Template:Air force]] produces the following:
* <code><nowiki>{{air force|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{air force|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
}}}}
{{#if: {{{flag alias-army|}}} |
This template includes an army ensign flag variant that can be used with [[Template:Army]]:
* <code><nowiki>{{army|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{army|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|army}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|army}}
| {{#if: {{{link alias-army|}}} |
This nation's army ensign is the same as its national flag, so [[Template:Army]] produces the following:
* <code><nowiki>{{army|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{army|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
}}}} }}
{{#if: {{{redir1|}}} |
===Redirect aliases===
This template can also be used via an ''alias'' name (implemented as a redirect to this template):<!--
--><table class="wikitable"><!--
--><tr><th>Alias name</th><th>{{tlx|flag|''alias''}} output</th><th>{{tlx|flagcountry|''alias''}} output</th></tr>
{{#if: {{{redir1|}}} | <tr><td><code>{{{redir1}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir1}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir1}}}}}</td><td>{{flagcountry|{{{redir1}}}}}</td></tr> }}<!--
-->{{#if: {{{redir2|}}} | <tr><td><code>{{{redir2}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir2}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir2}}}}}</td><td>{{flagcountry|{{{redir2}}}}}</td></tr> }}<!--
-->{{#if: {{{redir3|}}} | <tr><td><code>{{{redir3}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir3}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir3}}}}}</td><td>{{flagcountry|{{{redir3}}}}}</td></tr> }}<!--
-->{{#if: {{{redir4|}}} | <tr><td><code>{{{redir4}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir4}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir4}}}}}</td><td>{{flagcountry|{{{redir4}}}}}</td></tr> }}<!--
-->{{#if: {{{redir5|}}} | <tr><td><code>{{{redir5}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir5}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir5}}}}}</td><td>{{flagcountry|{{{redir5}}}}}</td></tr> }}<!--
--></table>
See [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAMEE}}|hidelinks=1&hidetrans=1}} What links here] for a full list of redirects.
}}
===Example usage===
* <code><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}<!--
-->{{#if: {{{shortname alias|}}} |
* <code><nowiki>{{flagcountry|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{flagcountry|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} }}
{{#if: {{{var1|}}} |
====Using a flag variant====
* <code><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}}
}}
{{#if: {{{redir1|}}} |
====Using a redirect alias====
* <code><nowiki>{{flagicon|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{redir1}}}}}
* <code><nowiki>{{flagcountry|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flagcountry|{{{redir1}}}}}
* <code><nowiki>{{flag|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flag|{{{redir1}}}}}
}}
{{#if: {{{related1|}}} |
===Related templates===
Please see the following related <code>country_data</code> templates:
* [[Template:Country data {{{related1}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related1}}}<!-- {{#if:{{{related1param|}}}|{{!}}{{{related1param}}}}} -->}}</span><!--
-->{{#if: {{{related2|}}} |
* [[Template:Country data {{{related2}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related2}}}<!-- {{#if:{{{related2param|}}}|{{!}}{{{related2param}}}}} -->}}</span> }}<!--
-->{{#if: {{{related3|}}} |
* [[Template:Country data {{{related3}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related3}}}<!-- {{#if:{{{related3param|}}}|{{!}}{{{related3param}}}}} -->}}</span> }}<!--
-->{{#if: {{{related4|}}} |
* [[Template:Country data {{{related4}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related4}}}<!-- {{#if:{{{related4param|}}}|{{!}}{{{related4param}}}}} -->}}</span> }}<!--
-->{{#if: {{{related5|}}} |
* [[Template:Country data {{{related5}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related5}}}<!-- {{#if:{{{related5param|}}}|{{!}}{{{related5param}}}}} -->}}</span> }}<!--
-->{{#if: {{{related6|}}} |
* [[Template:Country data {{{related6}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related6}}}<!-- {{#if:{{{related6param|}}}|{{!}}{{{related6param}}}}} -->}}</span> }}<!--
-->}}
{{#ifexist:{{FULLPAGENAME}}/doc |
{{#if:{{Suppress categories|{{{{FULLPAGENAME}}/doc}}}}|
===Other information===
}}
{{{{FULLPAGENAME}}/doc|alias={{{alias|}}}|cat={{{cat|}}}}}
}}
===TemplateData===
{{TemplateDataHeader}}
<templatedata>
{
"description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
"params": {}
}
</templatedata>
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--
-->{{#ifeq:{{SUBPAGENAME}}|sandbox|<!--
-->[[Category:Country data template sandboxes|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]|<!--
-->{{#ifexist:{{FULLPAGENAME}}/doc|<!--
-->[[Category:Country data templates with documentation subpage|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]|<!--
-->[[Category:Uncategorized country data templates|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->}}<!--
-->{{#if:{{{size|}}}|[[Category:Country data templates with distinct default size|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->}}<!--
-->[[Category:All country data templates|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->{{#if:{{{shortname alias|}}}|<!--
-->[[Category:Country data templates with distinct shortname|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->}}<!--
-->{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}||<!--
-->{{#ifeq:{{PAGENAME}}|Country data {{{shortname alias}}}||<!--
-->[[Category:Country data templates with distinct template name|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!--
-->}}<!--
-->}}<!--
-->{{#if:{{{flag alias|}}}||<!--
-->[[Category:Country data templates without flag alias|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}]]<!--
-->}}<!--
-->}}<!--
-->}}
|link box=This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]].<br />Please {{purge|purge the cache}} after making any changes to this template.<!--
-->{{#ifexist:{{FULLPAGENAME}}/doc|<!--
--><br />This template has a [[{{FULLPAGENAME}}/doc|/doc]] subpage for the purposes of [[WP:CAT|categories]] and documentation specific to this template.|<!--
-->{{#switch:{{PROTECTIONLEVEL:edit}}|sysop|templateeditor=<!--
--><br />This template is [[WP:PROTECT|{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|fully protected|template-protected}}]] and any [[WP:CAT|categories]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Country_showdata/preload}} /doc] subpage, which is not protected.|#default=<!--
--><br />Any [[WP:CAT|categories]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Country_showdata/preload}} /doc] subpage, which does not exist yet.<!--
-->}}<!--
-->}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
e135e0b2962b78763ae5faebfadca0f79d55e79d
Template:Country data
10
261
509
508
2021-01-05T17:32:59Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1}}} | alias = | flag alias = Flag placeholder.svg | name = {{{name|}}} | size = {{{size|}}} | border= | altlink = {{{altlink|}}} }}<noinclude>
{{documentation}}
</noinclude>
d0254fb8a3f3540f83135792795b20fda69d4c29
Template:Flagicon
10
262
511
510
2021-01-05T17:32:59Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{country data {{{1|}}}|flagicon/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude>{{documentation}}</noinclude>
74a3826d1574448ef4718b6b6587fb47ad967e60
Template:Flagicon/core
10
263
513
512
2021-01-05T17:32:59Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt={{{alias}}}|link={{{alias}}}]]</span><noinclude>{{documentation}}</noinclude>
4e99548c86b2f66f188a087b5f968a8b5679c881
Template:Flag
10
264
515
514
2021-01-05T17:33:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{country data {{{1|}}}|flag/core|name={{{name|{{{1|}}}}}}|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude>{{documentation}}</noinclude>
d13aac8e23bee030a6fc9b49a8aa1135104ace22
Template:Flag/core
10
265
517
516
2021-01-05T17:33:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]] {{#ifeq:{{{size}}}|23x16px| }}{{#ifeq:{{{alias}}}|Nepal| }}</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude>
c8210dc8b9b4298a5c5ed98d56ddb436db5e7688
Template:Country flag2
10
266
519
518
2021-01-05T17:33:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Flag/core]]
750d89b534d572aec0ea1072dc21d52d77fdd7c0
Template:Regions of France
10
267
521
520
2021-01-05T17:33:00Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox with collapsible groups
| name = Regions of France
| title = [[Regions of France|Administrative regions of France]]
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| group1 =
| list1 = {{Navbox|child
|title = Current administrative regions (since 2016)
|state = {{#ifeq:{{{1|}}}|current|uncollapsed|collapsed}}
|titlestyle = background#
|groupstyle = background:lavender;
|group1 = [[Metropolitan France|Metropolitan regions]]
|list1 =
* [[Auvergne-Rhône-Alpes]]
* [[Bourgogne-Franche-Comté]]
* [[Brittany (administrative region)|Brittany]]
* [[Centre-Val de Loire]]
* [[Corsica]]
* [[Grand Est]]
* [[Hauts-de-France]]
* [[Île-de-France]]
* [[Normandy]]
* [[Nouvelle-Aquitaine]]
* [[Occitanie]]
* [[Pays de la Loire]]
* [[Provence-Alpes-Côte d'Azur]]
|group2 = [[Overseas regions]]
|list2 =
* [[French Guiana]]
* [[Guadeloupe]]
* [[Martinique]]
* [[Mayotte]]
* [[Réunion]]
}}
| list2 = {{Navbox|child
|title = Former administrative regions (1982–2015)
|state = {{#ifeq:{{{1|}}}|former|uncollapsed|collapsed}}
|titlestyle = background#
|groupstyle = background:lavender;
|group1 = [[Metropolitan France|Metropolitan regions]]
|list1 =
* [[Alsace]]
* [[Aquitaine]]
* [[Auvergne]]
* [[Burgundy]]
* [[Brittany (administrative region)|Brittany]]
* [[Centre-Val de Loire]]
* [[Champagne-Ardenne]]
* [[Corsica]]
* [[Franche-Comté]]
* [[Île-de-France]]
* [[Languedoc-Roussillon]]
* [[Limousin]]
* [[Lorraine]]
* [[Midi-Pyrénées]]
* [[Nord-Pas-de-Calais]]
* [[Lower Normandy]]
* [[Upper Normandy]]
* [[Pays de la Loire]]
* [[Picardy]]
* [[Poitou-Charentes]]
* [[Provence-Alpes-Côte d'Azur]]
* [[Rhône-Alpes]]
|group2 = [[Overseas regions]]
|list2 =
* [[French Guiana]]
* [[Guadeloupe]]
* [[Martinique]]
* [[Mayotte]]
* [[Réunion]]
}}
}}<noinclude>
{{documentation}}
</noinclude>
e161a6870c4d972275b967d938f94f9fe6fca46e
Template:Country data Alsace
10
268
523
522
2021-01-05T17:33:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = Alsace
| flag alias = Flag of Alsace.svg
| flag alias-traditional = Flag of Alsace (historical).svg
| flag alias-free = Flag of the Republic of Alsace-Lorraine.svg
| size = {{{size|}}}
| name = {{{name|}}}
| altlink = {{{altlink}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = traditional
| var2 = free
</noinclude>
}}<noinclude>
</noinclude>
03492b0ecd50012898ef414e5cf681d5965a78af
Template:Country data Lorraine
10
269
525
524
2021-01-05T17:33:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = Lorraine (region)
| shortname alias = Lorraine
| flag alias = Lorraine.svg
| size = {{{size|}}}
| name = {{{name|}}}
}}
33a035e26cbac0a27653f179098800ed486374df
Template:Countries of Europe
10
270
527
526
2021-01-05T17:33:01Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:Sovereign states of Europe]]
6ab8da398d1de55ec2c633aa3366ace644f7fad4
Template:Sovereign states of Europe
10
271
529
528
2021-01-05T17:33:02Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Sovereign states of Europe
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| title = {{flagicon image|Flag of Europe.svg|size=23px}} [[List of sovereign states and dependent territories in Europe|Sovereign states and dependencies of Europe]]
| imagestyle = padding:0 0.5em;
| image = [[File:Europe orthographic Caucasus Urals boundary (with borders).svg|100px|link=Europe]]
| listclass = hlist
| group1 = [[List of sovereign states|Sovereign states]]
| list1 =
* [[Albania]]
* [[Andorra]]
* [[Armenia]]{{sup|2}}
* [[Austria]]
* [[Azerbaijan]]
* [[Belarus]]
* [[Belgium]]
* [[Bosnia and Herzegovina]]
* [[Bulgaria]]
* [[Croatia]]
* [[Cyprus]]{{sup|2}}
* [[Czech Republic]]
* [[Denmark]]
* [[Estonia]]
* [[Finland]]
* [[France]]
* [[Georgia (country)|Georgia]]
* [[Germany]]
* [[Greece]]
* [[Hungary]]
* [[Iceland]]{{sup|1}}
* [[Republic of Ireland|Ireland]]
* [[Italy]]
* [[Kazakhstan]]
* [[Latvia]]
* [[Liechtenstein]]
* [[Lithuania]]
* [[Luxembourg]]
* [[Republic of Macedonia|Macedonia]]
* [[Malta]]
* [[Moldova]]
* [[Monaco]]
* [[Montenegro]]
* [[Kingdom of the Netherlands|Netherlands]]
* [[Norway]]
* [[Poland]]
* [[Portugal]]
* [[Romania]]
* [[Russia]]
* [[San Marino]]
* [[Serbia]]
* [[Slovakia]]
* [[Slovenia]]
* [[Spain]]
* [[Sweden]]
* [[Switzerland]]
* [[Turkey]]
* [[Ukraine]]
* [[United Kingdom]]
* [[Vatican City]]
| group2 = {{longitem|[[List of states with limited recognition|States with limited<br/>recognition]]}}
| list2 =
* [[Abkhazia]]{{sup|2}}
* [[Kosovo]]
* [[Nagorno-Karabakh Republic|Nagorno-Karabakh]]{{sup|2}}
* [[Northern Cyprus]]{{sup|2}}
* [[South Ossetia]]{{sup|2}}
* [[Transnistria]]
| group3 = {{longitem|[[Dependent territory|Dependencies]]}}
| list3 = {{Navbox|child
| group1 = Denmark
| list1 =
* [[Faroe Islands]]{{sup|1}}
** {{smaller|[[Denmark#Greenland and the Faroe Islands|autonomous country of the Kingdom of Denmark]]}}
| group2 = United Kingdom
| list2 =
* [[Akrotiri and Dhekelia]]{{sup|2}}
** {{smaller|Sovereign Base Areas}}
* [[Gibraltar]]
** {{smaller|[[British Overseas Territories|British Overseas Territory]]}}
* [[Guernsey]]
* [[Isle of Man]]
*[[Jersey]]
** {{smaller|[[Crown dependencies]]}}
}}
| group4 = {{longitem|Special areas of<br/>internal sovereignty}}<!--These are considered integral parts of their controlling state, but have a political arrangement which was decided through an international agreement.-->
| list4 = {{Navbox|child
| group1 = Finland
| list1 =
* [[Åland Islands]]
** {{smaller|[[autonomous administrative division|autonomous region]] subject to the [[Åland convention|Åland Convention of 1921]]}}
| group2 = Norway
| list2 =
*[[Svalbard]]
** {{smaller|[[unincorporated area]] subject to the [[Svalbard Treaty]]}}
| group3 = United Kingdom
| list3 =
* [[Northern Ireland]]
** {{smaller|[[Countries of the United Kingdom|country of the United Kingdom]] subject to the [[Good Friday Agreement|British-Irish Agreement]]}}
}}
| belowstyle = text-align:left;
| below =
{{ubl
|{{sup|1}} [[Island#Oceanic islands|Oceanic islands]] within the vicinity of Europe are usually grouped with the continent even though they are not situated on its continental shelf.
|{{sup|2}} Some countries completely outside the conventional geographical boundaries of Europe are commonly associated with the continent due to ethnological links.
}}
}}<noinclude>
{{documentation}}
</noinclude>
96c926d3d5324f79369b5b6db3179d2a2447e4ce
Template:Administrative divisions of Spain
10
272
531
530
2021-01-05T17:33:02Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{navbox
| name = Administrative divisions of Spain
| title = [[Autonomous communities of Spain|Autonomies]] of [[Spain]]
| listclass = hlist
| image = [[File:Flag of Spain.svg|64px|Flag of Spain]]
| group1 = [[Autonomous communities of Spain|Autonomous communities]]
| list1 =
* [[Andalusia]]
* [[Aragon]]
* [[Asturias]]
* [[Balearic Islands]]
* [[Basque Country (autonomous community)|Basque Country]]
* [[Canary Islands]]
* [[Cantabria]]
* [[Castile–La Mancha]]
* [[Castile and León]]
* [[Catalonia]]
* [[Extremadura]]
* [[Galicia (Spain)|Galicia]]
* [[La Rioja (Spain)|La Rioja]]
* [[Community of Madrid]]
* [[Region of Murcia]]
* [[Navarre]]
* [[Valencian Community]]
| group2 = [[Autonomous cities of Spain|Autonomous cities]]
| list2 =
* [[Ceuta]]
* [[Melilla]]
| group3 = ''[[Plazas de soberanía]]''
| list3 =
* [[Chafarinas Islands|Islas Chafarinas]]
* [[Peñón de Alhucemas]]
* [[Peñón de Vélez de la Gomera]]
}}<noinclude>
[[fr:Modèle:Palette Communautés autonomes d'Espagne]]
</noinclude>
cffa3b4a9357b6865096cffd019e3f191e51d16b
Template:Countries of the Americas
10
273
533
532
2021-01-05T17:33:03Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
|name = Countries of the Americas
| bodyclass = hlist
|title = Countries and territories of the [[Americas]]
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
|image = [[Image:LocationAmericas.png|100px|Americas]]
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; <!--reduces wide gap between wrapped groupname lines-->
|group1 = [[List of sovereign states|Sovereign states]]
|list1style = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
|list1 =
* [[Antigua and Barbuda]]
* [[Argentina]]
* [[Bahamas]]
* [[Barbados]]
* [[Belize]]
* [[Bolivia]]
* [[Brazil]]
* [[Canada]]
* [[Chile]]
* [[Colombia]]
* [[Costa Rica]]
* [[Cuba]]
* [[Dominica]]
* [[Dominican Republic]]
* [[Ecuador]]
* [[El Salvador]]
* [[Grenada]]
* [[Guatemala]]
* [[Guyana]]
* [[Haiti]]
* [[Honduras]]
* [[Jamaica]]
* [[Mexico]]
* [[Nicaragua]]
* [[Panama]]
* [[Paraguay]]
* [[Peru]]
* [[Saint Kitts and Nevis|St. Kitts and Nevis]]
* [[Saint Lucia|St. Lucia]]
* [[Saint Vincent and the Grenadines|St. Vincent and the Grenadines]]
* [[Suriname]]
* [[Trinidad and Tobago]]
* [[United States]]
* [[Uruguay]]
* [[Venezuela]]
|group2 = [[Dependent territory|Dependencies]] and<br/>other [[Territory (country subdivision)|territories]]
|liststyle = background:transparent;<!--subgroups in use-->
|list2 =
{{Navbox subgroups
|groupstyle = font-weight:normal;
|liststyle = padding:0.15em 0; line-height:1.4em; <!--as above-->
|evenodd = swap
|group1 = [[Denmark]]
|list1 = [[Greenland]]
|group2 = [[France]]
|list2 =
* [[French Guiana]]
* [[Guadeloupe]]{{.w}} [[Martinique]]{{.w}}
[[Saint Barthélemy|St. Barthélemy]]{{.w}}
[[Saint Martin (France)|St. Martin]]{{.w}} [[Saint Pierre and Miquelon|St. Pierre and Miquelon]]
|group3 = [[Kingdom of the Netherlands|Netherlands]]
|list3 = {{nowrap begin}} [[Aruba]]{{.w}} [[Netherlands Antilles]] {{nowrap end}}
|group4 = [[United Kingdom]]
|list4 =
*[[Anguilla]]{{.w}} [[Bermuda]]{{.w}}
*[[British Virgin Islands]]{{.w}}
*[[Cayman Islands]]{{.w}} [[Falkland Islands]]{{.w}} [[Montserrat]]{{.w}} [[South Georgia and the South Sandwich Islands]]{{.w}} [[Turks and Caicos Islands]]
|group5 = [[United States]]
|list5 =
* [[Navassa Island]]{{.w}} [[Petrel Islands]]{{.w}}
*[[Puerto Rico]]{{.w}}[[Serranilla Bank]]{{.w}}[[United States Virgin Islands|U.S. Virgin Islands]]
}}
}}<noinclude>
[[Category:Americas templates|Countries]]
[[fr:Modèle:Pays d'Amérique]]
</noinclude>
60ef225b1cc392ff1672211efcb0a59aaeebbb1e
Template:Countries of North America
10
274
535
534
2021-01-05T17:33:03Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Countries of North America
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| title = [[List of sovereign states and dependent territories in North America|Countries and dependencies]] of [[North America]]
| imagestyle = padding:0 1.0em 0 0.5em;
| image = [[File:Location North America.svg|120px|link=North America]]
| group1 = [[Sovereign state]]s
| list1 =
{{Navbox |child |groupstyle=font-weight:normal;
| group1 = Entire
| list1 =
* [[Antigua and Barbuda]]
* [[The Bahamas|Bahamas]]
* [[Barbados]]
* [[Belize]]
* [[Canada]]
* [[Costa Rica]]
* [[Cuba]]
* [[Dominica]]
* [[Dominican Republic]]
* [[El Salvador]]
* [[Grenada]]
* [[Guatemala]]
* [[Haiti]]
* [[Honduras]]
* [[Jamaica]]
* [[Mexico]]
* [[Nicaragua]]
* [[Panama]]
* [[Saint Kitts and Nevis|St. Kitts and Nevis]]
* [[Saint Lucia]]
* [[Saint Vincent and the Grenadines|St. Vincent and the Grenadines]]
* [[Trinidad and Tobago]]
* [[United States]]
| group2 = In part
| list2 =
* [[Colombia]]
** {{smaller|[[Archipelago of San Andrés, Providencia and Santa Catalina|San Andrés and Providencia]]}}
* [[France]]
** {{smaller|[[Guadeloupe]]
** [[Martinique]]}}
* [[Netherlands]]
** {{smaller|[[Bonaire]]
** [[Saba]]
** [[Sint Eustatius]]}}
* [[Venezuela]]
** {{smaller|[[Nueva Esparta]]}}
}}
<!---group2 omitted to maintain alternating list backgrounds--->
| group3 = [[Dependent territory|Dependencies]]
| list3 =
{{Navbox |child |groupstyle=font-weight:normal;
| group1 = Denmark
| list1 =
* [[Greenland]]
| group2 = France
| list2 =
* [[Clipperton Island]]
* [[Saint Barthélemy|St. Barthélemy]]
* [[Collectivity of Saint Martin|St. Martin]]
* [[Saint Pierre and Miquelon|St. Pierre and Miquelon]]
| group3 = Netherlands
| list3 =
* [[Aruba]]
* [[Curaçao]]
* [[Sint Maarten]]
| group4 = United Kingdom
| list4 =
* [[Anguilla]]
* [[Bermuda]]
* [[British Virgin Islands]]
* [[Cayman Islands]]
* [[Montserrat]]
* [[Turks and Caicos Islands]]
| group5 = United States
| list5 =
* [[Navassa Island]]
* [[Puerto Rico]]
* [[United States Virgin Islands]]
| group6 = Venezuela
| list6 = [[Federal Dependencies of Venezuela|Federal Dependencies]]
}}
}}<noinclude>
{{documentation}}
<!-- Please add meteadata to the <includeonly> section at the bottom of the /doc subpage -->
</noinclude>
121cd39b624346baa09fbf313fedc4ad2c2bc21b
Template:United States topic/doc
10
275
537
536
2021-01-05T17:33:04Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{Intricate template}}
<!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE. EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE--->
{{High-use|4200+}}
{{Distinguish|Template:United States topics}}
This template allows for the quick creation of a [[WP:Navigation template|navigational template]] for any group of articles which contains the names of the [[U.S. state]]s. It uses {{tlx|Navbox}} to create the navigation box.
==Blank syntax==
<pre>
{{United States topic
<!--passed through to Template:Navbox-->
|name =
|state =
|title =
|titlestyle =
|bodystyle =
|groupstyle =
<!--specific to Template:United States topic-->
|prefix =
|suffix =
|exclude-wdc =
| exclude-ter =
|exclude-isl =
}}
</pre>
==Parameters==
===Mandatory===
; ''name''
: Mandatory when creating a new template (i.e. [[Template:Hospitals in the United States]]), otherwise the "view{{·}} talk{{·}} edit" links will connect to [[Template:United States topic]]. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut.
''One of the following combinations is needed to create the links:
; ''prefix''
: Text to be placed before the U.S. state name. The prefix text is always followed by a space. For example: '''<code><span style="white-space:nowrap;">prefix = List of airports in</span></code>''' would create a title [[List of airports in the United States]] and a body containing state names linked to [[List of airports in Alabama]], [[List of airports in Alaska]], etc.
: Note: In instances when only ''prefix'' is specified, the template inserts "the" between the prefix text and "United States", creating the title [[List of airports in the United States]] instead of [[List of airports in United States]]. In the body it does the same for the [[Northern Mariana Islands]] and the [[United States Virgin Islands]].
; ''suffix''
: Places text after the U.S. state name. For example: '''<code><span style="white-space:nowrap;">suffix = _National Guard</span></code>''' would create a title [[United States National Guard]] and a body containing state names linked to [[Alabama National Guard]], [[Arizona National Guard]], etc.
: Note: An [[underscore]] is used in place of the leading space in the suffix. This is done to allow the use of suffixes without a leading space, as in the following example. A title should be specified to avoid the underscore appearing in the title.
; ''prefix'' {{nobold|and}} ''suffix''
: Places text before and after the U.S. state name. For example: '''<code><span style="white-space:nowrap;">prefix = Index of</span></code>''' and '''<code><span style="white-space:nowrap;">suffix = -related articles</span></code>''' would create a title [[Index of United States-related articles]] and a body containing state names linked to [[Index of Alabama-related articles]], [[Index of Alaska-related articles]], etc.
===Optional===
; ''state''
: {{collapsible option}}
; ''title''
: Text that appears centered in the titlebar (the top bar). This is optional because the use of either ''prefix'', ''suffix'' or both will automatically generate a title if the ''title'' parameter is not supplied. This parameter is not automatically [[wikitext|wiki-link]]ed. For example: <code><span style="white-space:nowrap;"><nowiki>title = [[List of rivers of the United States|Rivers in the United States]]</nowiki></span></code> generates the title '''[[List of rivers of the United States|Rivers in the United States]]'''.
; ''navbar''<nowiki>*</nowiki>
: Defaults to <code>Tnavbar</code>. If set to <code>plain</code>, the <small>v • d • e</small> links on the left side of the titlebar will not be displayed, and padding will be automatically used to keep the title centered. Use <code>off</code> to remove the <small>v • d • e</small> links, but not apply padding (this is for advanced use only; the "plain" option should suffice for most applications where a navbar is not desired). Note that it is highly recommended that one does not hide the navbar, in order to make it easier for users to edit the template, and to keep a standard style across pages.
====Excluding groups====
In some instances the District of Columbia, U.S. Territories (Insular Areas) or U.S. Minor Outlying Islands may not be relevant to or have their own articles on a particular topic. To disable their inclusion in the template and avoid unnecessary [[WP:Red link|red link]]s, add any or all of the following parameters:
; ''exclude-wdc''
: Set to any value this excludes display of the group named ''Federal District'' which links to [[Washington, D.C.]].
; ''exclude-ter''
: Set to any value this excludes display of the group named ''Territories (Insular Areas)'' which links to [[American Samoa]], [[Guam]], etc.
; ''exclude-isl''
: Set to any value this excludes display of the group named ''Outlying Islands'' which links to [[Baker Island]], [[Howland Island]], etc. '''Note:''' even if ''exclude-isl'' is '''not''' set, links will not appear for pages that do not exist. If none of the pages in this group exist, the heading for the group will not appear either.
====Adding groups and lists====
Some templates may require a list of links not already included in the template. These can be specified as follows:
; ''group5''
: Header text displayed in cell to left of text specified in ''list5''.
; ''list5''
: Text or a list of links that is displayed below the state and territory links.
; ''group6''
: Header text displayed in cell to left of text specified in ''list6''.
; ''list6''
: Text or a list of links that is displayed below the state and territory links.
; ''above''
: A full-width cell (no group header) displayed ''above'' the template's body (between the title and U.S. state links).
; ''below''
: A full-width cell (no group header) displayed ''below'' the template's body.
====Change state name used in link====
By default this template uses "[[Georgia (U.S. state)]]" for the state of Georgia, "[[New York (state)]]" for the state of New York, and "[[Washington (state)]]" for the state of Washington. Links for the District of Columbia use "[[Washington, D.C.]]"
The following parameters allow for substitution where the article name does not use the default.
; ''GA''
: Replace "Georgia (U.S. state)" in links with specified text, i.e. "Georgia".
:: <code>|GA = Georgia</code>
; ''NY''
: Replace "New York (state)" in links with specified text, i.e. "New York".
:: <code>|NY = New York</code>
; ''WA''
: Replace "Washington (state)" in links with specified text, i.e. "Washington".
:: <code>|WA = Washington</code>
; ''DC''
: Replace "Washington, D.C." in links with specified text, i.e. "District of Columbia" or "the District of Columbia".
:: <code>|DC = District of Columbia</code>
====Styles====
; ''titlestyle''
: Specifies [[Cascading Style Sheets|CSS]] values to apply to the title. One use of this is to set the background color of the title:
:: <code>titlestyle = background: #0000FF;</code>
:: <code>titlestyle = background: blue;</code>
:Default is: <code><span style="background: #ccccff;">background: #ccccff;</span></code>
; ''bodystyle''
: Specifies CSS values to apply to the entire template. This will not override the following {{tl|Navbox}} default styles:
:: <code>abovestyle = background:#ddddff;</code>
:: <code>belowstyle = background:#ddddff;</code>
:: <code>groupstyle = background:#ddddff; text-align:right; white-space:nowrap;</code>
:: <code>liststyle = width:100%; font-size:95%;</code>
; ''abovestyle''
; ''belowstyle''
: Specifies CSS values to apply to the cell specified via the ''above'' and ''below'' parameters. For instance:
:: <code>belowstyle = border-top: #ccccff 1px solid;</code>
:Default is: <code><span style="background: #ddddff;">background: #ddddff;</span></code>
; ''groupstyle''
: Specifies CSS values to apply to the cells specified via the ''group<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Example:
:: <code>groupstyle = background:#6AFB92; vertical-align:top;</code>
:Default is: <code><span style="background: #ddddff;">background: #ddddff;</span> text-align:right; white-space:nowrap;</code>
; ''liststyle''
: Specifies CSS values to apply to the cells specified via the ''list<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Examples:
:: <code>liststyle = padding: 5px 10px 5px 10px;</code>
:Default is: <code>width:100%; font-size:95%;</code>
==Examples==
===Changing the navbox title===
<pre>
{{United States topic
|title = [[History of the United States]] by polity
|prefix = History of
|NY = New York
}}
</pre>
{{United States topic
|state = uncollapsed
|title = [[History of the United States]] by polity
|prefix = History of
|NY = New York
}}
===Excluding display of federal district and minor outlying islands===
This example also shows the use of the '''titlestyle''' to change the background color and the '''groupstyle''' parameters to change the background color and vertical alignment of text.
<pre>
{{United States topic
|title = [[List of airports in the United States|Airports in the United States]]
|titlestyle = background: #64E986;
|groupstyle = background: #6AFB92; vertical-align: top;
|prefix = List of airports in
|exclude-wdc = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}
</pre>
{{United States topic
|state = uncollapsed
|title = [[List of airports in the United States|Airports in the United States]]
|titlestyle = background: #64E986;
|groupstyle = background: #6AFB92; vertical-align: top;
|prefix = List of airports in
|exclude-wdc = y
|exclude-isl = y
|WA = Washington
|NY = New York
}}
===Adding suffix without leading space===
This example also shows the use of the '''liststyle''' parameter to add some extra padding around the list, the '''group1''' parameter to remove the "States" heading, and the '''WA''' parameter to change link from "Washington (state)" to "Washington".
<pre>
{{United States topic
|liststyle = padding: 5px 10px 5px 10px;
|group1 =
|prefix = Index of
|suffix = -related articles
|exclude-wdc = y
|exclude-ter = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}
</pre>
{{United States topic
|state = uncollapsed
|liststyle = padding: 5px 10px 5px 10px;
|group1 =
|prefix = Index of
|suffix = -related articles
|exclude-wdc = y
|exclude-ter = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}
===Adding suffix with leading space===
Note the use of an [[underscore]] in place of the leading space in the suffix. This is done to accommodate the use of suffixes without a leading space, as in the previous example. A title should be specified to avoid the underscore appearing in the title. This example also uses the '''DC''' parameter to change link from "Washington, D.C." to "District of Columbia".<!-- This is a bad example, as there is no article called "List of X rivers" for any of the 50 states; the lists all have a title of the form "List of rivers of X", and don't use the suffix parameter. As a result, this example has links to redirects instead of articles. -->
<pre>
{{United States topic
|title = [[List of rivers of the United States|Rivers in the United States]]
|prefix = List of
|suffix = _rivers
|exclude-isl = y
|DC = District of Columbia
|NY = New York
|WA = Washington
}}
</pre>
{{United States topic
|state = uncollapsed
|title = [[List of rivers of the United States|Rivers in the United States]]
|prefix = List of
|suffix = _rivers
|exclude-isl = y
|DC = District of Columbia
|NY = New York
|WA = Washington
}}
===Using a suffix without a prefix===
This example also shows use of the '''group5''' and '''list5''' parameters to add a group and list.
<pre style="overflow:auto;">
{{United States topic
<!--passed through to Template: Navbox -->
|title = [[National Guard of the United States]]
|group5 = Other
|list5 =
*[[District of Columbia National Guard|District of Columbia]]
*[[Puerto Rico National Guard|Puerto Rico]]
*[[Virgin Islands National Guard|U.S. Virgin Islands]]
<!-- specific to Template: United States topic -->
|suffix = _National Guard
|exclude-wdc = y
|exclude-ter = y
|exclude-isl = y
|GA = Georgia
|NY = New York
|WA = Washington
</pre>
{{United States topic
<!--passed through to Template: Navbox -->
|state = uncollapsed
|title = [[National Guard of the United States|National Guard]] in the [[United States]]
|group5 = Other
|list5 =
*[[District of Columbia National Guard|District of Columbia]]
*[[Puerto Rico National Guard|Puerto Rico]]
*[[Virgin Islands National Guard|U.S. Virgin Islands]]
<!-- specific to Template: United States topic -->
|suffix = _National Guard
|exclude-wdc = y
|exclude-ter = y
|exclude-isl = y
|GA = Georgia
|NY = New York
|WA = Washington
}}
===Creating a new template===
Code used to create [[Template:Hospitals in the United States]]:
<pre>
{{United States topic
<!--passed through to Template:Navbox-->
|name = {{subst:PAGENAME}}
|title = [[List of hospitals in the United States|Hospitals in the United States]]
<!--specific to Template:United States topic-->
|prefix = List of hospitals in
|exclude-ter = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}<noinclude>
[[Category:United States topic navigational boxes]]
</noinclude>
</pre>
Note: '''<nowiki>{{subst:PAGENAME}}</nowiki>''' in the above example would be replaced by '''Hospitals in the United States''' when this code is saved in [[Template:Hospitals in the United States]].
Result:
{{United States topic
|name = Hospitals in the United States
|title = [[List of hospitals in the United States|Hospitals in the United States]]
|state = uncollapsed
|prefix = List of hospitals in
|exclude-ter = y
|exclude-isl = y
|NY = New York
|WA = Washington
}}
==Templates implemented with United States topic==
# [[Template:Alcohol laws of the United States]]
# [[Template:Alcohol Policy in the United States]] (only by transclusion of Template:Alcohol laws of the United States)
# [[Template:American wine]]
# [[Template:CAP]]
# [[Template:ClimateUS]]
# [[Template:Constitutions of the United States]]
# [[Template:CrimeUS]]
# [[Template:Flora of the United States by political division]]
# [[Template:Geology of the United States by political division]]
# [[Template:Governments of the United States]]
# [[Template:Grand Lodges in the United States]]
# [[Template:High schools in the United States]]
# [[Template:History of slavery in the United States]]
# [[Template:Hospitals in the United States]]
# [[Template:Judiciaries of the United States]]
# [[Template:Lakes in the United States]]
# [[Template:Law enforcement agencies of the United States by state]]
# [[Template:Law of the United States by state]]
# [[Template:LGBT history in the United States]]
# [[Template:Lists of amphibians by U.S. state]]
# [[Template:Lists of casinos by U.S. state]]
# [[Template:Lists of colleges and universities in the United States]]
# [[Template:Lists of companies by U.S. state]]
# [[Template:Lists of festivals by U.S. state]]
# [[Template:Lists of fossiliferous stratigraphic units in the United States]]
# [[Template:Lists of ghost towns by U.S. state]]
# [[Template:Lists of islands by U.S. state]]
# [[Template:Lists of lieutenant governors by U.S. state]]
# [[Template:Lists of mammals by U.S. state]]
# [[Template:Lists of mines in the United States]]
# [[Template:Lists of people by U.S. state]]
# [[Template:Lists of professional sports teams by U.S. state]]
# [[Template:Lists of reptiles by U.S. state]]
# [[Template:Lists of shopping malls by U.S. state]]
# [[Template:Lists of state forests by U.S. state]]
# [[Template:Lists of state parks by U.S. state]]
# [[Template:Lists of United States airports]]
# [[Template:Lists of United States breweries]]
# [[Template:Lists of unused highways by U.S. state]]
# [[Template:Lists of US state agencies]]
# [[Template:Mountains of U.S. political divisions]]
# [[Template:Newspapers in the United States]]
# [[Template:Paleontology in the United States]]
# [[Template:Political party strength in U.S. states]]
# [[Template:Politics in the United States]]
# [[Template:Politics of the United States sidebar templates]]
# [[Template:Protected areas of the United States]]
# [[Template:Rivers in the United States]]
# [[Template:Scouting in the United States]]
# [[Template:Statutory codes of the United States by U.S. state]]
# [[Template:Superfund sites in the United States]]
# [[Template:Time in the United States]]
# [[Template:U.S. Counties]]
# [[Template:U.S. political divisions county courthouses]]
# [[Template:U.S. political divisions drug policy]]
# [[Template:U.S. political divisions education]]
# [[Template:U.S. political divisions electoral reform]]
# [[Template:U.S. political divisions geographies]]
# [[Template:U.S. political divisions histories]]
# [[Template:U.S. political divisions transportation]]
# [[Template:U.S. state templates]]
# [[Template:United States political divisions]]
# [[Template:United States school districts]]
# [[Template:US canals]]
# [[Template:US indexes]]
# [[Template:US outlines]]
# [[Template:US state flags]]
# [[Template:US state seals]]
# [[Template:Vehicle registration plates of the United States]]
; Formerly implemented with United States topic
# [[Template:LGBT rights in the United States]]
# [[Template:Lighthouses in the United States]]
# [[Template:Museums in the US]]
# [[Template:Lists of settlements by U.S. state]]
# [[Template:Air National Guard]]
# [[Template:US National Guard by state]]
==See also==
{{Continent-based templates|state=expanded}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:United States topic navigational boxes| ]]
[[Category:Configurable area-topic templates]]
}}</includeonly>
d003cdaa1788ac3f9d4e444d2ba223b72e6a9320
Template:United States topic
10
276
539
538
2021-01-05T17:33:05Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = {{{name|United States topic}}}
| title = {{#if:{{{title|}}} | {{{title}}} | [[{{{prefix|}}} {{#if:{{{prefix|}}} |{{#if:{{{suffix|}}} | |the}} }} United States{{{suffix|}}}]] }}
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| navbar = {{{navbar|Tnavbar}}}
| image = {{{image|}}}
| titlestyle = {{{titlestyle|}}}
| bodystyle = {{{bodystyle|}}}
| abovestyle = {{{abovestyle|}}}
| belowstyle = {{{belowstyle|}}}
| groupstyle = {{{groupstyle|}}}
| bodyclass = hlist
| above = {{{above|}}}
| group1 = {{{group1|[[U.S. state|States]]}}}
| list1 =
* [[{{{prefix|}}} Alabama{{{suffix|}}}|Alabama]]
* [[{{{prefix|}}} Alaska{{{suffix|}}}|Alaska]]
* [[{{{prefix|}}} Arizona{{{suffix|}}}|Arizona]]
* [[{{{prefix|}}} Arkansas{{{suffix|}}}|Arkansas]]
* [[{{{prefix|}}} California{{{suffix|}}}|California]]
* [[{{{prefix|}}} Colorado{{{suffix|}}}|Colorado]]
* [[{{{prefix|}}} Connecticut{{{suffix|}}}|Connecticut]]
* [[{{{prefix|}}} Delaware{{{suffix|}}}|Delaware]]
* [[{{{prefix|}}} Florida{{{suffix|}}}|Florida]]
* [[{{{prefix|}}} {{{GA|Georgia (U.S. state)}}}{{{suffix|}}}|Georgia]]
* [[{{{prefix|}}} Hawaii{{{suffix|}}}|Hawaii]]
* [[{{{prefix|}}} Idaho{{{suffix|}}}|Idaho]]
* [[{{{prefix|}}} Illinois{{{suffix|}}}|Illinois]]
* [[{{{prefix|}}} Indiana{{{suffix|}}}|Indiana]]
* [[{{{prefix|}}} Iowa{{{suffix|}}}|Iowa]]
* [[{{{prefix|}}} Kansas{{{suffix|}}}|Kansas]]
* [[{{{prefix|}}} Kentucky{{{suffix|}}}|Kentucky]]
* [[{{{prefix|}}} Louisiana{{{suffix|}}}|Louisiana]]
* [[{{{prefix|}}} Maine{{{suffix|}}}|Maine]]
* [[{{{prefix|}}} Maryland{{{suffix|}}}|Maryland]]
* [[{{{prefix|}}} Massachusetts{{{suffix|}}}|Massachusetts]]
* [[{{{prefix|}}} Michigan{{{suffix|}}}|Michigan]]
* [[{{{prefix|}}} Minnesota{{{suffix|}}}|Minnesota]]
* [[{{{prefix|}}} Mississippi{{{suffix|}}}|Mississippi]]
* [[{{{prefix|}}} Missouri{{{suffix|}}}|Missouri]]
* [[{{{prefix|}}} Montana{{{suffix|}}}|Montana]]
* [[{{{prefix|}}} Nebraska{{{suffix|}}}|Nebraska]]
* [[{{{prefix|}}} Nevada{{{suffix|}}}|Nevada]]
* [[{{{prefix|}}} New Hampshire{{{suffix|}}}|New Hampshire]]
* [[{{{prefix|}}} New Jersey{{{suffix|}}}|New Jersey]]
* [[{{{prefix|}}} New Mexico{{{suffix|}}}|New Mexico]]
* [[{{{prefix|}}} New York{{{suffix|}}}|New York]]
* [[{{{prefix|}}} North Carolina{{{suffix|}}}|North Carolina]]
* [[{{{prefix|}}} North Dakota{{{suffix|}}}|North Dakota]]
* [[{{{prefix|}}} Ohio{{{suffix|}}}|Ohio]]
* [[{{{prefix|}}} Oklahoma{{{suffix|}}}|Oklahoma]]
* [[{{{prefix|}}} Oregon{{{suffix|}}}|Oregon]]
* [[{{{prefix|}}} Pennsylvania{{{suffix|}}}|Pennsylvania]]
* [[{{{prefix|}}} Rhode Island{{{suffix|}}}|Rhode Island]]
* [[{{{prefix|}}} South Carolina{{{suffix|}}}|South Carolina]]
* [[{{{prefix|}}} South Dakota{{{suffix|}}}|South Dakota]]
* [[{{{prefix|}}} Tennessee{{{suffix|}}}|Tennessee]]
* [[{{{prefix|}}} Texas{{{suffix|}}}|Texas]]
* [[{{{prefix|}}} Utah{{{suffix|}}}|Utah]]
* [[{{{prefix|}}} Vermont{{{suffix|}}}|Vermont]]
* [[{{{prefix|}}} Virginia{{{suffix|}}}|Virginia]]
* [[{{{prefix|}}} {{{WA|Washington (state)}}}{{{suffix|}}}|Washington]]
* [[{{{prefix|}}} West Virginia{{{suffix|}}}|West Virginia]]
* [[{{{prefix|}}} Wisconsin{{{suffix|}}}|Wisconsin]]
* [[{{{prefix|}}} Wyoming{{{suffix|}}}|Wyoming]]
| group2 = {{#if:{{{exclude-wdc|}}} | | [[Federal district]] }}
| list2 = {{#if:{{{exclude-wdc|}}} | | [[{{{prefix|}}} {{{DC|Washington, D.C.}}}{{{suffix|}}}|Washington, D.C.]] }}
| group3 = {{#if:{{{exclude-ter|}}} | | [[Insular area]]s }}
| list3 = {{#if:{{{exclude-ter|}}} | |
* [[{{{prefix|}}} American Samoa{{{suffix|}}}|American Samoa]]
* [[{{{prefix|}}} Guam{{{suffix|}}}|Guam]]
* [[{{{prefix|}}} {{#if:{{{prefix|}}} | {{#if:{{{suffix|}}} | |the}} }} Northern Mariana Islands{{{suffix|}}}|Northern Mariana Islands]]
* [[{{{prefix|}}} Puerto Rico{{{suffix|}}}|Puerto Rico ]]
* [[{{{prefix|}}} {{#if:{{{prefix|}}} | {{#if:{{{suffix|}}} | |the}} }} United States Virgin Islands{{{suffix|}}}|U.S. Virgin Islands]]
}}
| group4 = {{#if:{{{exclude-isl|}}} | | [[United States Minor Outlying Islands|Outlying islands]]}}
| list4 = {{#if:{{{exclude-isl|}}} | | {{#ifexist:{{{prefix|}}} Baker Island{{{suffix|}}} |
* [[{{{prefix|}}} Baker Island{{{suffix|}}}|Baker Island]]|}}{{#ifexist:{{{prefix|}}} Howland Island{{{suffix|}}} |
* [[{{{prefix|}}} Howland Island{{{suffix|}}}|Howland Island]]|}}{{#ifexist:{{{prefix|}}} Jarvis Island{{{suffix|}}} |
* [[{{{prefix|}}} Jarvis Island{{{suffix|}}}|Jarvis Island]]|}}{{#ifexist:{{{prefix|}}} Johnston Atoll{{{suffix|}}} |
* [[{{{prefix|}}} Johnston Atoll{{{suffix|}}}|Johnston Atoll]]|}}{{#ifexist:{{{prefix|}}} Kingman Reef{{{suffix|}}} |
* [[{{{prefix|}}} Kingman Reef{{{suffix|}}}|Kingman Reef]]|}}{{#ifexist:{{{prefix|}}} Midway Atoll{{{suffix|}}} |
* [[{{{prefix|}}} Midway Atoll{{{suffix|}}}|Midway Atoll]]|}}{{#ifexist:{{{prefix|}}} Navassa Island{{{suffix|}}} |
* [[{{{prefix|}}} Navassa Island{{{suffix|}}}|Navassa Island]]|}}{{#ifexist:{{{prefix|}}} Palmyra Atoll{{{suffix|}}} |
* [[{{{prefix|}}} Palmyra Atoll{{{suffix|}}}|Palmyra Atoll]]|}}{{#ifexist:{{{prefix|}}} Wake Island{{{suffix|}}} |
* [[{{{prefix|}}} Wake Island{{{suffix|}}}|Wake Island]]|}}
}}<noinclude><!-- parameters to add an additional group/list --></noinclude>
| group5 = {{{group5|}}}
| list5 = {{{list5|}}}
| group6 = {{{group6|}}}
| list6 = {{{list6|}}}
| below = {{{below|}}}
}}<noinclude>
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
98a04f1e0e9dcf7da8df7b883967fcf380021ebd
Template:Political divisions of the United States
10
277
541
540
2021-01-05T17:33:05Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT[[Template:United States political divisions]]
48d5c24c1f6547f962abc25191523ba07c1c1c23
Template:United States political divisions
10
278
543
542
2021-01-05T17:33:05Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{United States topic
<!-- passed through to Template:Navbox -->
|name = United States political divisions
|title = {{flagicon|USA}} [[Political divisions of the United States|Political divisions]] of the [[United States]]
|state = {{{state|}}}
|bodystyle = text-align:left;
|groupstyle = text-align:right; vertical-align:top;
<!-- specific to Template:United States topic -->
| group5 = [[Indian reservation]]s
| list5 =
*[[List of Indian reservations in the United States|List of Indian reservations]]
**[[List of largest Indian reservations in the United States|largest]]
| group6 = [[Associated state]]s
| list6 =
*[[Federated States of Micronesia]]
*[[Marshall Islands]]
*[[Palau]]
| group7 = Other
| list7 =
*[[Federal enclave]]
}}<noinclude>
{{collapsible option}}
{{DEFAULTSORT:United States Political Divisions}}
[[Category:United States subdivision templates|Political Divisions]]
[[Category:United States topic navigational boxes|Political Divisions]]
</noinclude>
23604be6e33e52ca49966aab9f07337eea24cb4f
Template:States of Brazil
10
279
545
544
2021-01-05T17:33:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = States of Brazil
| title = {{flagicon|Brazil}} [[Regions of Brazil|Regions]] and [[States of Brazil|States]] of [[Brazil]]
| state = <includeonly>{{{state|collapsed}}}</includeonly>
| bodyclass = hlist
| group1 = [[North Region, Brazil|North]]
| list1 =
* [[Acre (state)|Acre]]
* [[Amapá]]
* [[Amazonas (Brazilian state)|Amazonas]]
* [[Pará]]
* [[Rondônia]]
* [[Roraima]]
* [[Tocantins]]
| group2 = [[Northeast Region, Brazil|Northeast]]
| list2 =
* [[Alagoas]]
* [[Bahia]]
* [[Ceará]]
* [[Maranhão]]
* [[Paraíba]]
* [[Pernambuco]]
* [[Piauí]]
* [[Rio Grande do Norte]]
* [[Sergipe]]
| group3 = [[Central-West Region, Brazil|Center-West]]
| list3 =
* [[Federal District (Brazil)|Distrito Federal]]
* [[Goiás]]
* [[Mato Grosso]]
* [[Mato Grosso do Sul]]
| group4 = [[Southeast Region, Brazil|Southeast]]
| list4 =
* [[Espírito Santo]]
* [[Minas Gerais]]
* [[Rio de Janeiro (state)|Rio de Janeiro]]
* [[São Paulo (state)|São Paulo]]
| group5 = [[South Region, Brazil|South]]
| list5 =
* [[Paraná (state)|Paraná]]
* [[Rio Grande do Sul]]
* [[Santa Catarina (state)|Santa Catarina]]
| below =
* [[Fernando de Noronha]]
* [[Rocas Atoll]]
* [[Saint Peter and Saint Paul Archipelago|Saint Peter and Saint Paul]]
* [[Trindade and Martim Vaz]]
}}<noinclude>
{{collapsible option}}
[[Category:Brazil subdivision templates|{{PAGENAME}}]]
</noinclude>
6fac901fdfb84bfced7977a38c0062f207283cda
Template:Countries of Africa
10
280
547
546
2021-01-05T17:33:06Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Countries of Africa
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| title = [[List of sovereign states and dependent territories in Africa|Countries and territories]] of [[Africa]]
| imagestyle = padding:0 1.0em 0 0.5em;
| image = [[File:Africa (orthographic projection).svg|120px|Orthographic projection of Africa]]
| group1 = [[Sovereign state]]s
| list1 ={{Navbox |child |groupstyle=font-weight:normal;
| group1 = entirely<br/>in Africa
| list1 =
* [[Algeria]]
* [[Angola]]
* [[Benin]]
* [[Botswana]]
* [[Burkina Faso]]
* [[Burundi]]
* [[Cameroon]]
* [[Cape Verde]]
* [[Central African Republic]]
* [[Chad]]
* [[Comoros]]
* [[Democratic Republic of the Congo]]
* [[Republic of the Congo]]
* [[Djibouti]]
* [[Egypt]]
* [[Equatorial Guinea]]
* [[Eritrea]]
* [[Ethiopia]]
* [[Gabon]]
* [[The Gambia]]
* [[Ghana]]
* [[Guinea]]
* [[Guinea-Bissau]]
* [[Ivory Coast|Ivory Coast (Côte d'Ivoire)]]
* [[Kenya]]
* [[Lesotho]]
* [[Liberia]]
* [[Libya]]
* [[Madagascar]]
* [[Malawi]]
* [[Mali]]
* [[Mauritania]]
* [[Mauritius]]
* [[Morocco]]
* [[Mozambique]]
* [[Namibia]]
* [[Niger]]
* [[Nigeria]]
* [[Rwanda]]
* [[São Tomé and Príncipe]]
* [[Senegal]]
* [[Seychelles]]
* [[Sierra Leone]]
* [[Somalia]]
* [[South Africa]]
* [[South Sudan]]
* [[Sudan]]
* [[Swaziland]]
* [[Tanzania]]
* [[Togo]]
* [[Tunisia]]
* [[Uganda]]
* [[Zambia]]
* [[Zimbabwe]]
| group2 = partly<br/>in Africa
| list2 =
* [[France]]
** [[Mayotte]]
** [[Réunion]]
* [[Italy]]
** [[Pantelleria]]
** [[Pelagie Islands]]
* [[Portugal]]
** [[Madeira]]
* [[Spain]]
** [[Canary Islands]]
** [[Ceuta]]
** [[Melilla]]
** [[Plazas de soberanía]]
* [[Yemen]]
** [[Socotra]]
}}
| group2 = {{longitem|[[Territory (subdivision)|Territories]] {{nobold|and}}<br/>[[Dependent territory|dependencies]]}}
| list2 =
* [[Scattered Islands in the Indian Ocean|Îles Éparses]]
** {{smaller|France}}
* [[Saint Helena, Ascension and Tristan da Cunha]]
** {{smaller|UK}}
* [[Southern Provinces|Southern Provinces (Western Sahara)]]{{smallsup|1}}
| group3 = {{longitem|[[List of states with limited recognition|States with limited<br/>recognition]]}}
| list3 =
* [[Sahrawi Arab Democratic Republic]]
* [[Somaliland]]
| below = {{smallsup|1}} [[Territorial dispute|Unclear sovereignty]].
}}<noinclude>
{{documentation}}
<!-- Please add metadata to the <includeonly> section at the bottom of the /doc subpage -->
</noinclude>
06edfdbb0c8089a8d4b6421583dabcc466dcf8cf
Template:Countries of Africa/doc
10
281
549
548
2021-01-05T17:33:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{documentation subpage}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
{{collapsible option |statename=optional}}
== See also ==
{{Continent-based templates}}
<includeonly>
[[Category:Africa templates]]
[[Category:Africa country templates| ]]
</includeonly>
98ab8f1a264b88d3fc206012d98d539d00f2baad
Template:Country data Tunisia
10
282
551
550
2021-01-05T17:33:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = Tunisia
| flag alias = Flag of Tunisia.svg
| flag alias-1959 = Pre-1999 Flag of Tunisia.svg
| flag alias-old = Tunisian flag till 1831.svg | border-old =
| flag alias-bey = Flag of Tunis Bey-fr.svg
| size = {{{size|}}}
| name = {{{name|}}}
| altlink = {{{altlink|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = 1959
| var2 = old
| var3 = bey
| redir1 = TUN
</noinclude>
}}{{#ifeq:{{{variant|}}}|old|[[Category:Pages with tracked country data flag variants|Tunisia]]}}{{#ifeq:{{{variant|}}}|bey|[[Category:Pages with tracked country data flag variants|Tunisia]]}}
7eddaf87e37bef4520434d02641a86b985720d36
Template:Governorates of Tunisia
10
283
553
552
2021-01-05T17:33:07Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
|name = Governorates of Tunisia
|title = [[Governorates of Tunisia]]
|state = {{{state|autocollapse}}}
|listclass = hlist
|image = {{flagicon|Tunisia|size=40px}}
|list1 =
* [[Ariana Governorate|Ariana]]
* [[Béja Governorate|Béja]]
* [[Ben Arous Governorate|Ben Arous]]
* [[Bizerte Governorate|Bizerte]]
* [[Gabès Governorate|Gabès]]
* [[Gafsa Governorate|Gafsa]]
* [[Jendouba Governorate|Jendouba]]
* [[Kairouan Governorate|Kairouan]]
* [[Kasserine Governorate|Kasserine]]
* [[Kebili Governorate|Kebili]]
* [[Kef Governorate|Kef]]
* [[Mahdia Governorate|Mahdia]]
* [[Manouba Governorate|Manouba]]
* [[Medenine Governorate|Medenine]]
* [[Monastir Governorate|Monastir]]
* [[Nabeul Governorate|Nabeul]]
* [[Sfax Governorate|Sfax]]
* [[Sidi Bouzid Governorate|Sidi Bouzid]]
* [[Siliana Governorate|Siliana]]
* [[Sousse Governorate|Sousse]]
* [[Tataouine Governorate|Tataouine]]
* [[Tozeur Governorate|Tozeur]]
* [[Tunis Governorate|Tunis]]
* [[Zaghouan Governorate|Zaghouan]]
|below = [[Wikipedia:WikiProject Tunisia|WikiProject Tunisia]]
}}<noinclude>
{{collapsible option}}
<!--Categories-->
[[Category:Tunisia templates| ]]
[[Category:Africa country subdivision templates|Tunisia]]
[[Category:Governorate templates|Tunisia]]
</noinclude>
161b62a8b27edb14c9d7353cc94ca229b16de954
Template:Countries and territories of Oceania
10
284
555
554
2021-01-05T17:33:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Countries and territories of Oceania
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| title = [[List of sovereign states and dependent territories in Oceania|Countries and territories]] of [[Oceania]]
| image = [[File:Oceania (orthographic projection).svg|150px|link=Oceania]]
| group1 = [[Sovereign state]]s
| list1 =
{{Navbox |child |groupstyle=font-weight:normal;
| group1 = Entire
| list1 =
* [[Australia]]
* [[Federated States of Micronesia]]
* [[Fiji]]
* [[Kiribati]]
* [[Marshall Islands]]
* [[Nauru]]
* [[New Zealand]]
* [[Palau]]
* [[Papua New Guinea]]
* [[Samoa]]
* [[Solomon Islands]]
* [[Tonga]]
* [[Tuvalu]]
* [[Vanuatu]]
| group2 = In part
| list2 =
* [[Chile]]
** {{smaller|[[Easter Island]]
** [[Juan Fernández Islands]]}}
* [[Indonesia]]
** {{smaller|[[West Papua (province)|West Papua]]
** [[Papua (province)|Papua]]}}
* [[Japan]]
** {{smaller|[[Ogasawara, Tokyo|Ogasawara]]}}
* [[United States]]
** {{smaller|[[Hawaii]]
** [[Palmyra Atoll]]}}
}}
<!---group2 omitted to main alternating list backgrounds--->
| group3 = {{longitem|[[Realm of New Zealand|Associated states<br/>of New Zealand]]}}
| list3 =
* [[Niue]]
* [[Cook Islands]]
| group4 = {{longitem|[[Dependent territory|Dependencies]] and<br/>other territories}}
| list4 =
{{Navbox |child |groupstyle=font-weight:normal; |evenodd=swap
| group1 = Australia
| list1 =
* [[Ashmore and Cartier Islands]]
* [[Christmas Island]]
* [[Cocos (Keeling) Islands]]
* [[Coral Sea Islands]]
* [[Norfolk Island]]
| group2 = [[United States]]
| list2 =
* [[American Samoa]]
* [[Baker Island]]
* [[Guam]]
* [[Howland Island]]
* [[Jarvis Island]]
* [[Johnston Atoll]]
* [[Kingman Reef]]
* [[Midway Atoll]]
* [[Northern Mariana Islands]]
* [[Wake Island]]
| group3 = Others
| list3 =
* [[French Polynesia]]{{\}}[[New Caledonia]]{{\}}[[Wallis and Futuna]]
** {{smaller|[[France]]}}
* [[Tokelau]]
** {{smaller|[[New Zealand]]}}
* [[Pitcairn Islands]]
** {{smaller|[[United Kingdom|UK]]}}
}}
}}<noinclude>
{{documentation}}
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage-->
</noinclude>
834aebf607cbe9c3e8f2403019d137af890a5677
Template:Countries of Asia
10
285
557
556
2021-01-05T17:33:08Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Countries of Asia
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| title = [[List of sovereign states and dependent territories in Asia|Countries and dependencies]] of [[Asia]]
| imagestyle = padding: 0 0.5em;
| image = [[File:Asia (orthographic projection).svg|100px]]
| listclass = hlist
| group1 = [[Sovereign state]]s
| list1 =
* [[Afghanistan]]
* [[Armenia]]
* [[Azerbaijan]]
* [[Bahrain]]
* [[Bangladesh]]
* [[Bhutan]]
* [[Brunei]]
* [[Cambodia]]
* [[China]]
* [[Cyprus]]
* [[Egypt]]
* [[Georgia (country)|Georgia]]
* [[India]]
* [[Indonesia]]
* [[Iran]]
* [[Iraq]]
* [[Israel]]
* [[Japan]]
* [[Jordan]]
* [[Kazakhstan]]
* [[North Korea]]
* [[South Korea]]
* [[Kuwait]]
* [[Kyrgyzstan]]
* [[Laos]]
* [[Lebanon]]
* [[Malaysia]]
* [[Maldives]]
* [[Mongolia]]
* [[Myanmar]]
* [[Nepal]]
* [[Oman]]
* [[Pakistan]]
* [[Philippines]]
* [[Qatar]]
* [[Russia]]
* [[Saudi Arabia]]
* [[Singapore]]
* [[Sri Lanka]]
* [[Syria]]
* [[Tajikistan]]
* [[Thailand]]
* [[East Timor|East Timor (Timor-Leste)]]
* [[Turkey]]
* [[Turkmenistan]]
* [[United Arab Emirates]]
* [[Uzbekistan]]
* [[Vietnam]]
* [[Yemen]]
| group2 = [[List of states with limited recognition|States with limited recognition]]
| list2 =
* [[Abkhazia]]
* [[Nagorno-Karabakh Republic|Nagorno-Karabakh]]
* [[Northern Cyprus]]
* [[State of Palestine|Palestine]]
* [[South Ossetia]]
* [[Taiwan]]
| group3 = {{longitem|[[Dependent territory|Dependencies]] {{nobold|and}} [[Special administrative region|special<br/>administrative region]]s}}
| list3 =
{{Navbox |child |groupstyle=font-weight:normal;
| group1 = Australia
| list1 =
* [[Christmas Island]]
* [[Cocos (Keeling) Islands]]
| group2 = China
| list2 =
* [[Hong Kong]]
* [[Macau]]
| group3 = United Kingdom
| list3 =
* [[Akrotiri and Dhekelia]]
* [[British Indian Ocean Territory]]
}}
}}<noinclude>
{{documentation}}
<!-- Please add metadata to the <includeonly> section at the bottom of the /doc subpage -->
</noinclude>
ab19266349a66a5ae684d3113a3d37585e1a711b
Template:Country data India
10
286
559
558
2021-01-05T17:33:09Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = India
| flag alias = Flag of India.svg
| flag alias-British = British Raj Red Ensign.svg
| flag alias-1931 = 1931 Flag of India.svg
| flag alias-civil = Civil Ensign of India.svg
| flag alias-army = Flag of Indian Army.png
| link alias-army = Indian Army
| flag alias-naval = Naval Ensign of India.svg
| flag alias-air force = Air Force Ensign of India.svg
| flag alias-coast guard = Indian Coast Guard flag.png
| link alias-naval = Indian Navy
| link alias-air force = Indian Air Force
| size = {{{size|}}}
| name = {{{name|}}}
| altlink = {{{altlink|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = British
| var2 = 1931
| var3 = civil
| redir1 = IND
| related1 = British Raj
</noinclude>
}}
16d0290baf12a753156004348468b343d78251bf
Template:States and territories of India
10
287
561
560
2021-01-05T17:33:09Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = States and Union Territories of India
| title = [[States and union territories of India]]
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| bodyclass = hlist
| group1 = [[Federated state|States]]
| list1 =
* [[Arunachal Pradesh]]
* [[Andhra Pradesh]]
* [[Assam]]
* [[Bihar]]
* [[Chhattisgarh]]
* [[Goa]]
* [[Gujarat]]
* [[Haryana]]
* [[Himachal Pradesh]]
* [[Jammu and Kashmir]]
* [[Jharkhand]]
* [[Karnataka]]
* [[Kerala]]
* [[Madhya Pradesh]]
* [[Maharashtra]]
* [[Manipur]]
* [[Meghalaya]]
* [[Mizoram]]
* [[Nagaland]]
* [[Odisha]]
* [[Punjab, India|Punjab]]
* [[Rajasthan]]
* [[Sikkim]]
* [[Tamil Nadu]]
* [[Telangana]]
* [[Tripura]]
* [[Uttar Pradesh]]
* [[Uttarakhand]]
* [[West Bengal]]
| group2 = [[Union territory|Union Territories]]
| list2 =
* [[Andaman and Nicobar Islands]]
* [[Chandigarh]]
* [[Dadra and Nagar Haveli]]
* [[Delhi|National Capital Territory of Delhi]]
* [[Daman and Diu]]
* [[Lakshadweep]]
* [[Puducherry]]
| below =
* [[List of state and union territory capitals in India|Capitals in India]]
* [[Proposed states and territories of India|Proposed states and territories]]
* [[:Category:Historical Indian regions|Historical Regions]]
* [[:Category:Presidencies of British India|British Provinces]]
}}<noinclude>
{{collapsible option}}
[[Category:India state and territory templates| ]]
</noinclude>
06539eb0c4c3d6773d6e5d33a2167d9eaed08b35
Template:Continent-based templates
10
288
563
562
2021-01-05T17:33:10Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Continent-based templates
| state = {{{state|{{{1|}}}}}}
| title = Comparison of [[:Category:Continent templates|continent-based templates]]
| tracking = no <!-- keep all the documented templates out of the hlist tracking category -->
| list1 =
{{{!}} class="wikitable hlist plainrowheaders" style="width:100%;margin:0 auto;padding:0;text-align:center;line-height:1.3em;"
!
!scope="col"{{!}} Africa
!scope="col"{{!}} Asia
!scope="col"{{!}} Europe
!scope="col"{{!}} Oceania
!scope="col"{{!}} North America
!scope="col"{{!}} South America
{{!-}}
!scope="row"{{!}} '''World'''
{{!}}colspan="6"{{!}}
* {{tl|Continents of the world}}
* {{tl|Regions of the world}}
* {{tl|Lists of sovereign states and dependent territories by continent}}
* {{tl|World topic}}
* {{tl|World map indicating continents}}
{{!-}}
!rowspan="6" scope="row"{{!}} '''Generator'''
{{!}}rowspan="2"{{!}} {{tl|Africa topic}}
{{!}}rowspan="2"{{!}} {{tl|Asia topic}}
{{!}}rowspan="2"{{!}} {{tl|Europe topic}}
{{!}}rowspan="2"{{!}} {{tl|Oceania topic}}
{{!}} {{tl|North America topic}}
{{!}} {{tl|South America topic}}
{{!-}}
{{!}}colspan="2"{{!}} {{tl|Americas topic}}
{{!-}}
{{!}}rowspan="2"{{!}} {{tl|Topic (Africa)}}
{{!}}rowspan="2"{{!}} {{tl|Topic (Asia)}}
{{!}}rowspan="2"{{!}} {{tl|Topic (Europe)}}
{{!}}rowspan="2"{{!}} {{tl|Topic (Oceania)}}
{{!}} {{tl|Topic (North America)}}
{{!}} {{tl|Topic (South America)}}
{{!-}}
{{!}}colspan="2"{{!}} {{tl|Topic (Americas)}}
{{!-}}
{{!}} {{tl|African topic}}
{{!}} {{tl|Asian topic}}
{{!}} {{tl|European topic}}
{{!}} {{tl|Oceanian topic}}
{{!}} {{tl|North American topic}}
{{!}} {{tl|South American topic}}
{{!-}}
{{!}}colspan="6"{{!}}
* {{tl|Continent topic}}
* {{tl|Caribbean topic}}
* {{tl|Central America topic}}
* {{tl|Latin America and the Caribbean topic}}
* {{tl|Middle East topic}}
* {{tl|Southeast Asia topic}}
{{!-}}
!scope="row"{{!}} "'''Countries of...'''"
{{!}} {{[[:Template:Countries of Africa|...Africa]]}}
{{!}} {{[[:Template:Countries of Asia|...Asia]]}}
{{!}} {{[[:Template:Sovereign states of Europe|...Europe]]}}
{{!}} {{[[Template:Countries and territories of Oceania|...Oceania]]}}
{{!}} {{[[:Template:Countries of North America|...North America]]}}
{{!}} {{[[:Template:Countries of South America|...South America]]}}
{{!-}}
!scope="row"{{!}} "'''List of...capitals'''"
{{!}} {{[[:Template:List of African capitals|...African...]]}}
{{!}} {{[[:Template:List of Asian capitals by region|...Asian...]]}}
{{!}} {{[[:Template:List of European capitals by region|...European...]]}}
{{!}} {{[[:Template:List of Oceanian capitals by region|...Oceanian...]]}}
{{!}} {{[[:Template:List of North American capitals|...North American...]]}}
{{!}} {{[[:Template:List of South American capitals|...South American...]]}}
{{!-}}
{{!}}}
|belowclass=hlist
|below=
* {{icon|category}} [[:Category:Configurable area-topic templates|'''Category''']]
}}<noinclude>
{{Documentation
| content =
{{Collapsible option |statename=optional}}
== See also ==
* {{tl|Wikipedia continent-based projects}}
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
[[Category:Continent templates| ]]
[[Category:Documentation see also templates]]
}}
}}</noinclude>
07901e8ae001d2ccc8651169ce2c415881bd2d74
Template:Template imported from Semantic Web
10
289
565
564
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em">
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="120" align="center"|[[Image:W3CSw-horz.png|100px|logo import Semantic Web]]
|width="30" align="center"|[[Image:Nuvola apps forward arrow.png|30px|arrow]]
|Template imported from Sematic Web, see:
* original one (Semantic Web): [[semweb:Template:{{{Template}}}|Template:{{{Template}}}]].
* local adaptations are described below.
|}
</div>[[Category:Template imported from Semantic Web]]<noinclude>
This template must be used in order to indicate that it comes from Semantic Web.
[[fr:Modèle:Modèle importé du Semantic Web]]
</noinclude>
ad905223ef1fd777a3bf721f22e73940c7c016b8
Template:Tablelongrow
10
290
567
566
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{|
! A long table row (helper template)
|-
|{{Template imported from Semantic Web|Template=Tablelongrow}}
|-
|'''adaptations''': A value test had been inserted in order to avoid emply lines
|}
[[fr:Modèle:Tablelongrow]]
</noinclude>{{#if:{{{Value|}}}|{{!}} colspan="2" style="text-align: {{{Align|center}}}; background: {{{Color|white}}}"{{!}}<div style="font-size: {{{Font size|100%}}}">{{{Value}}}</div>}}
68d40bdf5854ff113486e1227ba720f1cf172e44
Template:Tablerow
10
291
569
568
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{|
! A
! table row (helper template)
|-
</noinclude>|style="vertical-align: top;" |{{{Label}}}
| {{{Value|undefined}}}<noinclude>
|}</noinclude>
bc60b9969fd3098e8b7cafbd3c611a14ca2ffe7c
Template:Tablesection
10
292
571
570
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{|
! A
! table section (helper template)
|-
</noinclude>! colspan="2" style="text-align: center; background: {{{Color|#eee}}}"| {{{Label}}}
<noinclude>|}</noinclude>
51fe7428ca40b6cf6e7854f25327651714c48f2f
Template:Infobox Document - Notes
10
293
573
572
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #4c4cff; color: white" | {{{Title}}}
|-
{{#ifeq:{{{Text|}}}|||{{Tablelongrow|Value={{{Text}}}|Align={{{Align text|center}}}}}}}
|-
{{#ifeq:{{{Label 1|}}}|||{{Tablerow|Label={{{Label 1}}} :|Value={{{Value 1}}}}}}}
|-
{{#ifeq:{{{Label 2|}}}|||{{Tablerow|Label={{{Label 2}}} :|Value={{{Value 2}}}}}}}
|-
{{#ifeq:{{{Label 3|}}}|||{{Tablerow|Label={{{Label 3}}} :|Value={{{Value 3}}}}}}}
|-
{{#ifeq:{{{Label 4|}}}|||{{Tablerow|Label={{{Label 4}}} :|Value={{{Value 4}}}}}}}
|-
{{#ifeq:{{{Label 5|}}}|||{{Tablerow|Label={{{Label 5}}} :|Value={{{Value 5}}}}}}}
|-
{{#ifeq:{{{Label 6|}}}|||{{Tablerow|Label={{{Label 6}}} :|Value={{{Value 6}}}}}}}
|-
{{#ifeq:{{{Label 7|}}}|||{{Tablerow|Label={{{Label 7}}} :|Value={{{Value 7}}}}}}}
|}<noinclude>
[[fr:Modèle:Infobox document - complément]]
</noinclude>
b9ab2df7fe28e1bc4039716e41f33afefc205468
Template:Semantic Infobox Person
10
294
575
574
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
{{Template imported from Semantic Web|Template=Person}}
This template is an adaptation of [[semweb:Template:Personne|Semantic Web]].
This template simplifies the creation of articles about persons. When inserted in a person's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Person
| University =
| Affiliation = agency, firm...
| Affiliation 2 =
| Unit =
| Laboratory =
| Laboratory label =
| Research team =
| Team label =
| Position =
| Picture = name of picture (e.g. "Rudolph.jpg"), use "upload file" on the left
| Homepage = rajkumarkannan19.googlepages.com
| Homepage label =
| Email = rajkumark@acm.org
| City =
| Country =
| Phone = 914312770136
}}</pre>
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the '''Template:Semantic Infobox Person Extension''' (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
[[fr:Modèle:Infobox sémantique personne]]
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #86ba0c; color: white" |<span style="font-size: 80%; float: right; ">{{#ask: [[{{FULLPAGENAME}}]]
| format=vcard
| ?Name
| ?University
| ?Affiliation=organization
| ?Affiliation 2
| ?Email
| ?Phone=workphone
| ?Homepage
| ?City
| ?Country
| searchlabel=vCard
}}</span> [[Name::{{{Name|{{PAGENAME}}}}}]]
|-
{{#ifeq:{{{Picture|}}}|||{{Tablelongrow|Value=[[Image:{{{Picture}}}|150px|{{{Name|{{PAGENAME}}}}}]]|Color=white}}
{{!-}}
}}
{{#ifeq:{{{Email|}}}|||{{Tablelongrow|Label=Email :|Value=[[email::{{{Email}}}]]|Color=#e4f8b6}}
{{!-}}
}}
|-
{{#ifeq:{{{Position|}}}|||{{Tablerow|Label=Position :|Value=[[Position::{{{Position}}}]]}}}}
|-
{{#ifeq:{{{University|}}}|||{{Tablerow|Label=University :|Value=[[member of::{{{University}}}]]}}}}
|-
{{#ifeq:{{{Affiliation|}}}|||{{Tablerow|Label=Affiliation :|Value=[[member of::{{{Affiliation}}}]]}}}}
|-
{{#ifeq:{{{Affiliation 2|}}}|||{{Tablerow|Label=and :|Value=[[member of::affiliation::{{{Affiliation 2}}}]]}}}}
|-
{{#ifeq:{{{Unit|}}}|||{{Tablerow|Label=Unit :|Value=[[member of::unit::{{{Unit}}}]]}}}}
|-
{{#ifeq:{{{Laboratory|}}}|||{{Tablerow|Label=Laboratory :|Value=[[member of::{{{Laboratory}}}|{{{Laboratory label|{{{Laboratory}}}}}}]]}}}}
|-
{{#ifeq:{{{Research center|}}}|||{{Tablerow|Label=Research center :|Value=[[member of::{{{Research center}}}|{{{Research center label|{{{Research center}}}}}}]]}}}}
|-
{{#ifeq:{{{Research team|}}}|||{{Tablerow|Label=Research team :|Value=[[member of::{{{Research team}}}|{{{Team label|{{{Research team}}}}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage :|Value=[[Homepage::http://{{{Homepage}}} |{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{Phone|}}}|||{{Tablerow|Label=Phone :|Value=[[Phone::{{{Phone}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City :|Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country :|Value=[[Has country::{{{Country}}}]]}}}}
|-<!-- *** Head of laboratory *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has head::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Head of: }}|Color=#e4f8b6}}
|-<!-- *** President *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee::{{PAGENAME}}]] OR [[Has scientific committee chair::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Scientific committee chair of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the conference::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the conference of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the program committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has PC chair::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Program committee chair of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the editorial board of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the organizing committee of :_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the governance committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the governance committee of :_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the steering committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the steering committee of :_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the workshops::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the workshops of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the demos and posters::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the demos and posters of:_}}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the tutorials::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President of the tutorials of:_}}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president for advertising::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=President for advertising of:_}}|Color=#e4f8b6}}
|-
<!-- *** Head *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for program and organizing head::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Program and organizing head of:_ }}|Color=#e4f8b6}}
|-
<!-- *** Committee member *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the scientific committee::{{PAGENAME}}]] OR [[Has JSC member::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the scientific committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the editorial board::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the editorial board of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the program committee::{{PAGENAME}}]] OR [[Has PC member::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Program committee member of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the governance committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the governance committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the steering committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the steering committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for member of the organizing committee::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Member of the organizing committee of:_ }}|Color=#e4f8b6}}
|-
<!-- *** Coordinator *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for demos' workshop coordinator::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Demos' workshop coordinator of:_ }}|Color=#e4f8b6}}
{{Semantic Infobox Person Extension}}
|-
|}
[[Category:Person]]</includeonly>
22d2bb2d39bf36fb0aba832c8096ed3fa097b32a
Template:Semantic Infobox Personality
10
295
577
576
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Modèle:Infobox sémantique personnalité]]
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #203090; color: white" | [[Nom::{{{Nom|{{{nom|{{PAGENAME}}}}}}}}]]
|-
{{#ifeq:{{{image|}}}|||{{Tablelongrow|Value=[[image:{{{image}}}|150px|{{{nom|{{PAGENAME}}}}}]]|Color=white}}
{{!-}}
}}
|-
{{#ifeq:{{{birth date|}}}|||{{Tablerow|Label=Birth :|Value=<!--
-->{{#ifeq:{{{birth place|}}}|||[[Has birth place::{{{birth place|}}}]]<br/>}}[[Has birth date::{{{birth date}}}]]}}}}
|-
{{#ifeq:{{{death date|}}}|||{{Tablerow|Label=Death :|Value=<!--
-->{{#ifeq:{{{death place|}}}|||[[Has death place::{{{death place|}}}]]<br/>}}[[Has death date::{{{death date}}}]]}}}}
|-
|}
</includeonly>
b51cc6be60bd2fc1dd8751a3c73f81ce112da2f7
Template:Semantic Infobox Person Extension
10
296
579
578
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox Event
10
297
581
580
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template is an adaptation of [[semweb:Template:Event|Semantic Web]].
This template is used for collecting data about some event. When inserted in an event's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
<pre>{{Semantic Infobox Event
| Logo = Logo of the given event (ex: logoSUITMA.jpg), to be added through "Upload file" on the left
| Logo label = Description of the logo
| Title = Full title of the given event
| Series = Abbreviation of event series, in case the event belongs to a continuing series
| Superevent = Larger hosting event (e.g. conference of a workshop)
| Homepage = URL of the homepage (without http://)
| Homepage label = Optional label if homepage URL is too long
| Start date = November 9 2006
| End date = November 10 2006
| City = the city the event takes place in
| Country = the country the event takes place in
| Submission deadline = general deadline for (most relevant kinds of) submissions; read the docu below
| Abstract deadline = deadline for abstract submissions (usually for papers that are to be submitted later)
| Paper deadline = deadline for submitting papers, a special kind of submission deadline; read the docu below
| Poster deadline = deadline for submitting posters; read the docu below
| Workshop deadline = deadline for submitting workshops proposals
| Tutorial deadline = deadline for submitting tutorial proposals
| Demo deadline = deadline for submitting demo papers; read the docu below
| Camera ready = deadline for submitting the camera ready
| Notification = date of acceptance notifications
}}</pre>
[[fr:Modèle:Infobox sémantique manifestation]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the '''Template:Semantic Infobox Event Extension''' (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
'''A note on the various deadlines:''' In general, you only need some deadlines. The ''submission deadline'' should represent the single most important deadline for an event. If there is a paper deadline, it automatically counts as a submission deadline as well. The other kinds of deadlines are just relevant for events that accept many forms of contribution (e.g. papers and demos). If an event has just one type of submission (e.g. a developer's event might only accpept demos) then use ''submission deadline'' since it is the main deadline and it is clear what kind of submissions are meant.
</noinclude>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Title|}}}|||{{Tablelongrow|Value=[[title:={{{Title}}}]]|Color=#fdddbb}}}}
|-
{{#ifeq:{{{Series|}}}|||{{Tablerow|Label=Series :|Value=[[belong to::{{{Series}}}]]}}}}
|-
{{#ifeq:{{{Superevent|}}}|||{{Tablerow|Label=Subevent of :|Value=[[belong to::{{{Superevent}}}]]}}}}
|-
{{#ifeq:{{{Start date|}}}|||{{Tablerow|Label=Start :|Value=[[start date:={{{Start date}}}]] {{#ifeq:{{{End date|}}}|||<small>{{#ask:[[{{PAGENAME}}]]|?start date=start|?end date=end|?has location city=location|searchlabel=(iCal)|format=icalendar}}</small>}}}}}}
|-
{{#ifeq:{{{End date|}}}|||{{Tablerow|Label=End :|Value=[[end date:={{{End date}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage :|Value=[[homepage:=http://{{{Homepage}}}|{{{Homepage label|Homepage}}}]]}}}}
|-
<!-- *** Location: *** -->
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City :|Value=[[has location city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country :|Value=[[has location country::{{{Country}}}]]}}}}
|-
<!-- *** Dates: *** -->
|colspan="2" bgcolor=#DFDFDF align="center" | '''Important dates'''
|-
{{#ifeq:{{{Submission deadline|}}}|||{{Tablerow|Label=Submissions due :|Value=[[submission deadline:={{{Submission deadline}}}]]}}}}
|-
{{#ifeq:{{{Abstract deadline|}}}|||{{Tablerow|Label=Abstracts due :|Value=[[abstract deadline:={{{Abstract deadline}}}]]}}}}
|-
{{#ifeq:{{{Paper deadline|}}}|||{{Tablerow|Label=Papers due :|Value=[[paper deadline:=submission deadline:={{{Paper deadline}}}]]}}}}
|-
{{#ifeq:{{{Poster deadline|}}}|||{{Tablerow|Label=Posters due :|Value=[[poster deadline:={{{Poster deadline}}}]]}}}}
|-
{{#ifeq:{{{Workshop deadline|}}}|||{{Tablerow|Label=Workshops due :|Value=[[workshop deadline:={{{Workshop deadline}}}]]}}}}
|-
{{#ifeq:{{{Tutorial deadline|}}}|||{{Tablerow|Label=Tutorial due :|Value=[[tutorial deadline:={{{Tutorial deadline}}}]]}}}}
|-
{{#ifeq:{{{Demo deadline|}}}|||{{Tablerow|Label=Demos due :|Value=[[demo deadline:={{{Demo deadline}}}]]}}}}
|-
{{#ifeq:{{{Camera ready|}}}|||{{Tablerow|Label=Camera ready due :|Value=[[Camera ready due:={{{Camera ready}}}]]}}}}
|-
{{#ifeq:{{{Notification|}}}|||{{Tablerow|Label=Notification :|Value=[[notification:={{{Notification}}}]]}}}}
{{Semantic Infobox Event Extension}}
|-
|}<!--
--><includeonly>{{#ifeq:{{{Superevent|}}}||[[Category:Stand-alone event]]|}}</includeonly>
85e6610d2916cd76e87ab23b48666877462bedc7
Template:Semantic Infobox Event Extension
10
298
583
582
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox University
10
299
585
584
2021-01-05T17:34:13Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template simplifies the creation of articles about universities. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox University
| Nickname = UPV-M
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label = UPV-M's logo
| Chancellor =
| Homepage = www.univ-metz.fr/ (without http://)
| Homepage label = UPV-M's webpage
| City =
| Country =
}}
</pre>
[[fr:Modèle:Infobox sémantique université]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the Template:Semantic Infobox University Extension (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Nickname|}}}|||{{Tablerow|Label=Nickname: |Value=[[Has nickname::{{{Nickname}}}]]}}}}
|-
{{#ifeq:{{{Chancellor|}}}|||{{Tablerow|Label=Chancellor: |Value=[[Has chancellor::{{{Chancellor}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage: |Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City: |Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country: |Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** University data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Laboratories:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]] OR [[Member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members:_ }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of:_ }}|Color=#e4f8b6}}
{{Semantic Infobox University Extension}}
|-
|}
[[Category:Academic establishment]]
[[Category:University]]
[[Category:University page]]
</includeonly>
bde40860be9eb035a9d1cac623b054de79e6cb64
Template:Semantic Infobox University Extension
10
300
587
586
2021-01-05T17:34:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox Organization
10
301
589
588
2021-01-05T17:34:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template simplifies the creation of articles about organizations. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
See also: [[Template:Semantic Infobox University]]
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Organization
| Nickname = UPV-M
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label = UPV-M's logo
| Chancellor =
| Homepage = www.univ-metz.fr/ (without http://)
| Homepage label = UPV-M's webpage
| City = Metz
| Country = France
}}
</pre>
[[fr:Modèle:Infobox sémantique organisme]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the Template:Semantic Infobox University Extension
(existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Nickname|}}}|||{{Tablerow|Label=Nickname:|Value=[[Has nickname::{{{Nickname}}}]]}}}}
|-
{{#ifeq:{{{Chancellor|}}}|||{{Tablerow|Label=Chancellor:|Value=[[Has chancellor::{{{Chancellor}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country:|Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** University data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Laboratories: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members: }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of : }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of: }}|Color=#e4f8b6}}
{{Semantic Infobox University Extension}}
|-
|}
[[Category:Organization]]
</includeonly>
90f3fda5acb0767a73d5145ca5df3b2eaf85bc5a
Template:Semantic Infobox Organisation Extension
10
302
591
590
2021-01-05T17:34:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<!-- -->
5e21bf0b557cea76c667cad4cd236f2df03beeb6
Template:Semantic Infobox Company
10
303
593
592
2021-01-05T17:34:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the creation of articles about private companies. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Organization
| Nickname = UPV-M
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label = UPV-M's logo
| Chancellor =
| Homepage = www.univ-metz.fr/ (without http://)
| Homepage label = UPV-M's webpage
| City = Headquarter city
| Country = France
}}
</pre>
[[fr:Modèle:Infobox sémantique société]]
</noinclude><includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{{Name|{{PAGENAME}}}}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Nickname|}}}|||{{Tablerow|Label=Nickname:|Value=[[Has nickname::{{{Nickname}}}]]}}}}
|-
{{#ifeq:{{{CEO|}}}|||{{Tablerow|Label=CEO:|Value=[[Has CEO::{{{CEO}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage:|Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City:|Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country:|Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** Compagny data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Laboratories: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members: }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of : }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of: }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of: }}|Color=#e4f8b6}}
|-
|}
[[Category:Company page]]
</includeonly>
b2b3c1c883454c7e33806d4867c92b124a4dbdfd
Template:Semantic Infobox Research Center
10
304
595
594
2021-01-05T17:34:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template simplifies the creation of articles about research centers. When inserted in a page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Semantic Infobox Research Center
| Acronym = LORIA
| Logo = name of picture (e.g. "example.jpg"), use "upload file" on the left
| Logo label =
| Head =
| Homepage = www.loria.fr/ (without http://)
| Homepage label = LORIA's webpage
| City =
| Country =
}}
</pre>
[[fr:Modèle:Infobox sémantique laboratoire]]
When there is a need to display specific information in a specific wiki (adding an item which of no interest in the generic template), please modify the Template:Semantic Infobox University Extension (existing but empty at first) : it is included in this template, at the end of the infobox.
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page.
</noinclude><includeonly>{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}<br/>{{#if:{{{Logo|}}}|[[image:{{{Logo}}}|{{{Logo_width|300px}}}|{{{Logo label|}}}]]}}
|-
{{#ifeq:{{{Acronym|}}}|||{{Tablerow|Label=Acronym: |Value=[[Has acronym::{{{Acronym}}}]]}}}}
|-
{{#ifeq:{{{Head|}}}|||{{Tablerow|Label=Head: |Value=[[Has head::{{{Head}}}]]}}}}
|-
{{#ifeq:{{{Homepage|}}}|||{{Tablerow|Label=Homepage: |Value=[[site::http://{{{Homepage}}}|{{{Homepage label|{{{Homepage}}}}}}]]}}}}
|-
{{#ifeq:{{{City|}}}|||{{Tablerow|Label=City: |Value=[[Has city::{{{City}}}]]}}}}
|-
{{#ifeq:{{{Country|}}}|||{{Tablerow|Label=Country: |Value=[[Has country::{{{Country}}}]]}}}}
|-
<!-- *** Research Center data *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[partner of.belong to::{{PAGENAME}}]]
| format=list
| sort=start date | order=desc
| sep=,_
| intro=Partner of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[belong to::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Teams:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]] OR [[Member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members:_ }}|Color=#e4f8b6}}
|-
<!-- *** Linked events *** -->
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the program committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the program committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the orientation committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the orientation committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the scientific committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the scientific committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the organizing committee.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the organizing committee of:_ }}|Color=#e4f8b6}}
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[Has for president of the editorial board.member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Has president of the editorial board of:_ }}|Color=#e4f8b6}}
{{Semantic Infobox University Extension}}
|-
|}
[[Category:Academic establishment]]
[[Category:Research Center]]
</includeonly>
374b993f162dc2bafe367cca688bd96fa659de43
Template:Semantic Infobox end
10
305
597
596
2021-01-05T17:34:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template must close all modular infoboxes:
* [[Template:Semantic Infobox OrgUnit begin]]
</noinclude><includeonly>
|}
</includeonly>
d62ed928de1a774221f537d7da81fe927160a961
Template:Semantic Infobox OrgUnit begin
10
306
599
598
2021-01-05T17:34:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}
{{#if:{{{Logo|}}}|
{{!-}}
{{!}}colspan="2" align="center" style="background: #white;"{{!}}[[image:{{{Logo}}}|{{{Logo_width|200px}}}|{{{Logo label|}}}]]}}
{{#if:{{{Nickname|}}}|{{!-}}
{{!}}colspan="2" align="center" style="background: #ef7c00; color: white" {{!}}{{{Nickname}}}}}
</includeonly>
fdf067e3660773d4e0266831addd5ce9884f1df8
Template:Semantic Infobox OrgUnit members
10
307
601
600
2021-01-05T17:34:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
|-
{{Tablelongrow|Align=Left|Font size=80%|Value={{#ask:[[university::{{PAGENAME}}]] OR [[Member of::{{PAGENAME}}]]
| format=list
| sep=,_
| intro=Members : }}|Color=#e4f8b6}}
2a9953852884eaddb1bd5b2975953cccb464fe07
Template:Bibliobox right
10
308
603
602
2021-01-05T17:34:14Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{|align=right width=50% cellspacing="0" cellpadding="5"
|-
|style="background: #f0f0b4;"| {{{1}}}
|}</includeonly><noinclude>
This template aims at homogenizing the frames of bibliographic descriptions in WICRI network.
;Sample:the following script :
<pre>
{{Bibliobox right|
;Title: This is a title
;Author: ...
}}
</pre>
produces:
{{Bibliobox right|
;Title: This is a title
;Author: ...
}}
[[fr:Modèle:Boîte bibliographique droite]]
</noinclude>
684ab78eafe2ee8a42ff404b66a04b47b4007f0e
Template:Page title for an article
10
309
605
604
2021-01-05T17:34:15Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{DISPLAYTITLE:<small>{{PAGENAME}}</small>}}
<span style="font-size: 200%;Line-Height:24pt;">{{{title}}}</span>{{ #if: {{{sous-titre|}}}|<br/><br/><span style="font-size: 160%;">''{{{subtitle}}}''</span>|}}<hr/> <br/> <noinclude>
<source lang="html">
{{Page title for an article
|title= mandatory
|subtitle= optional
|original= optional
}}
</source>
[[fr:Modèle:Titre page article]]
</noinclude>
af1bdeb040dc3d7457135b6b1daa364efac473fa
Template:Wicri Creators
10
310
607
606
2021-01-05T17:34:15Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the edition of an article. When inserted in an article's page, it generates, at the beginning of the article the list of creators, and the relevant information for each other (affiliation, address...).
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{wicri auteurs
| Creator 1 =
| Affiliation 1 =
| Address 1 =
| Phone 1 =
| Creator 2 =
| Affiliation 2 =
| Address 2 =
| Phone 2 =
| Creator 3 =
| Affiliation 3 =
| Address 3 =
| Phone 3 =
| Creator 4 =
| Affiliation 4 =
| Address 4 =
| Phone 4 =
| Creator 5 =
| Affiliation 5 =
| Address 5 =
| Phone 5 =
| Creator 6 =
| Affiliation 6 =
| Address 6 =
| Phone 6 =
}}
</pre>
[[fr:Modèle:Wicri auteurs]]
The order of the fields is not relevant.
</noinclude>
<includeonly>
{|cellpadding="5"
|-
|[[Has first creator::{{{Creator 1}}}]]<!--
-->{{#if: {{{Creator 2|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 1|}}}|<sup>{{{Affiliation link 1}}}</sup>|}}<!--
-->{{#if: {{{Mail 1|}}}|<br/><small>{{{Mail 1|}}}</small>|}}<!--
-->{{#if: {{{Tel 1|}}}|<br/><small>Tel : {{{Tel 1|}}}</small>|}}
{{#if: {{{Creator 2|}}}|
{{!}}[[Has Creator::{{{Creator 2}}}]]<!--
-->{{#if: {{{Creator 3|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 2|}}}|<sup>{{{Affiliation link 2}}}</sup>|}}<!--
-->{{#if: {{{Mail 2|}}}|<br/><small>{{{Mail 2|}}}</small>|}}<!--
-->{{#if: {{{Tel 2|}}}|<br/><small>Tel : {{{Tel 2|}}}</small>|}}
{{#if: {{{Creator 3|}}}|
{{!-}}
{{!}}[[Has Creator::{{{Creator 3}}}]]<!--
-->{{#if: {{{Creator 4|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 3|}}}|<sup>{{{Affiliation link 3}}}</sup>|}}<!--
-->{{#if: {{{Mail 3|}}}|<br/><small>{{{Mail 3|}}}</small>|}}<!--
-->{{#if: {{{Tel 3|}}}|<br/><small>Tel : {{{Tel 3|}}}</small>|}}
{{#if: {{{Creator 4|}}}|
{{!}}[[Has Creator::{{{Creator 4}}}]]<!--
-->{{#if: {{{Creator 5|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 4|}}}|<sup>{{{Affiliation link 4}}}</sup>|}}<!--
-->{{#if: {{{Mail 4|}}}|<br/><small>{{{Mail 4|}}}</small>|}}<!--
-->{{#if: {{{Tel 4|}}}|<br/><small>Tel : {{{Tel 4|}}}</small>|}}
{{#if: {{{Creator 5|}}}|
{{!-}}
{{!}}[[Has Creator::{{{Creator 5}}}]]<!--
-->{{#if: {{{Creator 6|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 5|}}}|<sup>{{{Affiliation link 5}}}</sup>|}}<!--
-->{{#if: {{{Mail 5|}}}|<br/><small>{{{Mail 5|}}}</small>|}}<!--
-->{{#if: {{{Tel 5|}}}|<br/><small>Tel : {{{Tel 5|}}}</small>|}}
{{#if: {{{Creator 6|}}}|
{{!}}[[Has Creator::{{{Creator 6}}}]]<!--
-->{{#if: {{{Creator 7|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 6|}}}|<sup>{{{Affiliation link 6}}}</sup>|}}<!--
-->{{#if: {{{Mail 6|}}}|<br/><small>{{{Mail 6|}}}</small>|}}<!--
-->{{#if: {{{Tel 6|}}}|<br/><small>Tel : {{{Tel 6|}}}</small>|}}
{{#if: {{{Creator 7|}}}|
{{!-}}
{{!}}[[Has Creator::{{{Creator 7}}}]]<!--
-->{{#if: {{{Creator 8|}}}|,|.}}<!--
-->{{#if: {{{Affiliation link 7|}}}|<sup>{{{Affiliation link 7}}}</sup>|}}<!--
-->{{#if: {{{Mail 7|}}}|<br/><small>{{{Mail 7|}}}</small>|}}<!--
-->{{#if: {{{Tel 7|}}}|<br/><small>Tel : {{{Tel 7|}}}</small>|}}
}}
}}
}}
}}
}}
}}
|}
{{#if: {{{Affiliation 1|}}}|
* i - ''{{{Affiliation 1}}}''{{#if: {{{Affiliation 2|}}}| ;|.}}
{{#if: {{{Affiliation 2|}}}|
* ii - ''{{{Affiliation 2}}}''{{#if: {{{Affiliation 3|}}}| ;|.}}
{{#if: {{{Affiliation 3|}}}|
* iii - ''{{{Affiliation 3}}}''{{#if: {{{Affiliation 4|}}}| ;|.}}
{{#if: {{{Affiliation 4|}}}|
* iv - ''{{{Affiliation 4}}}''{{#if: {{{Affiliation 5|}}}| ;|.}}
{{#if: {{{Affiliation 5|}}}|
* v - ''{{{Affiliation 5}}}''{{#if: {{{Affiliation 6|}}}| ;|.}}
{{#if: {{{Affiliation 6|}}}|
* vi - ''{{{Affiliation 6}}}''{{#if: {{{Affiliation 7|}}}| ;|.}}
}}
}}
}}
}}
}}
}}
</includeonly>
5715ca032285af3362b8e3f5b4c5e2289c68819a
Template:Wicri Bibliography
10
311
609
608
2021-01-05T17:34:15Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the automatic edition, on the page of a person, of his bibliography (for the articles cited on the wiki), using semantic properties. When inserted on the page of a person, it generates the list of articles which this person is the first creator, a creator, the translator, as well as the articles in which he is cited or is a contributor.
To use this template, insert the following at the beginning of your user page.
<pre>{{Wicri Bibliography}}
</pre>
[[fr:Modèle:Wicri bibliographie]]
</noinclude>
<includeonly>
==Bibliography==
''(generated through automatic process)''
{{#ask:[[Has first creator::{{PAGENAME}}]] OR [[Has first author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=First creator of :_ }}<!--
-->{{#ask:[[Has Creator::{{PAGENAME}}]] OR [[Has author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Creator of:_ }}<!--
-->{{#ask:[[Has translator::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Translator of :_ }}<!--
-->{{#ask:[[Has cited creator::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Is cited by:_ }}<!--
-->{{#ask:[[Has contributor::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Contributor of:_ }}<!--
-->{{#ask:[[Has speaker::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Speaker in:_ }}
<includeonly>
587f58976e1bb4cdc60de2e682d48d4a1230aa6b
Template:Wicri Bibliography/list
10
312
611
610
2021-01-05T17:34:15Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#ask:[[Has quoted person::{{PAGENAME}}]]
| format=ol
| ?Has title=title:_
| sep=,_
| headers=hide
| intro=Is quoted as person in:_ }}<!--
-->{{#ask:[[Has first creator::{{PAGENAME}}]] OR [[Has first author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=First creator of :_ }}<!--
-->{{#ask:[[Has Creator::{{PAGENAME}}]] OR [[Has author::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Creator of:_ }}<!--
-->{{#ask:[[Has translator::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Translator of :_ }}<!--
-->{{#ask:[[Has contributor::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Contributor of:_ }}<!--
-->{{#ask:[[Has invited speaker::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Invited speaker in:_ }}<!--
-->{{#ask:[[Has speaker::{{PAGENAME}}]]
| format=ol
| sep=,_
| headers=hide
| intro=Speaker in:_ }}<!--
-->{{#ask:[[Has quoted author::{{PAGENAME}}]]
| format=ol
| ?Has title=title:_
| sep=,_
| headers=hide
| intro=Is author quoted in:_ }}
<noinclude>
Tis template prints a set of properties related to a given person.
These property are the following:
* [[:Property:Has quoted person]]
* [[:Property:Has first author]]
* [[:Property:Has author]]
* [[:Property:Has translator]]
* [[:Property:Has contributor]]
* [[:Property:Has invited speaker]]
* [[:Property:Has speaker]]
* [[:Property:Has quoted author]]
[[fr:Modèle:Wicri bibliographie/liste]]
</noinclude>
e4007a4c0909e5a752d81dca9287d2afbb56241c
Template:Wicri interwiki see person
10
313
613
612
2021-01-05T17:34:16Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>
;In this wiki:
{{Wicri Bibliography/list}}
{{Wicri see|reference={{{reference|}}}}}</includeonly><noinclude>
Ce modèle sert à générer, pour une personnalité, des listes de résultats obtenus à partir d'attributs sémantiques.
Il s'applique pour une personnalité qui a sa page de référence sur un autre wiki et qui fait l'objet de citations sur ce wiki.
La procédure d'appel est la suivante :
<source lang="html">
{{Wicri interwiki voir personne
|référence = wiki de référence
}}
</source>
Il génère également un appel de [[Modèle:Wicri voir|<code><nowiki>{{Wicri voir}}</nowiki></code>]] qui crée un lien interwiki vers un wiki de référence - en utilisant le codage du modèle [[Modèle:Wicri lien|<code><nowiki>{{Wicri lien}}</nowiki></code>]].
[[fr:Modèle:Wicri interwiki voir personne]]
</noinclude>
3e301dd0244c8c92a1de2c4cdf08a0be7b847ab6
Template:Wicri see also, city
10
314
615
614
2021-01-05T17:34:16Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template prints an automatic '''See also''' content using semantic properties.
[[fr:Modèle:Wicri voir aussi, ville]]
</noinclude>{{#ask:[[Has city::{{PAGENAME}}]] [[Category:event]]
| format=ul
| sep=,_
| intro=
;List of events quoted in this wiki:_}}{{#ask:[[Has city::{{PAGENAME}}]] [[Catégorie:Laboratory||University]]
| format=ul
| sep=,_
| intro=
;Liste des organisations quoted in this wiki :}}{{#ask:[[Has city::{{PAGENAME}}]] [[Category:Person]]
| sep=,_
| intro=
;List of persons quoted in this wiki :}}
{{#if:{{{interwiki|}}}|{{Wicri see|reference={{{interwiki|}}}}}}}
<includeonly>[[Category:City]]</includeonly>
005583ad6387eba6b6e1662a12aa6cfff18976ed
Template:Up-page notes
10
315
617
616
2021-01-05T17:34:16Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
This template simplifies the edition of an article. When inserted in an article page, it generates a table in which can be found the name of the article and important information about it (journal, symposium it originates from...).
To use this template, insert the following at the beginning of your user page. All fields are strictly '''optional''' and should be omitted if no data is given.
'''Please delete all lines that you do not give useful information for!'''
<pre>{{Up-page notes
| Title 1 =
| Note 1 =
| Title 2 =
| Note 2 =
| Title 3 =
| Note 3 =
}}
</pre>
[[fr:Modèle:Notes haut de page]]
The order of the fields is not relevant.
</noinclude>
<includeonly>
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 25em"
|- style="background: #fdddbb;"
|<center><big>'''{{{title 1}}}'''</big></center>
|-
|{{{note 1}}}
{{#if:{{{title 2|}}}|
{{!-}} style="background: #fdddbb;"
{{!}}<center><big>'''{{{title 2}}}'''</big></center>
{{!-}}
{{!}}{{{note 2}}}
{{#if:{{{title 3|}}}|
{{!-}} style="background: #fdddbb;"
{{!}}<center><big>'''{{{title 3}}}'''</big></center>
{{!-}}
{{!}}{{{note 3}}}
}}
}}
|}
</includeonly>
af373841f049812784016a5ded5595ec2efc8e29
Property:Has PC member
102
316
619
618
2021-01-05T17:34:16Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
A '''programme committee member''' of some [[:Category:event|event]] is a person who contributes to the organisation of the programme, typically by reviewing and selecting scientific contributions to the event.
[[fr:Attribut:A pour membre du comité de programme]]
e378decda49c95ce38831f7fe59cf539b6589e00
Property:Has speaker
102
317
621
620
2021-01-05T17:34:16Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has invited speaker|Has invited speaker]]
[[fr:Attribut:A pour intervenant]]
1da8e64c6cdd401e17d93a568bfb785c051a7882
Property:Has invited speaker
102
318
623
622
2021-01-05T17:34:16Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has speaker|Has speaker]]
7b2d17ac42efa12c627cec226b0e9d3862904c98
Property:Has author
102
319
625
624
2021-01-05T17:34:16Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has first author|Has first author]]
[[fr:Attribut:A pour auteur]]
ec2492c39c0c57037570d8b0355324b064d69fe9
Property:Has first author
102
320
627
626
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has author|Has author]]
* property : [[:Property:Has translator|Has translator]]
* property : [[:Property:Has contributor|Has contributor]]
673a490cec0e40391887d664c65b04e198018599
Property:Has translator
102
321
629
628
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has author|Has author]]
* property : [[:Property:Has contributor|Has contributor]]
31fbeb81967f97f86f663a9a309861af7ac1403c
Property:Has contributor
102
322
631
630
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
==See also==
* property : [[:Property:Has author|Has author]]
* property : [[:Property:Has translator|Has translator]]
94419b23367c1813e1f14efe2d517503dd8816ac
Property:Has death place
102
323
633
632
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Has type::Page]]
666e6688ce789d9cde9da0be0dc012492a201d15
Property:Has death date
102
324
635
634
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Has type::date]]
[[fr:Attribut:A pour date de décès]]
672cc42597a1f7cf61490500882056980034185d
Property:Has birth place
102
325
637
636
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Has type::page]]
[[fr:Attribut:A pour lieu de naissance]]
83970c58531e095023410a64310efe2bb7b48ee1
Property:Has birth date
102
326
639
638
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Has type::date]]
[[fr:Attribut:A pour date de naissance]]
f4285253a817e18bbe273e84e734c50f2c548322
Property:Start date
102
327
641
640
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This property comes from [[semweb:Property:Start date|Semantic Web]]
This [[has type::date]] (possibly with a time of day) marks the '''start''' of some event. See also [[Upcoming events]] to see events in a timeline.
[[used for::Category:Conference| ]]
[[used for::Category:Project| ]]
c3ab3610bb927402336b02d2c3c41a650c4bbd8f
Property:End date
102
328
643
642
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This [[has type::date]] (possibly with a time of day) marks the '''end''' of some event; use it together with [[Property:Start date]].
This property is uploaded from [[semweb:Property:Start date|Semantic Web]]
[[fr:Attribut:Date de fin]]
76b63983308264d47310889df95ca3c6ef5d1453
Property:Has type
102
329
645
644
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
'''Has type''' is a [[special property]] in [[Semantic MediaWiki]] with a built-in meaning: it assigns a [[type]] to a [[property]]. [[Special:Types]] lists the types available in the wiki. See [[Help:Properties_and_types#Datatypes|datatypes in the Help system]].
For example, the page for [[Property:Population]] would specify <tt><nowiki>[[has type::Number]]</nowiki></tt>. "Has type" assumes its value is in the Type namespace, so you can omit the prefix ''Type:''.
Since version 1.0, SMW allows [[Help:Many-valued properties|many-valued properties]]. Types for these properties are specified by listing multiple types as the value of Has type, separated by semicolons. For example, on sandbox.semantic-mediawiki.org [http://sandbox.semantic-mediawiki.org/wiki/Property:Employment Property:Employment] takes a link to a company, a job title, and a start and end date,
so it specifies its type as <tt><nowiki>[[has type:=Page; String; Date; Date]]</nowiki></tt>.
{{docu|master page=Property:Allows value|language=en|minversion=1.0}}
[[Category:Special property|Has type]]
b119fb7a6ca2c48ee3ee7a907a13be070bb94c02
Property:Has title
102
330
647
646
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Has type::text]]
This property implements DC:Title of Dublin Core.
[[fr:Attribut:A pour titre]]
cc777a4fd8cd89212bbd2f9f7b32a6f5571c14ad
Property:Has quoted author
102
331
649
648
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Attribut:A pour auteur cité]]
9539c0d0320097da2ff06ee961dd5515412102e7
Property:Has quoted person
102
332
651
650
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[fr:Attribut:A pour personnalité citée]]
448bffcb02f9d43a521ce65d971b7663b1a4f390
Property:Homepage
102
333
653
652
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template is an adaptation of [[semweb:Property:Homepage|Semantic Web]].</noinclude>
This property specifies the '''URL of the homepage''' of something, which is a general web resource to learn more about a topic. Like all [[has type::URL|URLs]], it should begin with some known protocol such as "http:". This property also represents the [[FOAF]] property [[imported from::foaf:homepage]] within this wiki, i.e. it will be [[Help:RDF_export|exported]] as foaf:homepage. FOAF does not impose any requirements on the things that can have homepages, so this property can be used rather freely.
This property is a subproperty of [[subproperty of::Property:URL]], see that page and [[Type:URL]] for other URL properties on {{SITENAME}}.
== See also ==
* [[Property:URL]] (the "abstract" super property of all URLs here)
fe4f667c575ea0cf26de4a87852335a02539e095
Property:URL
102
334
655
654
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>This template is an adaptation of [[semweb:Template:Event|Semantic Web]].</noinclude>
This property specifies a general '''[[has type::URL]]''', but should normally not be used directly. Instead, use one of its [[Property:Subproperty of|subproperties]] as applicable:
* [[Property:Homepage]] (homepages of anything)
cfb4e7b3fae26cfb971c164a8d1954c141cdca5d
Category:Company page
14
335
657
656
2021-01-05T17:34:17Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Catmore|Template:Semantic Infobox Company}}
This category is automatically set up by a template.
6e5c6e1df9f865bbd355b494fbd5b76acb3ed40d
Category:University page
14
336
659
658
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Catmore|Template:Semantic Infobox University}}
This category is automatically set up by a template.
2b05f1a414e60aa5dfeb6938eba16c83a55d03fd
Template:Link to affiliation
10
337
661
660
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<sup>([[#affiliation {{{l1}}}|{{{l1}}}]]<!--
-->{{#if:{{{l2|}}}|,[[#affiliation {{{l2}}}|{{{l2}}}]]}})</sup><noinclude>
[[fr:Modèle:Lien affiliation]]
</noinclude>
2a8dc0b75440ad84d8f952500b5514f9dc79463a
Template:Affiliation anchor
10
338
663
662
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><span id="affiliation {{{l}}}">({{{l}}})</span></includeonly><noinclude>
This template is used in creating (or importing) an item in a list of affiliations.
This template has been tested in [[wicri-lor.en:BMC Pregnancy and Childbirth (2013) George]].
See also:[[Template:Link to affiliation]]
[[fr:Modèle:Ancre affiliation]]
</noinclude>
01a8d13d80d910053d0dc23e9b092bcc0becfbea
Template:Wicri see city/semantic
10
339
665
664
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#ask:[[Has location city::{{PAGENAME}}]] [[Category:Stand-alone event]]
| format=ul
| sep=,_
| intro=
;List of event <nowiki>:</nowiki>:}}{{#ask:[[Has city::{{PAGENAME}}]] [[Category:Laboratory||University||Hight school||Organism||Hospital]]
| format=ul
| sep=,_
| intro=
;List of organisms in this wiki<nowiki>:</nowiki>:}}{{#ask:[[Has city::{{PAGENAME}}]] [[Category:Person]]
| sep=,_
| intro=
;List of people living in this city<nowiki>:</nowiki>:}}
209f1e0fed64ae091c5cc3b6d6cb21e16e9b5f5c
Template:Wicri see city
10
340
667
666
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Modèle:Wicri thématique voir ville]]
</noinclude><includeonly>{{Wicri see city/semantic}}
{{Wicri see|reference={{{reference|}}}}}
[[Category:City]]
</includeonly>
334b4ddb872daa57cddb1925647e1831232d62dc
Template:Wicri see region/semantic
10
341
669
668
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#ask:[[Has region::{{PAGENAME}}]] [[Category:City]]
| sep=,_
| intro=
;List of cities from this region in this wiki:}}
{{#ask:[[Has region::{{PAGENAME}}]] [[Category:University||Hospital]]
| format=ul
| sep=,_
| intro=
;List of universities (hospital) from this region in this wiki:}}
2f5f85e5b02b7e168fdfbe6ecb31b2237d1bc942
Template:Wicri see region
10
342
671
670
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Modèle:Wicri thématique voir région]]
</noinclude><includeonly>{{Wicri see region/semantic}}
{{Wicri see|reference={{{reference|}}}}}
[[Category:Region]]
</includeonly>
0fafa4a00f205851d6f5159fbc0a520348ba0046
Template:Explor link
10
343
673
672
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#if:{{{url|}}}|[{{Explor link/Wiki|{{{wiki|}}}}}/Site/fr/{{{url|}}} {{{text|{{{area|}}}}}}]|
{{#if:{{{ftp|}}}|[{{Explor link/Wiki|{{{wiki|}}}}}/{{{ftp|}}} {{{text|{{{ftp|}}}}}}]|
{{#if:{{{type|}}}|{{#switch:{{{type}}}
|auteur=[{{Explor link/Area|{{{wiki|}}}}}/Site/fr/{{{stream|Main}}}/{{{step|Exploration}}}/indexItem.php?index=Author.i&key={{urlencode:{{{key|{{PAGENAME}}}}}}} {{{text|}}}]
|auteurAffiliation=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/autAff.php?index=AutAff.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|région=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffRegion.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|pays=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffPays.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|ville=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffVille.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|org=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=AffOrg.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|ISSN=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=ISSN.i&key={{urlencode:{{{clé|{{#show: {{PAGENAME}}| ?A pour ISSN}}}}}}} {{{texte|}}}]
|RBID=[{{Explor link/Wiki|{{{wiki|}}}}}/{{{area|}}}/Site/fr/{{{stream|Main}}}/{{{step|Exploration}}}/bibRecordById.php?id={{urlencode:{{{key|{{PAGENAME}}}}}}} {{{text|}}}]
|mot-clé Pascal=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=FC03.fr.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|mot-clé Wicri=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=Wicri.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|keyword=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index=KwdEn.i&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
|indexItem=[{{Explor link/Area|area={{{area|}}}|wiki={{{wiki|}}}}}/{{{flux|Main}}}/{{{étape|Exploration}}}/indexItem.php?index={{{index|}}}&key={{urlencode:{{{clé|{{PAGENAME}}}}}}} {{{texte|}}}]
}}}}}}}}</includeonly><noinclude>
[[fr:Modèle:Explor lien]]
</noinclude>
81e1c9e9541d7beb6a66430fca19546f6067bcb0
Template:Explor link/Wiki
10
344
675
674
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
Ce modèle renvoie l'URL de départ des corpus pour un wiki donné.
{{Explor lien/Liste des wikis}}
==Voir aussi==
:* [[Modèle:Explor lien/Liste des wikis]] - ce modèle donne la liste des wikis qui contiennent des serveurs d'exploration ;
[[fr:Template:Explor lien/Wiki]]
</noinclude>{{#switch:{{{1|}}}
|Agronomie=http://ticri.univ-lorraine.fr/Wicri/Agronomie/corpus
|Artist=http://ticri.univ-lorraine.fr/Tic/Artist/corpus
|Archéologie=http://ticri.univ-lorraine.fr/Wicri/Archeologie/corpus
|Allemagne=http://ticri.univ-lorraine.fr/Wicri/Allemagne/corpus
|Biomasse=http://ticri.univ-lorraine.fr/Wicri/Biomasse/corpus
|Bois=http://ticri.univ-lorraine.fr/Wicri/Bois/corpus
|Brésil=http://ticri.univ-lorraine.fr/Wicri/Bresil/corpus
|Europe=http://ticri.univ-lorraine.fr/Wicri/Europe/corpus
|France=http://ticri.univ-lorraine.fr/Wicri/France/corpus
|Informatique=http://ticri.univ-lorraine.fr/Wicri/Informatique/corpus
|Linguistique=http://ticri.univ-lorraine.fr/Wicri/Linguistique/corpus
|Lorraine=http://ticri.univ-lorraine.fr/Wicri/Lorraine/corpus
|Luxembourg=http://ticri.univ-lorraine.fr/Wicri/Luxembourg/corpus
|Maroc=http://ticri.univ-lorraine.fr/Wicri/Maroc/corpus
|Musique=http://ticri.univ-lorraine.fr/Wicri/Musique/corpus
|Psychologie=http://ticri.univ-lorraine.fr/Wicri/Psychologie/corpus
|R21-MSTR=http://ticri.univ-lorraine.fr/Lorraine/R21-MSTR/corpus
|Sarre=http://ticri.univ-lorraine.fr/Wicri/Sarre/corpus
|Sante=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Santé=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Terre=http://ticri.univ-lorraine.fr/Wicri/Terre/corpus
|Ticri=http://ticri.univ-lorraine.fr/Wicri/Ticri/corpus
|Ticri/CIDE=http://ticri.univ-lorraine.fr/Tic/CIDE/corpus
|H2PTM=http://ticri.univ-lorraine.fr/Tic/H2PTM/corpus
|Ticri/H2ptm=http://ticri.univ-lorraine.fr/Tic/H2PTM/corpus
|Wicri/Agronomie=http://ticri.univ-lorraine.fr/Wicri/Agronomie/corpus
|Wicri/Allemagne=http://ticri.univ-lorraine.fr/Wicri/Allemagne/corpus
|Wicri/Amérique=http://ticri.univ-lorraine.fr/Wicri/Amerique/corpus
|Wicri/Amerique=http://ticri.univ-lorraine.fr/Wicri/Amerique/corpus
|Wicri/Archeologie=http://ticri.univ-lorraine.fr/Wicri/Archeologie/corpus
|Wicri/Artist=http://ticri.univ-lorraine.fr/Tic/Artist/corpus
|Wicri/Belgique=http://ticri.univ-lorraine.fr/Wicri/Belgique/corpus
|Wicri/Biomasse=http://ticri.univ-lorraine.fr/Wicri/Biomasse/corpus
|Wicri/Bois=http://ticri.univ-lorraine.fr/Wicri/Bois/corpus
|Wicri/Bresil=http://ticri.univ-lorraine.fr/Wicri/Bresil/corpus
|Wicri/Eau=http://ticri.univ-lorraine.fr/Wicri/Eau/corpus
|Wicri/Europe=http://ticri.univ-lorraine.fr/Wicri/Europe/corpus
|Wicri/France=http://ticri.univ-lorraine.fr/Wicri/France/corpus
|Wicri/Informatique=http://ticri.univ-lorraine.fr/Wicri/Informatique/corpus
|Wicri/Linguistique=http://ticri.univ-lorraine.fr/Wicri/Linguistique/corpus
|Wicri/Lorraine=http://ticri.univ-lorraine.fr/Wicri/Lorraine/corpus
|Wicri/Luxembourg=http://ticri.univ-lorraine.fr/Wicri/Luxembourg/corpus
|Wicri/Manuel=http://ticri.univ-lorraine.fr/Wicri/Manuel/corpus
|Wicri/Maroc=http://ticri.univ-lorraine.fr/Wicri/Maroc/corpus
|Wicri/Musique=http://ticri.univ-lorraine.fr/Wicri/Musique/corpus
|Wicri/Psychologie=http://ticri.univ-lorraine.fr/Wicri/Psychologie/corpus
|Wicri/Sarre=http://ticri.univ-lorraine.fr/Wicri/Sarre/corpus
|Wicri/Sante=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Wicri/Santé=http://ticri.univ-lorraine.fr/Wicri/Sante/corpus
|Wicri/Terre=http://ticri.univ-lorraine.fr/Wicri/Terre/corpus
|Wicri/Ticri=http://ticri.univ-lorraine.fr/Wicri/Ticri/corpus
|Wicri/Wicri=http://ticri.univ-lorraine.fr/Wicri/Wicri/corpus
}}
3d4fe85669b14f35eb0a3a663d66e736e1224788
Template:Explor link/List of wikis
10
345
677
676
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
;Wicri communs:''Nomenclature recommandée (les codes sont non accentués pour faciliter une transcription en URI'')
{| class="wikitable sortable"
|-
!code classement
!code lien interwiki
!code wiki (file system)
|-
|a1
|wicri.fr
|[[wicri.fr:Serveur d'exploration|Wicri/Wicri]]
|-
|a3
|artist.fr
|[[artist.fr:Catégorie:Serveur d'exploration|Wicri/Artist]]
|-
|a2
|wicri-man.fr
|[[wicri-man.fr:Catégorie:Serveur d'exploration|Wicri/Manuel]]
|-
|g1am
|wicri-amerique.fr
|[[wicri-amerique.fr:Catégorie:Serveur d'exploration|Wicri/Amerique]]
|-
|g2eufr
|wicri-france.fr
|[[wicri-france.fr:Catégorie:Serveur d'exploration|Wicri/France]]
|-
|g2eufrlor
|wicri-lor.fr
|[[wicri-lor.fr:Catégorie:Serveur d'exploration|Wicri/Lorraine]]
|-
|t312
|wicri-agronomie.fr
|[[wicri-agronomie.fr:Catégorie:Serveur d'exploration|Wicri/Agronomie]]
|-
|t312
|wicri-eau.fr
|[[wicri-eau.fr:Catégorie:Serveur d'exploration|Wicri/Eau]]
|-
|t341
|wicri-archeologie.fr
|[[wicri-archeologie.fr:Catégorie:Serveur d'exploration|Wicri/Archeologie]]
|-
|t342
|wicri.linguistique.fr
|[[wicri-linguistique.fr:Catégorie:Serveur d'exploration|Wicri/Linguistique]]
|-
|t14
|ticri.fr
|[[ticri.fr:Catégorie:Serveur d'exploration|Wicri/Ticri]]
|-
|}
;Wikis communs:''nomenclature en cours de mutation''
* [[wicri-maroc.fr:Catégorie:Serveur d'exploration|Maroc]]
* [[wicri-bresil.fr:Catégorie:Serveur d'exploration|Brésil]]
* [[wicri-europe.fr:Catégorie:Serveur d'exploration|Europe]], [[wicri-lux.fr:Catégorie:Serveur d'exploration|Luxembourg]],
* [[wicri-allemagne.fr:Catégorie:Serveur d'exploration|Allemagne]], [[wicri-sarre.fr:Catégorie:Serveur d'exploration|Sarre]]
* [[wicri-france.fr:Catégorie:Serveur d'exploration|France]], [[wicri-lor.fr:Catégorie:Serveur d'exploration|Lorraine]]
* [[wicri-bois.fr:Catégorie:Serveur d'exploration|Bois]], [[wicri-terre.fr:Catégorie:Serveur d'exploration|Terre]],
* [[ticri.fr:Catégorie:Serveur d'exploration|Ticri]], [[artist.fr:Catégorie:Serveur d'exploration|Artist]], [[ticri-h2ptm.fr:Catégorie:Serveur d'exploration|H2PTM]],
* [[wicri-agronomie.fr:Serveur d'exploration|Agronomie]], [[wicri-archeologie.fr:Serveur d'exploration|Archéologie]], [[wicri-biomasse.fr:Serveur d'exploration|Biomasse]], [[wicri-informatique.fr:Serveur d'exploration|Informatique]], [[wicri-linguistique.fr:Serveur d'exploration|Linguistique]], [[wicri-musique.fr:Serveur d'exploration|Musique]], [[wicri-psycho.fr:Serveur d'exploration|Psychologie]], [[wicri-sante.fr:Serveur d'exploration|Santé]], [[ticri.fr:Serveur d'exploration|Ticri]]
;Wikis associés:
* [[udl-r21-mstr.fr:Catégorie:Serveur d'exploration|R21-MSTR]]
<noinclude>
[[fr:Modèle:Explor lien/Liste des wikis]]
</noinclude>
d88fefc162896b3523863183c263cc5d6a749350
Template:EuroVoc domains - list 2
10
346
679
678
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
* 04 '''[[:Category:Politics|Politics]]'''
: 0406 [[:Category:political framework|political framework]]
: 0411 [[:Category:political party|political party]]
: 0416 [[:Category:electoral procedure and voting|electoral procedure and voting]]
: 0421 [[:Category:parliament|parliament]]
: 0426 [[:Category:parliamentary proceedings|parliamentary proceedings]]
: 0431 [[:Category:politics and public safety|politics and public safety]]
: 0436 [[:Category:executive power and public service|executive power and public service]]
* 08 '''[[:Category:International relations|International relations]]'''
: 0806 [[:Category:international affairs|international affairs]]
: 0811 [[:Category:cooperation policy|cooperation policy]]
: 0816 [[:Category:international balance|international balance]]
: 0821 [[:Category:defence|defence]]
* 10 '''[[:Category:European communities|European communities]]'''
: 1006 [[:Category:Community institutions and European civil service|Community institutions and European civil service]]
: 1011 [[:Category:European Union law|European Union law]]
: 1016 [[:Category:European construction|European construction]]
: 1021 [[:Category:Community finance|Community finance]]
* 12 '''[[:Category:Law|Law]]'''
: 1206 [[:Category:sources and branches of the law|sources and branches of the law]]
: 1211 [[:Category:civil law|civil law]]
: 1216 [[:Category:criminal law|criminal law]]
: 1221 [[:Category:justice|justice]]
: 1226 [[:Category:organisation of the legal system|organisation of the legal system]]
: 1231 [[:Category:international law|international law]]
: 1236 [[:Category:rights and freedoms|rights and freedoms]]
* 16 '''[[:Category:Economics|Economics]]'''
: 1606 [[:Category:economic policy|economic policy]]
: 1611 [[:Category:economic growth|economic growth]]
: 1616 [[:Category:regions and regional policy|regions and regional policy]]
: 1621 [[:Category:economic structure|economic structure]]
: 1626 [[:Category:national accounts|national accounts]]
: 1631 [[:Category:economic analysis|economic analysis]]
* 20 '''[[:Category:Trade|Trade]]'''
: 2006 [[:Category:trade policy|trade policy]]
: 2011 [[:Category:tariff policy|tariff policy]]
: 2016 [[:Category:trade|trade]]
: 2021 [[:Category:international trade|international trade]]
: 2026 [[:Category:consumption|consumption]]
: 2031 [[:Category:marketing|marketing]]
: 2036 [[:Category:distributive trades|distributive trades]]
* 24 '''[[:Category:Finance|Finance]]'''
: 2406 [[:Category:monetary relations|monetary relations]]
: 2411 [[:Category:monetary economics|monetary economics]]
: 2416 [[:Category:financial institutions and credit|financial institutions and credit]]
: 2421 [[:Category:free movement of capital|free movement of capital]]
: 2426 [[:Category:financing and investment|financing and investment]]
: 2431 [[:Category:insurance|insurance]]
: 2436 [[:Category:public finance and budget policy|public finance and budget policy]]
: 2441 [[:Category:budget|budget]]
: 2446 [[:Category:taxation|taxation]]
: 2451 [[:Category:prices|prices]]
* 28 '''[[:Category:Social questions|Social questions]]'''
: 2806 [[:Category:family|family]]
: 2811 [[:Category:migration|migration]]
: 2816 [[:Category:demography and population|demography and population]]
: 2821 [[:Category:social framework|social framework]]
: 2826 [[:Category:social affairs|social affairs]]
: 2831 [[:Category:culture and religion|culture and religion]]
: 2836 [[:Category:social protection|social protection]]
: 2841 [[:Category:health|health]]
: 2846 [[:Category:construction and town planning|construction and town planning]]
* 32 '''[[:Category:Education and communications|Education and communications]]'''
: 3206 [[:Category:education|education]]
: 3211 [[:Category:teaching|teaching]]
: 3216 [[:Category:organisation of teaching|organisation of teaching]]
: 3221 [[:Category:documentation|documentation]]
: 3226 [[:Category:communications|communications]]
: 3231 [[:Category:information and information processing|information and information processing]]
: 3236 [[:Category:information technology and data processing|information technology and data processing]]
* 36 '''[[:Category:Science|Science]]'''
: 3606 [[:Category:natural and applied sciences|natural and applied sciences]]
: 3611 [[:Category:humanities|humanities]]
* 40 '''[[:Category:Business and competition|Business and competition]]'''
: 4006 [[:Category:business organisation|business organisation]]
: 4011 [[:Category:business classification|business classification]]
: 4016 [[:Category:legal form of organisations|legal form of organisations]]
: 4021 [[:Category:management|management]]
: 4026 [[:Category:accounting|accounting]]
: 4031 [[:Category:competition|competition]]
* 44 '''[[:Category:Employment and working conditions|Employment and working conditions]]'''
: 4406 [[:Category:employment|employment]]
: 4411 [[:Category:labour market|labour market]]
: 4416 [[:Category:organisation of work and working conditions|organisation of work and working conditions]]
: 4421 [[:Category:personnel management and staff remuneration|personnel management and staff remuneration]]
: 4426 [[:Category:labour law and labour relations|labour law and labour relations]]
* 48 '''[[:Category:Transport|Transport]]'''
: 4806 [[:Category:transport policy|transport policy]]
: 4811 [[:Category:organisation of transport|organisation of transport]]
: 4816 [[:Category:land transport|land transport]]
: 4821 [[:Category:maritime and inland waterway transport|maritime and inland waterway transport]]
: 4826 [[:Category:air and space transport|air and space transport]]
* 52 '''[[:Category:Environment|Environment]]'''
: 5206 [[:Category:environmental policy|environmental policy]]
: 5211 [[:Category:natural environment|natural environment]]
: 5216 [[:Category:deterioration of the environment|deterioration of the environment]]
* 56 '''[[:Category:Agriculture, forestry and fisheries|Agriculture, forestry and fisheries]]'''
: 5606 [[:Category:agricultural policy|agricultural policy]]
: 5611 [[:Category:agricultural structures and production|agricultural structures and production]]
: 5616 [[:Category:farming systems|farming systems]]
: 5621 [[:Category:cultivation of agricultural land|cultivation of agricultural land]]
: 5626 [[:Category:means of agricultural production|means of agricultural production]]
: 5631 [[:Category:agricultural activity|agricultural activity]]
: 5636 [[:Category:forestry|forestry]]
: 5641 [[:Category:fisheries|fisheries]]
* 60 '''[[:Category:Agri-foodstuffs|Agri-foodstuffs]]'''
: 6006 [[:Category:plant product|plant product]]
: 6011 [[:Category:animal product|animal product]]
: 6016 [[:Category:processed agricultural produce|processed agricultural produce]]
: 6021 [[:Category:beverages and sugar|beverages and sugar]]
: 6026 [[:Category:foodstuff|foodstuff]]
: 6031 [[:Category:agri-foodstuffs|agri-foodstuffs]]
: 6036 [[:Category:food technology|food technology]]
* 64 '''[[:Category:Production, technology and research|Production, technology and research]]'''
: 6406 [[:Category:production|production]]
: 6411 [[:Category:technology and technical regulations|technology and technical regulations]]
: 6416 [[:Category:research and intellectual property|research and intellectual property]]
* 66 '''[[:Category:Energy|Energy]]'''
: 6606 [[:Category:energy policy|energy policy]]
: 6611 [[:Category:coal and mining industries|coal and mining industries]]
: 6616 [[:Category:oil industry|oil industry]]
: 6621 [[:Category:electrical and nuclear industries|electrical and nuclear industries]]
: 6626 [[:Category:soft energy|soft energy]]
* 68 '''[[:Category:Industry|Industry]]'''
: 6806 [[:Category:industrial structures and policy|industrial structures and policy]]
: 6811 [[:Category:chemistry|chemistry]]
: 6816 [[:Category:iron, steel and other metal industries|iron, steel and other metal industries]]
: 6821 [[:Category:mechanical engineering|mechanical engineering]]
: 6826 [[:Category:electronics and electrical engineering|electronics and electrical engineering]]
: 6831 [[:Category:building and public works|building and public works]]
: 6836 [[:Category:wood industry|wood industry]]
: 6841 [[:Category:leather and textile industries|leather and textile industries]]
: 6846 [[:Category:miscellaneous industries|miscellaneous industries]]
* 72 '''[[:Category:Geography|Geography]]'''
: 7206 [[:Category:Europe|Europe]]
: 7211 [[:Category:regions of EU Member States|regions of EU Member States]]
: 7216 [[:Category:America|America]]
: 7221 [[:Category:Africa|Africa]]
: 7226 [[:Category:Asia and Oceania|Asia and Oceania]]
: 7231 [[:Category:economic geography|economic geography]]
: 7236 [[:Category:political geography|political geography]]
: 7241 [[:Category:overseas countries and territories|overseas countries and territories]]
* 76 '''[[:Category:International organisations|International organisations]]'''
: 7606 [[:Category:United Nations|United Nations]]
: 7611 [[:Category:European organisations|European organisations]]
: 7616 [[:Category:extra-European organisations|extra-European organisations]]
: 7621 [[:Category:world organisations|world organisations]]
: 7626 [[:Category:non-governmental organisations|non-governmental organisations]]
<noinclude>
[[fr:Modèle:Domaines EuroVoc liste 2]]
</noinclude>
1e07820bf16566bcd066a02914d966ed0e7c8950
Template:EuroVoc domains - list 1.2
10
347
681
680
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Begin 2 columns}}
* [[:Category:Politics|Politics]]
* [[:Category:International relations|International relations]]
* [[:Category:European communities|European communities]]
* [[:Category:Law|Law]]
* [[:Category:Economics|Economics]]
* [[:Category:Trade|Trade]]
* [[:Category:Finance|Finance]]
* [[:Category:Social questions|Social questions]]
* [[:Category:Education and communications|Education and communications]]
* [[:Category:Science|Science]]
{{Skip 2 columns}}
* [[:Category:Business and competition|Business and competition]]
* [[:Category:Employment and working conditions|Employment and working conditions]]
* [[:Category:Transport|Transport]]
* [[:Category:Environment|Environment]]
* [[:Category:Agriculture, forestry and fisheries|Agriculture, forestry and fisheries]]
* [[:Category:Agri-foodstuffs|Agri-foodstuffs]]
* [[:Category:Production, technology and research|Production, technology and research]]
* [[:Category:Energy|Energy]]
* [[:Category:Industry|Industry]]
* [[:Category:Geography|Geography]]
* [[:Category:International organisations|International organisations]]
{{End 2 columns}}
89a10e561f171a75c83b8c1777a96422781010ed
Template:Copyright EuroVoc
10
348
683
682
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 25em"
|- style="background: #fdc82f;"
|<center>'''Copyright EuroVoc'''</center>
|-
|<center>Reproduit et adapté des éditions linguistiques originales du Thésaurus EuroVoc (édition 4.3)
----
© European Union, 2010<br/>
----
Reproduction and adaptation under the exclusive responsability of Institut national polytechnique de Lorraine (INPL)
----
[http://eurovoc.europa.eu/drupal/ EuroVoc web site]
----
La [[wicri-meta.fr:EuroVoc|page de référence EuroVoc]] sur le réseau Wicri</center>
|}<noinclude>[[fr:Modèle:Copyright EuroVoc]]</noinclude>
8d308193d58c95ee1c8aab3976bd72309fd78ad9
Category:Science
14
349
685
684
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>
[[fr:Catégorie:Sciences]]
</noinclude>
3084a8a87dce5bb19f3d3cffdc16232a906fb9b0
Category:Humanities
14
350
687
686
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Science]]
[[fr:Catégorie:Sciences humaines]]
fe3e0e45ce3c84d7d2d56c44380a69d51773d978
Category:Behavioural sciences
14
351
689
688
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This category is aligned with [[EuroVoc]] thesaurus (with the same name as identifier).
* http://eurovoc.europa.eu/drupal/?q=fr/request&view=pt&termuri=http://eurovoc.europa.eu/216571&language=en
[[Category:Humanities]]
[[fr:Catégorie:Sciences du comportement]]
be81753cc5f6e92fcb5a4bf08d782ec14bcd0b1a
Category:Psychology
14
352
691
690
2021-01-05T17:34:18Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
This category is aligned with [[EuroVoc]] thesaurus (with the same name as identifier).
* http://eurovoc.europa.eu/drupal/?q=fr/request&view=pt&termuri=http://eurovoc.europa.eu/216564&language=en
[[Category:Behavioural sciences]]
[[fr:Catégorie:Psychologie]]
664f59692fbe0a643cca777240f02c7ef46ccaaa
Category:EuroVoc
14
353
693
692
2021-01-05T17:34:19Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{catmore}}
{{Template:Category navbox
|title=EuroVoc's Domains
|text={{EuroVoc domains - list 2}}
}}
[[fr:Catégorie:EuroVoc]]
78c4c4258a50701a4ba35ec90d8cd1f5f0dc97c9
Category:EuroVoc domain
14
354
695
694
2021-01-05T17:34:19Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[category:EuroVoc]]
[[fr:Catégorie:Domaine EuroVoc]]
9bc8648e217fee4b9323b3b4c926bba698a93097
Category:Production, technology and research
14
355
697
696
2021-01-05T17:34:19Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:EuroVoc domain]]
[[fr:Catégorie:Production, technologie et recherche]]
a9a463d35d34be7cbc6dd2090c83f8fb0cc202da
Category:Technology and technical regulations
14
356
699
698
2021-01-05T17:34:19Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Production, technology and research]]
12e0c77e6b4abc0601f6853101b31d5b9b25c6cd
Category:Biotechnology
14
357
701
700
2021-01-05T17:34:19Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Technology and technical regulations]]
b0d39242befddae5eb3733f7eb60d55a8596a744
Category:Biomass
14
358
703
702
2021-01-05T17:34:19Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:Biotechnology]]
[[fr:Catégorie:Biomasse]]
a70d82ce9163f2cf96c8a15b995822e4921e50de
Category:Archaeology
14
359
705
704
2021-01-05T17:34:19Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
[[Category:social sciences]]
[[fr:Catégorie:Archéologie]]
[[de:Kategorie:Archäologie]]
0b28542d1eb117c2bd8d12423a2d61899a158b39
Template:Taxobox
10
360
707
706
2021-01-05T17:34:19Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly><!--See parser bug T18700--><nowiki/>{{Taxobox/core
| colour = {{#if:{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}|{{Taxobox colour|{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}}}|{{Taxobox colour|{{if empty
|{{Sets taxobox colour|{{{phylum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_phylum|{{{unranked phylum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{divisio|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_divisio|{{{unranked divisio|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{superphylum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_superphylum|{{{unranked superphylum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{superdivisio|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_superdivisio|{{{unranked superdivisio|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{subregnum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_subregnum|{{{unranked subregnum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{regnum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_regnum|{{{unranked regnum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{superregnum|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_superregnum|{{{unranked superregnum|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{domain|}}}|sep=}}
|{{Sets taxobox colour|{{{unranked_domain|{{{unranked domain|}}}}}}|sep=}}
|{{Sets taxobox colour|{{{virus_group|{{{virus group|}}}}}}|sep=}}
|Error}}}}}}
| name = {{#if:{{{name|}}}|{{{name}}}|{{Taxobox name|{{{genus}}}|{{{species}}}|{{{binomial}}}}}}}
| status = {{{status|}}}
| status_system = {{{status_system|{{{status system|}}}}}}
| status_ref = {{{status_ref|{{{status ref|}}}}}}
| status2 = {{{status2|}}}
| status2_system = {{{status2_system|{{{status2 system|}}}}}}
| status2_ref = {{{status2_ref|{{{status2 ref|}}}}}}
| trend = {{{trend|}}}
| extinct = {{{extinct|}}}
| temporal_range = {{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}
| image = {{{image|}}}
| image_width = {{{image_width|{{{image width|}}}}}}
| upright = {{{image_upright|{{{image upright|}}}}}}
| image_alt = {{{image_alt|{{{image alt|}}}}}}
| image_caption = {{{image_caption|{{{image caption|}}}}}}
| image_caption_align = {{{image_caption_align|{{{image caption align|center}}}}}}
| image2 = {{{image2|}}}
| image2_width = {{{image2_width|{{{image2 width|}}}}}}
| upright2 = {{{image2_upright|{{{image2 upright|}}}}}}
| image2_alt = {{{image2_alt|{{{image2 alt|}}}}}}
| image2_caption = {{{image2_caption|{{{image2 caption|}}}}}}
| classification_status = {{{classification_status|{{{classification status|}}}}}}
| virus_group = {{{virus_group|{{{virus group|}}}}}}
| unranked_superdomain = {{{unranked_superdomain|{{{unranked superdomain|}}} }}}
| unranked_superdomain_authority = {{{unranked_superdomain_authority|{{{unranked superdomain authority|}}}}}}
| superdomain = {{{superdomain|}}}
| superdomain_authority = {{{superdomaindomain_authority|{{{superdomaindomain authority|}}}}}}
| unranked_domain= {{{unranked_domain|{{{unranked domain|}}}}}}
| unranked_domain_authority = {{{unranked_domain_authority|{{{unranked domain authority|}}}}}}
| domain = {{{domain|}}}
| domain_authority = {{{domain_authority|{{{domain authority|}}}}}}
| unranked_superregnum= {{{unranked_superregnum|{{{unranked superregnum|}}}}}}
| unranked_superregnum_authority = {{{unranked_superregnum_authority|{{{unranked superregnum authority|}}}}}}
| superregnum = {{{superregnum|}}}
| superregnum_authority = {{{superregnum_authority|{{{superregnum authority|}}}}}}
| unranked_regnum = {{{unranked_regnum|{{{unranked regnum|}}}}}}
| unranked_regnum_authority = {{{unranked_regnum_authority|{{{unranked regnum authority|}}}}}}
| regnum = {{{regnum|}}}
| regnum_authority = {{{regnum_authority|{{{regnum authority|}}}}}}
| unranked_subregnum= {{{unranked_subregnum|{{{unranked subregnum|}}}}}}
| unranked_subregnum_authority = {{{unranked_subregnum_authority|{{{unranked subregnum authority|}}}}}}
| subregnum = {{{subregnum|}}}
| subregnum_authority = {{{subregnum_authority|{{{subregnum authority|}}}}}}
| unranked_superdivisio= {{{unranked_superdivisio|{{{unranked superdivisio|}}}}}}
| unranked_superdivisio_authority = {{{unranked_superdivisio_authority|{{{unranked superdivisio authority|}}}}}}
| superdivisio = {{{superdivisio|}}}
| superdivisio_authority = {{{superdivisio_authority|{{{superdivisio authority|}}}}}}
| unranked_superphylum= {{{unranked_superphylum|{{{unranked superphylum|}}}}}}
| unranked_superphylum_authority = {{{unranked_superphylum_authority|{{{unranked superphylum authority|}}}}}}
| superphylum = {{{superphylum|}}}
| superphylum_authority = {{{superphylum_authority|{{{superphylum authority|}}}}}}
| unranked_divisio = {{{unranked_divisio|{{{unranked divisio|}}}}}}
| unranked_divisio_authority = {{{unranked_divisio_authority|{{{unranked divisio authority|}}} }}}
| divisio = {{{divisio|}}}
| divisio_authority = {{{divisio_authority|{{{divisio authority|}}}}}}
| unranked_phylum= {{{unranked_phylum|{{{unranked phylum|}}}}}}
| unranked_phylum_authority = {{{unranked_phylum_authority|{{{unranked phylum authority|}}}}}}
| phylum = {{{phylum|}}}
| phylum_authority = {{{phylum_authority|{{{phylum authority|}}}}}}
| unranked_subdivisio= {{{unranked_subdivisio|{{{unranked subdivisio|}}}}}}
| unranked_subdivisio_authority = {{{unranked_subdivisio_authority|{{{unranked subdivisio authority|}}}}}}
| subdivisio = {{{subdivisio|}}}
| subdivisio_authority = {{{subdivisio_authority|{{{subdivisio authority|}}}}}}
| unranked_subphylum= {{{unranked_subphylum|{{{unranked subphylum|}}}}}}
| unranked_subphylum_authority = {{{unranked_subphylum_authority|{{{unranked subphylum authority|}}}}}}
| subphylum = {{{subphylum|}}}
| subphylum_authority = {{{subphylum_authority|{{{subphylum authority|}}}}}}
| unranked_infraphylum= {{{unranked_infraphylum|{{{unranked infraphylum|}}}}}}
| unranked_infraphylum_authority = {{{unranked_infraphylum_authority|{{{unranked infraphylum authority|}}}}}}
| infraphylum = {{{infraphylum|}}}
| infraphylum_authority = {{{infraphylum_authority|{{{infraphylum authority|}}}}}}
| unranked_microphylum= {{{unranked_microphylum|{{{unranked microphylum|}}}}}}
| unranked_microphylum_authority = {{{unranked_microphylum_authority|{{{unranked microphylum authority|}}}}}}
| microphylum = {{{microphylum|}}}
| microphylum_authority = {{{microphylum_authority|{{{microphylum authority|}}}}}}
| unranked_nanophylum= {{{unranked_nanophylum|{{{unranked nanophylum|}}}}}}
| unranked_nanophylum_authority = {{{unranked_nanophylum_authority|{{{unranked nanophylum authority|}}}}}}
| nanophylum = {{{nanophylum|}}}
| nanophylum_authority = {{{nanophylum_authority|{{{nanophylum authority|}}}}}}
| unranked_superclassis= {{{unranked_superclassis|{{{unranked superclassis|}}}}}}
| unranked_superclassis_authority = {{{unranked_superclassis_authority|{{{unranked superclassis authority|}}}}}}
| superclassis = {{{superclassis|}}}
| superclassis_authority = {{{superclassis_authority|{{{superclassis authority|}}}}}}
| unranked_classis = {{{unranked_classis|{{{unranked classis|}}}}}}
| unranked_classis_authority = {{{unranked_classis_authority|{{{unranked classis authority|}}}}}}
| classis = {{{classis|}}}
| classis_authority = {{{classis_authority|{{{classis authority|}}}}}}
| unranked_subclassis = {{{unranked_subclassis|{{{unranked subclassis|}}}}}}
| unranked_subclassis_authority = {{{unranked_subclassis_authority|{{{unranked subclassis authority|}}}}}}
| subclassis = {{{subclassis|}}}
| subclassis_authority = {{{subclassis_authority|{{{subclassis authority|}}}}}}
| unranked_infraclassis = {{{unranked_infraclassis|{{{unranked infraclassis|}}}}}}
| unranked_infraclassis_authority = {{{unranked_infraclassis_authority|{{{unranked infraclassis authority|}}}}}}
| infraclassis = {{{infraclassis|}}}
| infraclassis_authority = {{{infraclassis_authority|{{{infraclassis authority|}}}}}}
| unranked_magnordo= {{{unranked_magnordo|{{{unranked magnordo|}}}}}}
| unranked_magnordo_authority = {{{unranked_magnordo_authority|{{{unranked magnordo authority|}}}}}}
| magnordo = {{{magnordo|}}}
| magnordo_authority = {{{magnordo_authority|{{{magnordo authority|}}}}}}
| unranked_superordo= {{{unranked_superordo|{{{unranked superordo|}}}}}}
| unranked_superordo_authority = {{{unranked_superordo_authority|{{{unranked superordo authority|}}}}}}
| superordo = {{{superordo|}}}
| superordo_authority = {{{superordo_authority|{{{superordo authority|}}}}}}
| unranked_ordo = {{{unranked_ordo|{{{unranked ordo|}}}}}}
| unranked_ordo_authority = {{{unranked_ordo_authority|{{{unranked ordo authority|}}}}}}
| ordo = {{{ordo|}}}
| ordo_authority = {{{ordo_authority|{{{ordo authority|}}}}}}
| unranked_subordo= {{{unranked_subordo|{{{unranked subordo|}}}}}}
| unranked_subordo_authority = {{{unranked_subordo_authority|{{{unranked subordo authority|}}}}}}
| subordo = {{{subordo|}}}
| subordo_authority = {{{subordo_authority|{{{subordo authority|}}}}}}
| unranked_infraordo= {{{unranked_infraordo|{{{unranked infraordo|}}}}}}
| unranked_infraordo_authority = {{{unranked_infraordo_authority|{{{unranked infraordo authority|}}}}}}
| infraordo = {{{infraordo|}}}
| infraordo_authority = {{{infraordo_authority|{{{infraordo authority|}}}}}}
| unranked_parvordo= {{{unranked_parvordo|{{{unranked parvordo|}}}}}}
| unranked_parvordo_authority = {{{unranked_parvordo_authority|{{{unranked parvordo authority|}}}}}}
| parvordo = {{{parvordo|}}}
| parvordo_authority = {{{parvordo_authority|{{{parvordo authority|}}}}}}
| zoodivisio = {{{zoodivisio|}}}
| zoodivisio_authority = {{{zoodivisio_authority|{{{zoodivisio authority|}}}}}}
| unranked_zoosectio = {{{unranked_zoosectio|{{{unranked zoosectio|}}}}}}
| unranked_zoosectio_authority = {{{unranked_zoosectio_authority|{{{unranked zoosectio authority|}}}}}}
| zoosectio = {{{zoosectio|}}}
| zoosectio_authority = {{{zoosectio_authority|{{{zoosectio authority|}}}}}}
| unranked_zoosubsectio = {{{unranked_zoosubsectio|{{{unranked zoosubsectio|}}}}}}
| unranked_zoosubsectio_authority = {{{unranked_zoosubsectio_authority|{{{unranked zoosubsectio authority|}}}}}}
| zoosubsectio = {{{zoosubsectio|}}}
| zoosubsectio_authority = {{{zoosubsectio_authority|{{{zoosubsectio authority|}}}}}}
| unranked_superfamilia= {{{unranked_superfamilia|{{{unranked superfamilia|}}}}}}
| unranked_superfamilia_authority = {{{unranked_superfamilia_authority|{{{unranked superfamilia authority|}}}}}}
| superfamilia = {{{superfamilia|}}}
| superfamilia_authority = {{{superfamilia_authority|{{{superfamilia authority|}}}}}}
| unranked_familia = {{{unranked_familia|{{{unranked familia|}}}}}}
| unranked_familia_authority = {{{unranked_familia_authority|{{{unranked familia authority|}}}}}}
| familia = {{{familia|}}}
| familia_authority = {{{familia_authority|{{{familia authority|}}}}}}
| unranked_subfamilia = {{{unranked_subfamilia|{{{unranked subfamilia|}}}}}}
| unranked_subfamilia_authority = {{{unranked_subfamilia_authority|{{{unranked subfamilia authority|}}}}}}
| subfamilia = {{{subfamilia|}}}
| subfamilia_authority = {{{subfamilia_authority|{{{subfamilia authority|}}}}}}
| unranked_supertribus = {{{unranked_supertribus|{{{unranked supertribus|}}}}}}
| unranked_supertribus_authority = {{{unranked_supertribus_authority|{{{unranked supertribus authority|}}}}}}
| supertribus = {{{supertribus|}}}
| supertribus_authority = {{{supertribus_authority|{{{supertribus authority|}}}}}}
| unranked_tribus = {{{unranked_tribus|{{{unranked tribus|}}}}}}
| unranked_tribus_authority = {{{unranked_tribus_authority|{{{unranked tribus authority|}}}}}}
| tribus = {{{tribus|}}}
| tribus_authority = {{{tribus_authority|{{{tribus authority|}}}}}}
| unranked_subtribus = {{{unranked_subtribus|{{{unranked subtribus|}}}}}}
| unranked_subtribus_authority = {{{unranked_subtribus_authority|{{{unranked subtribus authority|}}}}}}
| subtribus = {{{subtribus|}}}
| subtribus_authority = {{{subtribus_authority|{{{subtribus authority|}}}}}}
| unranked_alliance = {{{unranked_alliance|{{{unranked alliance|}}}}}}
| unranked_alliance_authority = {{{unranked_alliance_authority|{{{unranked alliance authority|}}}}}}
| alliance = {{{alliance|}}}
| alliance_authority = {{{alliance_authority|{{{alliance authority|}}}}}}
| unranked_genus = {{{unranked_genus|{{{unranked genus|}}}}}}
| unranked_genus_authority = {{{unranked_genus_authority|{{{unranked genus authority|}}}}}}
| genus = {{{genus|}}}
| genus_authority = {{{genus_authority|{{{genus authority|}}}}}}
| unranked_subgenus = {{{unranked_subgenus|{{{unranked subgenus|}}}}}}
| unranked_subgenus_authority = {{{unranked_subgenus_authority|{{{unranked subgenus authority|}}}}}}
| subgenus = {{{subgenus|}}}
| subgenus_authority = {{{subgenus_authority|{{{subgenus authority|}}}}}}
| unranked_sectio = {{{unranked_sectio|{{{unranked sectio|}}}}}}
| unranked_sectio_authority = {{{unranked_sectio_authority|{{{unranked sectio authority|}}}}}}
| sectio = {{{sectio|}}}
| sectio_authority = {{{sectio_authority|{{{sectio authority|}}}}}}
| unranked_subsectio = {{{unranked_subsectio|{{{unranked subsectio|}}}}}}
| unranked_subsectio_authority = {{{unranked_subsectio_authority|{{{unranked subsectio authority|}}}}}}
| subsectio = {{{subsectio|}}}
| subsectio_authority = {{{subsectio_authority|{{{subsectio authority|}}}}}}
| unranked_series = {{{unranked_series|{{{unranked series|}}}}}}
| unranked_series_authority = {{{unranked_series_authority|{{{unranked series authority|}}}}}}
| series = {{{series|}}}
| series_authority = {{{series_authority|{{{series authority|}}}}}}
| unranked_subseries = {{{unranked_subseries|{{{unranked subseries|}}}}}}
| unranked_subseries_authority = {{{unranked_subseries_authority|{{{unranked subseries authority|}}}}}}
| subseries = {{{subseries|}}}
| subseries_authority = {{{subseries_authority|{{{subseries authority|}}}}}}
| unranked_species_group = {{{unranked_species_group|{{{unranked species group|}}}}}}
| unranked_species_group_authority = {{{unranked_species_group_authority|{{{unranked species group authority|}}}}}}
| species_group = {{{species_group|{{{species group|}}}}}}
| species_group_authority = {{{species_group_authority|{{{species group authority|}}}}}}
| unranked_species_subgroup = {{{unranked_species_subgroup|{{{unranked species subgroup|}}}}}}
| unranked_species_subgroup_authority = {{{unranked_species_subgroup_authority|{{{unranked species subgroup authority|}}}}}}
| species_subgroup = {{{species_subgroup|{{{species subgroup|}}}}}}
| species_subgroup_authority = {{{species_subgroup_authority|{{{species subgroup authority|}}}}}}
| unranked_species_complex = {{{unranked_species_complex|{{{unranked species complex|}}}}}}
| unranked_species_complex_authority = {{{unranked_species_complex_authority|{{{unranked species complex authority|}}}}}}
| species_complex = {{{species_complex|{{{species complex|}}}}}}
| species_complex_authority = {{{species_complex_authority|{{{species complex authority|}}}}}}
| unranked_species = {{{unranked_species|{{{unranked species|}}}}}}
| unranked_species_authority = {{{unranked_species_authority|{{{unranked species authority|}}}}}}
| species = {{{species|}}}
| species_authority = {{{species_authority|}}}
| unranked_subspecies = {{{unranked_subspecies|{{{unranked subspecies|}}}}}}
| unranked_subspecies_authority = {{{unranked_subspecies_authority|{{{unranked subspecies authority|}}}}}}
| subspecies = {{{subspecies|}}}
| subspecies_authority = {{{subspecies_authority|{{{subspecies authority|}}}}}}
| unranked_variety = {{{unranked_variety|{{{unranked variety|{{{unranked_varietas|{{{unranked varietas|}}}}}}}}}}}}
| unranked_variety_authority = {{{unranked_variety_authority|{{{unranked_varietas_authority|}}}}}}
| variety = {{{variety|{{{varietas|}}}}}}
| variety_authority = {{{variety_authority|{{{variety authority|{{{varietas_authority|{{{varietas authority|}}}}}}}}}}}}
| forma = {{{forma|}}}
| forma_authority = {{{forma_authority|{{{forma authority|}}}}}}
| diversity = {{{diversity|}}}
| diversity_ref = {{{diversity_ref|}}}
| diversity_link = {{{diversity_link|{{{diversity link|}}}}}}
| binomial = {{{binomial|}}}
| binomial_authority = {{{binomial_authority|{{{binomial authority|}}}}}}
| trinomial = {{{trinomial|}}}
| trinomial_authority = {{{trinomial_authority|{{{trinomial authority|}}}}}}
| type_genus = {{{type_genus|{{{type genus|}}}}}}
| type_genus_authority = {{{type_genus_authority|{{{type genus authority|}}}}}}
| type_species = {{{type_species|{{{type species|}}}}}}
| type_species_authority = {{{type_species_authority|{{{type species authority|}}}}}}
| subdivision = {{{subdivision|}}}
| subdivision_ranks = {{{subdivision_ranks|{{{subdivision ranks|}}}}}}
| type_strain = {{{type_strain|{{{type strain|}}}}}}
| range_map = {{{range_map|{{{range map|}}}}}}
| range_map_upright = {{{range_map_upright|{{{range map upright|}}}}}}
| range_map_width = {{{range_map_width|{{{range map width|}}}}}}
| range_map_alt = {{{range_map_alt|{{{range map alt|}}}}}}
| range_map_caption = {{{range_map_caption|{{{range map caption|}}}}}}
| binomial2 = {{{binomial2|}}}
| binomial2_authority = {{{binomial2_authority|{{{binomial2 authority|}}}}}}
| range_map2 = {{{range_map2|{{{range map2|}}}}}}
| range_map2_upright = {{{range_map2_upright|{{{range map2 upright|}}}}}}
| range_map2_width = {{{range_map2_width|{{{range map2 width|}}}}}}
| range_map2_alt = {{{range_map2_alt|{{{range map2 alt|}}}}}}
| range_map2_caption = {{{range_map2_caption|{{{range map2 caption|}}}}}}
| binomial3 = {{{binomial3|}}}
| binomial3_authority = {{{binomial3_authority|{{{binomial3 authority|}}}}}}
| range_map3 = {{{range_map3|{{{range map3|}}}}}}
| range_map3_upright = {{{range_map3_upright|{{{range map3 upright|}}}}}}
| range_map3_width = {{{range_map3_width|{{{range map3 width|}}}}}}
| range_map3_alt = {{{range_map3_alt|{{{range map3 alt|}}}}}}
| range_map3_caption = {{{range_map3_caption|{{{range map3 caption|}}}}}}
| binomial4 = {{{binomial4|}}}
| binomial4_authority = {{{binomial4_authority|{{{binomial4 authority|}}}}}}
| range_map4 = {{{range_map4|{{{range map4|}}}}}}
| range_map4_upright = {{{range_map4_upright|{{{range map4 upright|}}}}}}
| range_map4_width = {{{range_map4_width|{{{range map4 width|}}}}}}
| range_map4_alt = {{{range_map4_alt|{{{range map4 alt|}}}}}}
| range_map4_caption = {{{range_map4_caption|{{{range map4 caption|}}}}}}
| synonyms_ref = {{{synonyms_ref|{{{synonyms ref|}}}}}}
| synonyms = {{{synonyms|}}}
| footer = {{{footer|}}}
}}{{#if:{{{extinct|}}}|[[Category:Taxoboxes using extinct parameters]]}}</includeonly><noinclude>{{documentation}}</noinclude>
4bf243d64f5dfa26b96aef2413e752e966ad9efe
Template:Taxobox/doc
10
361
709
708
2021-01-05T17:34:21Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{redirect|WP:TX|the WikiProject on the American state of Texas|Wikipedia:WikiProject Texas}}
{{documentation subpage}}
{{High-risk|298400}}
{{style-guideline|WP:TX|WP:TAXO|WP:TAXOBOX}}
{{esoteric}}
This template sets up a '''manual taxobox''', as a right-side [[wp:infobox|infobox]] table setting out the [[biological classification]] ([[taxonomy (biology)|taxonomy]]) for a group of living things. For guide to '''automated taxoboxes''', see [[WP:Automated taxobox system/intro]].
Although with a choice of over 160 parameters, the implementation is complicated, it is relatively simple to use. <!--For an example in practice, look at the edit page of "[[Killer whale]]" – [{{fullurl:Killer whale|action=edit}}].--> Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out. See below section "[[#All parameters|All parameters]]" for a complete list.
This guide has come out of [[Wikipedia:WikiProject Tree of Life|WikiProject Tree of life]].
=== Usage ===
'''''Note that parameters in this template are case-sensitive.'''''
<pre style="overflow:auto">
{{Taxobox
| name =
| image =
| image_upright =
| image_alt =
| image_caption =
| image2 =
| image2_upright =
| image2_alt =
| image2_caption =
| regnum = [[Plantae]] (or...)
| divisio =
| classis =
| ordo =
| familia =
| genus =
| species =
| binomial =
| binomial_authority =
| range_map = <!--optional map - also range map2, 3 or 4 -->
| range_map_upright =
| range map_alt =
| range_map_caption =
| <!--or 115 other parameters-->
}}
</pre>
Colors are automatically assigned based on the table below.
{{Taxobox colour scheme}}
=== Quick start and examples ===
==== Animals ====
===== Animal species =====
{{Taxobox
| name = Asian golden cat
| image = Catopuma temminckii.jpg
| image_alt = Orange cat sitting with head up and eyes almost closed.
| image_upright = 1.15
| regnum = [[Animalia]]
| phylum = [[Chordata]]
| classis = [[Mammalia]]
| ordo = [[Carnivora]]
| familia = [[Felidae]]
| genus = ''[[Catopuma]]''
| species = '''''C. temminckii'''''
| binomial = ''Catopuma temminckii''
| binomial_authority = ([[Nicholas Aylward Vigors|Vigors]] & [[Thomas Horsfield|Horsfield]], 1827)
}}
<pre style="overflow:auto">
{{Taxobox
| name =
| image =
| image_alt =
| image_caption =
| regnum = [[Animalia]]
| phylum =
| classis =
| ordo =
| familia =
| genus =
| species =
| binomial =
| binomial_authority =
}}
</pre>
{{clear}}
===== Animal higher taxon =====
{{Taxobox
| name = Rorquals
| image = Humpback Whale underwater shot.jpg
| image_alt = Underwater humpback whale diving, with front flipper extended.
| image_caption = [[Humpback whale]], ''Megaptera novaeangliae''
| regnum = [[Animalia]]
| phylum = [[Chordata]]
| classis = [[Mammalia]]
| ordo = [[Cetacea]]
| subordo = [[Mysticeti]]
| familia = '''Balaenopteridae'''
| familia_authority = [[John Edward Gray|Gray]], 1864
| subdivision_ranks = Genera
| subdivision =
''[[Balaenoptera]]''<br />
''[[Megaptera]]''
}}
<pre style="overflow:auto">
{{Taxobox
| regnum = [[Animalia]]
| phylum =
| classis =
| ordo =
| familia =
| genus =
| genus_authority =
| subdivision_ranks =
| subdivision =
}}
</pre>
{{clear}}
==== Plants ====
The majority of plants are angiosperms ("flowering plants"). [[Wikipedia:WikiProject Plants]] consensus is to use the Angiosperm Phylogeny Group's [[APG III]] classification system for angiosperms. The APG III system does not have formally named divisions or classes, but includes several hierarchically nested, informally named clades. The hierarchy of informally named clades is presented by using parameters such as {{para|unranked divisio}} in place of formal rank parameters. Articles on non-flowering plants (e.g. [[conifer]]s, [[fern]]s) should continue to use formal divisions and classes in the Taxobox.
===== Flowering plant species =====
{{Taxobox
| name = ''Magnolia virginiana''
| image = Sweetbay1082.jpg
| image_alt = White flower surrounded by long green leaves.
| image_caption = ''Magnolia virginiana''
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis = [[Magnoliids]]
| ordo = [[Magnoliales]]
| familia = [[Magnoliaceae]]
| genus = ''[[Magnolia]]''
| species = '''''M. virginiana'''''
| binomial = ''Magnolia virginiana''
| binomial_authority = [[Carl Linnaeus|L.]]
}}
<pre style="overflow:auto">
{{Taxobox
| name =
| image =
| image_alt =
| image_caption =
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis =
| unranked_ordo =
| ordo =
| familia =
| genus =
| species =
| binomial =
| binomial_authority =
}}
</pre>
{{clear}}
===== Flowering plant higher taxon =====
{{Taxobox
| name = Oaks
| image = Quercus robur.jpg
| image_alt = Cluster of oak leaves and acorns.
| image_caption = Foliage and acorns of the [[pedunculate oak]], ''Quercus robur''
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis = [[Eudicots]]
| unranked_ordo = [[Rosids]]
| ordo = [[Fagales]]
| familia = [[Fagaceae]]
| genus = '''''Quercus'''''
| genus_authority = [[Carl Linnaeus|L.]]
| subdivision_ranks = [[Species]]
| subdivision =
See [[List of Quercus species|List of ''Quercus'' species]].
}}
<pre style="overflow:auto">
{{Taxobox
| image =
| image_alt =
| image_caption =
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis =
| unranked_ordo =
| ordo =
| familia =
| genus =
| genus_authority =
| subdivision_ranks =
| subdivision =
}}
</pre>
{{clear}}
=== Parameters ===
==== Name ====
{{See also|Wikipedia:Manual of Style#Animals, plants, and other organisms|Wikipedia:Naming conventions (flora)|Wikipedia:Naming conventions (fauna)}}
Provided under this parameter should be the single most common [[vernacular name]] when one is in widespread use, or a single current scientific name otherwise.
* Common names of higher taxa are always given in [[sentence case]] (rather than title case) and in the plural (e.g. [[marine hatchetfish]]es).
* Common names of species and subspecies are also to be given in sentence case but in the singular (e.g. [[black crowned crane]], [[Colorado potato beetle]]).
The ''name'' parameter should not be used to incorporate more than one name. It is only a header and not meant to be an inclusive "name'''s'''" field. One will suffice. Please assess the relevant literature in deciding which.
==== Color ====
The ''color'' is automatically assigned based on the entry for a number of ranks from {{para|phylum}} upwards (see [[Template:Taxobox]]); there is normally no need to specify it manually, although {{para|color_as}} can be used.
{{Taxobox colour scheme}}
==== Classification ====
As noted above, the classification section includes some or all of the following:
<pre style="overflow:auto">
| regnum =
| phylum =
| classis =
| ordo =
| familia =
| genus =
| species =
</pre>
Each entry corresponds to a containing group, except for the last, which should be the group under consideration. Note the entries use the ''Latin'' names for the ranks, to make porting between Wikipedias easier. Thus the above correspond to the kingdom, phylum, class, order, family, genus, and species.
{{Taxobox
| name = Red wood ant
| regnum = [[Animalia]]
| phylum = [[Arthropoda]]
| classis = [[Insecta]]
| ordo = [[Hymenoptera]]
| familia = [[Formicidae]]
| subfamilia = [[Formicinae]]
| tribus = [[Formicini]]
| genus = ''[[Formica]]''
| species = '''''F. rufa'''''
| binomial = ''Formica rufa''
| binomial_authority = [[Carl Linnaeus|Linnaeus]], 1761
}}
Taxoboxes should include all major ranks above the taxon described in the article, plus minor ranks that are important to understanding the classification of the taxon described in the article, or which are discussed in the article. Other minor ranks should be omitted.
For example, in the taxobox for the genus ''[[Formica]]'', it's appropriate to include entries for tribe and subfamily, since those are an aid to understanding how ''Formica'' relates to other genera in the family [[Formicidae]]. But it wouldn't be appropriate to include the superorder [[Endopterygota]], since all genera of ants are in that superorder; it isn't particularly interesting at this level.
Another example is the subfamily [[Bambusoideae]], the bamboos. This subfamily probably should be mentioned in the taxobox of every bamboo species, since it is a major grouping in this context, despite its minor rank.
Minor ranks are included in the same way as major ranks, for example:
<pre style="overflow:auto">
| classis = ...
| subclassis = ...
| superordo = ...
| ordo = ...
</pre>
Note that species and subspecies should be given using the abbreviated forms of their name — e.g. ''H. sapiens'', ''H. s. sapiens''. The epithets should not be given by themselves. The full form of the species or subspecies name is given in the binomial or trinomial section.
See [[#All parameters]] for a complete list.
===== Classification status =====
With the {{para|classification_status}} parameter, it is possible to introduce extra text within parentheses after "Scientific classification". For example, {{para|classification_status|disputed}} will produce "[[Taxonomy (biology)|Scientific classification]] (disputed)". See ''[[Veratalpa]]'' for a current example where this parameter is used. This parameter should only be used when the "Scientific classification" text would be misleading without it.
===== Divisions and sections =====
These ranks have different meanings in zoology and botany.
In botany:
* Use '''divisio''' for division (a rank above class and below kingdom)
* Use '''sectio''' for section (a rank above species and below genus)
Note: Certain very large genera, e.g. ''Rhododendron'' include subsections
In zoology:
* Use '''zoodivisio''' for division (a rank above family and below order)
* Use '''zoosectio''' for section (a rank above family and below order)
===== Unranked taxa =====
For each major taxon from family to phylum, you can add an unranked entry to the taxobox. The entry <tt>unranked_X</tt> appears above rank X, for example <tt>unranked_superfamilia</tt> appears above family and superfamily and below order, suborder, infraorder, etc.:
<pre style="overflow:auto">
| ordo =
| unranked_superfamilia =
| familia =
</pre>
For animals and non-flowering plants, use unranked taxa sparingly. The need to include unranked taxa generally indicates that you are following [[phylogenetic nomenclature]]. It is usually better to abbreviate the classification to the major ranks and then discuss the classification in more detail in the article.
====== Unranked taxa of flowering plants ======
[[Flowering plant]]s (angiosperms) make frequent use of unranked taxa. The [[APG III system]] of classification used for flowering plants on Wikipedia does not have formally named ranks above order - e.g. divisions, classes, subclasses - but includes several hierarchically nested, informally named and unranked clades. For flowering plants the taxobox should include {{para|unranked_divisio|[[Angiosperms]]}} in place of {{para|divisio}}, {{para|unranked_classis}} in place of {{para|classis}}, and possibly also {{para|unranked_subclassis}} in place of {{para|subclassis}}. Flowering plant taxoboxes may often include three to four informal hierarchical groups above the rank of order, making the use of {{para|unranked_ordo}} necessary, which sorts itself just above {{para|ordo}} where a formally named order is displayed. The unranked parameters only include ranks in their parameter names, such as "unranked '''divisio'''" to allow the editor to place content hierarchically; no approximation of rank is intended by the use of these parameter names. For flowering plant articles using the APG III system of classification, the regular parameters including {{para|divisio}}, {{para|classis}}, and {{para|subclassis}} should not be used or it will display between these unranked APG III clades.
To comply with [[#Classification]] above and its advice on the inclusion of major ranks, the following are considered major ranks in APG III and currently included in the appropriate flowering plant taxoboxes:
*[[Angiosperms]]
**[[Magnoliids]]
**[[Monocots]]
***[[Commelinids]]
**[[Eudicots]]
***[[Core eudicots]] (displayed as a major rank when the plant is not included further nested in rosids or asterids)
****[[Rosids]]
****[[Asterids]]
Note: The rosids contain two clades, the [[fabids]] (also known as [[eurosids I]]) and [[malvids]] (also known as [[eurosids II]]), and the asterids contain two further clades, the [[lamiids]] ([[euasterids I]]) and [[campanulids]] ([[euasterids II]]). These are considered to be minor ranks and are only to be displayed on the articles on orders or families they immediately contain.
A taxobox for a flowering plant will thus generally include the following parameters:
<pre style="overflow:auto">
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis =
| unranked_ordo =
| ordo =
</pre>
===== Viruses =====
Viruses follow a slightly different system. They are not placed in taxa above the rank of order, and instead are treated in seven groups based on the type of nucleic acid they contain, referred to by the Roman numerals i to vii. These can be included in the taxobox using the {{para|virus group}} parameter. This also changes the link from [[Biological classification|scientific]] to [[virus classification]], so it should not appear on boxes for non-viruses, even if it is left blank.
<pre style="overflow:auto">
| virus_group = iv
</pre>
==== Bold/italic markup ====
Italicization must be done manually in all parameters. If the entry for genus or species (with manually added italics) matches the page title,<ref group=note>If the page is called, for example, "Homo (genus)", then the taxobox will display "''Homo''" and the page title "''Homo'' (genus)".</ref> then the name of the taxobox ''and'' the title of the page will be italicized. Note that if the {{para|name}} parameter is used the page title will not be automatically italicized. The taxobox's name will be set to exactly what is specified in {{para|name}} – italics must be specified manually in this case.
Genus, species, and subspecies should be italicized whenever used, as is the biological standard. For instance, we talk about the genus ''Homo'', the species ''Homo sapiens'', and the subspecies ''Homo sapiens sapiens''.
* In botany, it is important to include the rank for taxa below species. The rank is not italicized, e.g. ''Genus species'' subsp. ''subspecies'' var. ''variety''.
* Some bacteria that have been characterized but not formally named are given ''[[Candidatus]]'' names. These should be written in the form ''[[Candidatus]]'' Genus species, rather than italicized normally.
Higher taxa like families may or may not be italicized in different publications. The prevalent standard for Wikipedia is not to italicize them, except in the case of [[virus]]es and other infectious particles.
Bolding is used to indicate the subject of the article. The {{para|name}}, {{para|binomial}}, and {{para|trinomial}} parameters bold automatically. In the placement section – {{para|regnum}} through {{para|species}} – the final taxon should be bolded, as well as any higher groups that only include the final taxon. See [[green sulfur bacteria]] for an example.
==== Subdivisions ====
{{Taxobox
| name = Nettle
| regnum = [[Plantae]]
| unranked_divisio = [[Angiosperms]]
| unranked_classis = [[Eudicots]]
| unranked_ordo = [[Rosids]]
| ordo = [[Rosales]]
| familia = [[Urticaceae]]
| genus = '''''Urtica'''''
| genus_authority = [[Carolus Linnaeus|L.]]
| subdivision_ranks = Species
| subdivision = {{columns-list|2|
* ''U. angustifolia''
* ''U. ardens''
* ''U. atrichocaulis''
* ''U. atrovirens''
* ''U. cannabina''
* ''U. chamaedryoides''
* ''[[Urtica dioica|U. dioica]]''
* ''U. dubia''
* ''[[Urtica ferox|U. ferox]]''
* ''U. fissa''
* ''[[Urtica dioica galeopsifolia|U. galeopsifolia]]''
* ''U. gracilenta''
* ''U. hyperborea''
* ''[[Urtica incisa|U. incisa]]''
* ''U. kioviensis''
* ''U. laetivirens''
* ''U. linearifolia''
* ''U. mairei''
* ''U. membranacea''
* ''U. morifolia''
* ''U. parviflora''
* ''U. pilulifera''
* ''U. platyphylla''
* ''U. pubescens''
* ''U. rupestris''
* ''U. sondenii''
* ''U. taiwaniana''
* ''[[Urtica thunbergiana|U. thunbergiana]]''
* ''U. triangularisa''
* ''[[Urtica urens|U. urens]]''
}}
}}
Groups above the rank of species (and even species if there are several notable subspecies) should usually include a list of subgroups. Use the {{para|subdivision}} parameter for the list. The list can be formatted using a number of templates, such as the specialized {{tl|linked taxon list}} and {{tl|linked species list}}, which deal with authorities as well (see the documentation at [[Template:Taxon list]] for variant templates), or using a general list template such as {{tl|columns-list}}. Use the {{para|subdivision_ranks}} parameter to say what rank the subgroups have. For instance, for families in an order:
<pre style="overflow:auto">
| subdivision_ranks = Families
| subdivision =
{{linked taxon list
|Family1|Authority1
|Family2|Authority2
|Family3|Authority3
}}
</pre>
For lists with more than a few subgroups, the list can be bracketed with {{tl|div col}} and {{tl|div col end}}, which will split the list into two columns (''see '''Nettle''' example at right''). In cases where a list would make the taxobox too long, or where the classification is too variable to allow a brief summary, the list should be replaced with a comment like "See text" or the subdivision section should be omitted. As a [[rule of thumb]], when there are more than 100 subgroups the list should be in a separate article.
In cases where the classification is variable, a description like "Typical orders" or "Notable orders" may be used.
In cases where the ranks are uncertain, a description like "Subgroups" or "Taxa" may be preferable.
Sometimes it is convenient to represent more than one level of classification in the list. In that case the lower level groups are moved over to the right by prefixing them with &nbsp; characters – usually three for the first level of indentation, and then one to three more for each subsequent level. Major grades may also be represented by bolded headers, as on [[plant]] and [[heterokont]]. Remember, though, these should mainly be done when the intermediate rank subgroups are not worthy of separate articles; taxoboxes are too small to include too much duplicate information.
==== Conservation status ====
{{Main|Wikipedia:Conservation status}}
[[Conservation status]] may optionally be included; you can search the [[International Union for Conservation of Nature|IUCN]]'s [http://www.iucnredlist.org/ database of threatened species] to find the conservation status of many organisms. It is included via the {{para|status}} parameter, which takes a code or template. It is not appropriate for prehistoric organisms – the {{para|fossil_range}} parameter may be a more sensible option.
<pre style="overflow:auto;">
|status = code
|status_system = classification system (see below)) – required
|status_ref = <ref>...</ref> – optional
|extinct = year of extinction – optional (only use if |status=EX and year of extinction is known)
</pre>
Use the above syntax, choosing one of the status codes from the code list below. The ''code'' may be all upper or lower case, but the cases used in the table are preferred.
[[File:Status iucn3.1.svg|thumb|[[IUCN Red List]], ver. 3.1 (2001)]]
[[File:Status iucn2.3.svg|thumb|[[IUCN Red List]], ver. 2.3 (1994)]]
[[File:Status TNC.svg|thumb|[[NatureServe status]]]]
[[File:Status ESA.svg|thumb|U.S. [[Endangered Species Act]] (ESA)]]
[[File:Status COSEWIC.svg|thumb|Canada's [[COSEWIC]] [[Species at Risk Act]] (SARA)]]
[[File:Status EPBC.svg|thumb|Australia's [[EPBC Act]]]]
[[File:Status NZTCS.svg|thumb|New Zealand Threat Classification System]]
[[File:Status DECF.svg|thumb|Western Australia's [[Declared Rare and Priority Flora List]]]]
The following status codes are available (the third column shows the category that is automatically added to the article):
:{| class="wikitable"
! Status (as shown in taxobox) || Code || Category assigned
|-
| Secure || secure<ref name="invalid" group="IUCN" /> ||
|-
| Domesticated || DOM<ref name="invalid" group="IUCN" /> || [[:Category:Domesticated animals]]
|-
| Least Concern (LC) || LC ||
|-
| Least Concern (LR/lc) || LR/lc ||
|-
| [[Near Threatened]] (NT) || NT ||
|-
| [[Near Threatened]] (LC/nt) || LR/nt ||
|-
| [[Conservation Dependent]] (LR/cd) || LR/cd ||
|-
| [[Vulnerable species|Vulnerable]] (VU) || VU ||
|-
| [[Endangered species|Endangered]] (EN) || EN || [[:Category:Endangered species]]
|-
| [[Critically Endangered]] || CR || [[:Category:Critically endangered species]]
|-
| [[Critically Endangered]] (CR), possibly extinct || PE || Category:Critically endangered species
|-
| Extinct in the wild (EW) || EW || [[:Category:Species extinct in the wild]]
|-
| Extinct || EX ||
|-
| Data deficient (DD) || DD ||
|-
| ''Not evaluated'' (NE) || NE ||
|-
| Fossil || fossil<ref name="invalid" group="IUCN">This is not a valid IUCN Red List category</ref><ref name="fossil" group="IUCN">{{para|status|fossil}} is deprecated in favour of {{para|fossil_range}} {{tlx|fossil range}} (see the [[#Fossil range]] section below).</ref> ||
|-
| Prehistoric || pre<ref name="invalid" group="IUCN" /> ||
|-
| See text || See text<ref name="invalid" group="IUCN" /> ||
|-
| Lower Risk || <s>LR</s><ref name="invalid" group="IUCN" /><ref name="LR" group="IUCN">{{var|LR}} is deprecated; use {{var|LR/lc}} or {{var|LR/nt}} or {{var|LR/cd}} instead.</ref> ||
|}
;Notes:
{{Reflist|group=IUCN|close}}
===== System =====
{{Main|Wikipedia:Conservation status}}
The criteria used by the IUCN should also be specified:
<pre style="overflow:auto">
| status_system = IUCN3.1
or
| status_system = IUCN2.3 <!-- deprecated for new boxes, although some taxoboxes still exist and are supported for this version -->
</pre>
This parameter is '''required''' in order to display the proper conservation status graphic. Failure to use this parameter will result in no graphic appearing.
Other systems are listed at [[Wikipedia:Conservation status]].
===== Referencing conservation status =====
To add a reference for the status, use
{{para|status_ref|{{xtag|ref|p|content={{tl|IUCN2012.2|2=...}}}}}}
See {{tlx|IUCN2012.2}} or {{tlx|IUCN}} for the parameters you need to supply to that template. And don't forget that {{xtag|ref}} requires a corresponding {{xtag|references|s}} in the References section.
==== Fossil range ====
The stratigraphic range for groups known as fossils may also be included, using the {{para|fossil_range}} parameter. For instance, for a group known from the [[Cambrian]] to the [[Permian]]:
<pre style="overflow:auto">
|fossil_range = [[Cambrian]]–[[Permian]]
</pre>
You may wish to add a diagrammatic representation of the fossil range (as shown below), which can be created using the {{tl|Fossil range}} template, for example:
{{image frame|content={{fossil range|Cambrian|Permian}} }}
<pre style="overflow:auto">
| fossil_range = {{fossil range|Cambrian|Permian}}
</pre>
or
<pre style="overflow:auto">
| fossil_range = {{fossil range|542|250}} [[Cambrian]]–[[Permian]]
</pre>
For [[Extant taxon|extant]] taxa that continue into the present day, the ending period should be set to "Recent" or as "Holocene" for Late Quaternary extinctions such as the [[moa]], and the current status should be indicated using the {{para|status}} parameter.
For groups that only existed during a single period, simply list it without giving a range: e.g.:
{{image frame|content={{fossil range | Silurian}} }}
<pre style="overflow:auto">
| fossil_range = {{fossil range|Silurian}}
</pre>
==== Images ====
An image can be included using the parameter {{para|image}}. It is highly recommended that an image be provided if one is available. Do ''not'' include the "File:" part of the image file name!
If an image is included, [[alt text]] should be provided using parameter "{{para|image_alt}}". Alt text should not repeat the caption; instead, it should describe the image contents to someone who can't see it (see [[WP:ALT]]).
A caption can be provided using parameter "{{para|image_caption}}". A caption need not be provided if it would just repeat the title of the article. It should be provided if it can convey any additional information about the image, such as the sex or life stage of the individual, the location where the picture was taken, the artist (if an engraving or other illustration), or (for higher taxa) the particular species depicted.
<pre style="overflow:auto; font-size:80%">
| image = Sweetbay1082.jpg
| image_alt = White flower surrounded by long green leaves
| image_caption = ''Magnolia virginiana''
</pre>
By default, the image width is determined by each user's default thumbnail size preference. In general, it is recommended that these preferences be honoured. In some cases, however, it may be desirable to overrule the default size; this can be achieved by use of the {{para|image_upright}} parameter, which scales the image. Thus {{para|image_upright|1.1}} makes the image 10% larger than the user's default thumbnail size; {{para|image_upright|0.75}} makes it 25% smaller. See [[MOS:IMGSIZE]] for more information.
<pre style="overflow:auto; font-size:80%">
| image = Sweetbay1082.jpg
| image_alt = White flower surrounded by long green leaves
| image_caption = ''Magnolia virginiana''
| image_upright = 1.45
</pre>
Long or complex image captions, which should rarely be necessary, look better when left-aligned. This can be achieved using "{{para |image_caption_align|left}}".
A second image may be added by use of the {{para|image2}}, {{para|image2_alt}}, {{para|image2_caption}} and {{para|image2_upright}} parameters. Use this sparingly, and only when the article is long enough, ''and'' when it makes sense to include the second image inside the taxobox and not later in the article. [[Camel]] is a good example (a genus with two well-known representatives). A second image may also be useful for species that display [[sexual dimorphism]] so that both a male and female representative could be shown, e.g. [[Northern cardinal]].
==== Authorities ====
Generally, an authority should be given only for the taxa covered by the article. Higher groups which only include the article subject should also list authorities unless those are the same as for the taxa in question. In the case of species (or subspecies) the authority may be given in the ''binomial'' (or ''trinomial'') section. Otherwise authorities may be listed in the placement section. For instance, for an order:
<pre style="overflow:auto">
| ordo =
| ordo_authority =
</pre>
The following examples illustrate the different conventions for names, dates, and punctuations in the different kingdoms.
* Animalia
** Original name valid: '''''Homo sapiens''''' <small>[[Carl Linnaeus|Linnaeus]], 1758</small>
** Organism reclassified: '''''Panthera leo''''' <small>([[Carl Linnaeus|Linnaeus]], 1758)</small> (originally ''Felis leo'')
* Plantae
** Original name valid: '''''Magnolia virginiana''''' <small>[[Carl Linnaeus|L.]]</small>
** Organism reclassified: '''''Anacamptis pyramidalis''''' <small>([[Carl Linnaeus|L.]]) [[Louis Claude Richard|Rich.]]</small> (originally ''Orchis pyramidalis'')
* Bacteria
** Original name valid: '''''Vibrio cholerae''''' <small>[[Robert Koch|R. Koch]] 1883</small>
** Organism reclassified: '''''Streptococcus pneumoniae''''' <small>(Klein 1884) Chester 1901</small> (originally ''Micrococcus pneumoniae'')
** Old name revived: '''''Salmonella enterica''''' <small>(ex Kauffmann & Edwards 1952) Le Minor & Popoff 1987</small>
Authorities in scientific names are also abbreviated according to different standards for plants and animals. To decipher standard abbreviations, see
* [[List of botanists by author abbreviation]] or consult the [http://www.ipni.org/ International Plant Names Index].
* [[List of zoologists by author abbreviation]]
For more information refer to the article on [[binomial nomenclature]].
==== Diversity ====
In higher taxa, and taxa where the subdivision option does not indicate number of species, the {{para|diversity}} parameter may be used. This needs to be accompanied by {{para|diversity_link}} which links to an appropriate page, usually a ''List of ... species'' page. See, for example, ''[[Banksia]]'': the subdivision lists only two subgenera, so the {{para|diversity}} option is used to specify the number of species.
<pre style="overflow:auto; font-size:80%">
| diversity_link = List of Quercus species
| diversity = c. 120 species
</pre>
It is ''not'' a good idea to be too precise about the number of species. New species are still being regularly described in many groups. Moreover, changing systematic treatment is liable to alter the species number even in well-known genera. Rounding off the species number and denoting this as approximate value will help decreasing maintenance.
Use the {{para|diversity_ref}} parameter to give references for the number of species, for example:
<pre style="overflow:auto; font-size:80%">
| diversity_ref = <nowiki><ref></nowiki>Hershler and Longley, 1986, p. 127<nowiki></ref></nowiki>
</pre>
==== Range maps ====
A range map may be included at the end of the taxobox. This uses the {{para|range_map}}, {{para|range_map_upright}}, {{para|range_map_alt}}, and {{para|range_map_caption}} parameters, in the same manner as an image. Specifying range map width is unnecessary in most cases. See [[Leopard]] (land animal), [[Northern flicker]] (non-migratory bird), [[Lesser spotted eagle]] (migratory bird) and [[Killer whale]] (water animal) for examples.
<pre style="overflow:auto">
| range_map = Map.jpg
| range_map_upright = 1.1
| range_map_alt = Map showing ...
| range_map_caption = Range of ...
</pre>
Up to four range maps can be included, via additional parameters such as {{para|range_map2}}, {{para|range_map2_caption}}, etc.
You can generate maps using an appropriate blank map such as [[:Image:BlankMap-World-noborders.png]]. Do not make the distribution map too large (a width of 300 to 400 should be sufficient, the purpose of the map being a rough global overview; more detailed maps can always go to the article body) and add the map to [[:Category:Habitat maps]], or, preferably, if you upload the map to Commons, to [[:commons:Category:Animal distribution maps]].
==== Synonyms ====
Where a species has synonyms, the {{para|synonyms}} parameter may be used. The list of synonyms can be formatted using the same approach as for [[#Subdivisions|Subdivisions]], but synonyms should not normally be linked, so e.g. {{tl|Taxon list}} should be used for taxa whose names aren't italicized and {{tl|Species list}} for those whose names are.
<source lang="html" style="overflow:auto">
| synonyms =
{{Species list
|Species1|Authority1
|Species2|Authority2
}}
</source>
: Please note: style element <nowiki><small></nowiki> is not recommended in [[Wikipedia:WikiProject Check Wikipedia#HTML text style element .3Csmall.3E]], see discussion [[Wikipedia talk:WikiProject Check Wikipedia#Small style element]].
[http://uio.mbl.edu/NomenclatorZoologicus/ Nomenclator Zoologicus] has data for all but the most recently established animal [[genera]]. This may be hard to understand for non-specialists, but it is a comprehensive source for the authorship of genus names, both valid ones and junior synonyms. Sometimes one will note that a new name has been established because the older, original name was "preoccupied". This means it has already been established for another [[taxon]] of the same [[Linnaean taxonomy|rank]] in the same [[kingdom (biology)|kingdom]] before – even if that name is now a synonym too. Taxa that preoccupy a name can be linked in the Synonyms section, such as ''Stenorhynchus'' [[Trembler|here]].
Use {{para|synonyms_ref}} to give references for the synonym list, for example:
<pre style="overflow:auto; font-size:80%">
| synonyms_ref = <nowiki><ref></nowiki>Smith and Jones, 2009, p. 5 <nowiki></ref></nowiki>
</pre>
==== Type species ====
When the [[type species]] of a genus (or larger grouping) is known, the {{para|type_species}} and {{para|type_species_authority}} can be used.
For botanical entries, i.e. names under the [[International Code of Nomenclature for algae, fungi, and plants]] (ICN), the currently accepted name in the genus should be used. The term "type species" does not occur in the ICN, but is used here for convenience. The [http://botany.si.edu/ing/ Index Nominum Genericorum] is a useful source of information and can be used as a reference.
For animal entries, i.e. names under the [[International Code of Zoological Nomenclature]] (ICZN), the type species should be the {{em|original}} binomial name of the type species, but linked to its current article, and the authority should be plain (no parentheses). See ''[[Giant mouse lemur|Mirza]]'' for a type species example.
<pre style="overflow:auto">
| type_species = the original name of the species that was initially used to describe the genus, without regard to its present-day nomenclature
| type_species_authority =
</pre>
This follows ICZN Recommendation 67B; be aware that this means the taxon used by the genus' original author – even if it is now invalid, e.g. a [[junior synonym]]. Ideally, it should only be used if the genus' original description can be verified first-hand. As per the following example given by the ICZN:
<blockquote>''Astacus marinus'' Fabricius, 1775, one of the nominal species originally included in the decapod crustacean genus ''Homarus'' Weber, 1795, was subsequently designated by Fowler (1912) as the type species of ''Homarus''. The type species is, and should be cited as, ''Astacus marinus'' Fabricius, 1775. ''Astacus marinus'' Fabricius is currently synonymized with ''Cancer gammarus'' Linnaeus, 1758, but the latter is not the type species of ''Homarus'' and should not be cited as such. If mention of the type species is required it should be made in some such manner as "Type species ''Astacus marinus'' Fabricius, 1775, a junior synonym of ''Cancer gammarus'' Linnaeus, 1758"; or "Type species ''Astacus marinus'' Fabricius, 1775, now regarded as a synonym of ''Homarus gammarus'' (Linnaeus, 1758)".</blockquote>
If you do not completely understand what this all means, please ''do not use this parameter''. Instead, if possible denote the type species in the species listing, for example with a
<pre><small>([[type species]])</small></pre>
after the species' (currently valid) name.
=== Italic page titles ===
If the value of {{para|genus}}, {{para|species}}, or {{para|binomial}} exactly matches the title of the page, '''and''' {{para|name}} is unspecified, the taxobox '''and''' page title will be italicized automatically.<ref group=note>See note 1; the title of the page will be italicized using the <nowiki>{{DISPLAYTITLE}}</nowiki> [[mw:Help:Magic words|magic word]]. When the page name contains the disambiguator "(alga)" or "(genus)", this disambiguator will not be italicized (e.g., [[Ia (genus)|''Ia'' (genus)]]).</ref> If necessary, it is also possible to force the page title to display in italics using the {{tl|Italic title}} template.
If the {{para|name}} parameter is present, then the taxobox will display whatever is in {{para|name}}; the page title will NOT be italicized unless {{tl|italic title}} is used.
=== Complete blank template ===
This section gives all parameters in the order that they will appear in the taxobox. No taxobox should use all of these. Keep it short!
''Note that parameters in this template are case-sensitive.''
{{Taxobox
| color = {{Taxobox colour|[[Animalia]]}}
| name = name
| fossil_range = {{fossil range|100|0}}fossil range
| image = Panthera tigris tigris.jpg
| image_upright = 0.9
| image_alt = image alt
| image_caption = image caption
| image2 = Singapore Zoo Tigers.jpg
| image2_upright = 0.9
| image2_alt = image2 alt
| image2_caption = image2 caption
| status = EN
| status_system = IUCN3.1
| status_ref = <ref>IUCN reference goes here</ref>
| classification_status = status of classification
| virus_group = virus group
| superdomain = superdomain
| unranked_superdomain = unranked superdomain
| unranked_superdomain_authority = unranked superdomain authority
| domain = domain
| domain_authority = domain authority
| superregnum = superregnum
| superregnum_authority = superregnum authority
| regnum = regnum
| regnum_authority = regnum authority
| unranked_regnum = unranked regnum
| unranked_regnum_authority = unranked regnum authority
| subregnum = subregnum
| subregnum_authority = subregnum authority
| infraregnum = infraregnum
| infraregnum_authority = infraregnum authority
| unranked_phylum = unranked phylum
| unranked_phylum_authority = unranked phylum authority
| superdivisio = superdivisio
| superdivisio_authority = superdivisio authority
| superphylum = superphylum
| superphylum_authority = superphylum authority
| unranked_divisio = unranked divisio
| unranked_divisio_authority = unranked divisio authority
| divisio = divisio
| divisio_authority = divisio authority
| phylum = phylum
| phylum_authority = phylum authority
| subdivisio = subdivisio
| subdivisio_authority = subdivisio authority
| subphylum = subphylum
| subphylum_authority = subphylum authority
| infraphylum = infraphylum
| infraphylum_authority = infraphylum authority
| microphylum = microphylum
| microphylum_authority = microphylum authority
| nanophylum = nanophylum
| nanophylum_authority = nanophylum authority
| unranked_classis = unranked classis
| unranked_classis_authority = unranked classis authority
| superclassis = superclassis
| superclassis_authority = superclassis authority
| classis = classis
| classis_authority = classis authority
| unranked_subclassis = unranked subclassis
| unranked_subclassis_authority = unranked subclassis authority
| subclassis = subclassis
| subclassis_authority = subclassis authority
| unranked_infraclassis = unranked infraclassis
| unranked_infraclassis_authority = unranked infraclassis authority
| infraclassis = infraclassis
| infraclassis_authority = infraclassis authority
| unranked_ordo = unranked ordo
| unranked_ordo_authority = unranked ordo authority
| magnordo = magnordo
| magnordo_authority = magnordo authority
| superordo = superordo
| superordo_authority = superordo authority
| ordo = ordo
| ordo_authority = ordo authority
| subordo = subordo
| subordo_authority = subordo authority
| infraordo = infraordo
| infraordo_authority = infraordo authority
| parvordo = parvordo
| parvordo_authority = parvordo authority
| zoodivisio = zoodivisio
| zoodivisio_authority = zoodivisio authority
| zoosectio = zoosectio
| zoosectio_authority = zoosectio authority
| zoosubsectio = zoosubsectio
| zoosubsectio_authority = zoosubsectio authority
| unranked_superfamilia = unranked superfamilia
| unranked_superfamilia_authority = unranked superfamilia authority
| superfamilia = superfamilia
| superfamilia_authority = superfamilia authority
| familia = familia
| familia_authority = familia authority
| subfamilia = subfamilia
| subfamilia_authority = subfamilia authority
| unranked_tribus = unranked tribus
| unranked_tribus_authority = unranked tribus authority
| supertribus = supertribus
| supertribus_authority = supertribus authority
| tribus = tribus
| tribus_authority = tribus authority
| subtribus = subtribus
| subtribus_authority = subtribus authority
| alliance = alliance
| alliance_authority = alliance authority
| unranked_genus = unranked genus
| unranked_genus_authority = genus authority
| genus = genus
| genus_authority = genus authority
| subgenus = subgenus
| subgenus_authority = subgenus authority
| sectio = sectio
| sectio_authority = sectio authority
| subsectio = subsectio
| subsectio_authority = subsectio authority
| series = series
| series_authority = series authority
| subseries = subseries
| subseries_authority = subseries authority
| species_group = species group
| species_group_authority = species group authority
| species_subgroup = species subgroup
| species_subgroup_authority = species subgroup authority
| species_complex = species complex
| species_complex_authority = species complex authority
| species = species
| species_authority = species authority
| subspecies = subspecies
| subspecies_authority = subspecies authority
| variety = variety
| variety_authority = variety authority
| forma = forma
| forma_authority = forma authority
| type_strain = type strain
| diversity_ref = <ref>diversity ref</ref>
| diversity = diversity
| diversity_link = diversity link
| binomial = binomial
| binomial_authority = binomial authority
| trinomial = trinomial
| trinomial_authority = trinomial authority
| type_genus = type genus
| type_genus_authority = type genus authority
| type_species = type species
| type_species_authority = type species authority
| subdivision = subdivision
| subdivision_ranks = subdivision ranks
| range_map = Pleurodeles walti dis.png
| range_map_upright = 0.9
| range_map_alt = range map alt
| range_map_caption = range map caption
| binomial2 = binomial2
| binomial2_authority = binomial2 authority
| range_map2 = Pleurodeles walti dis.png
| range_map2_upright = 0.9
| range_map2_alt = range map2 alt
| range_map2_caption = range map2 caption
| binomial3 = binomial3
| binomial3_authority = binomial3 authority
| range_map3 = Pleurodeles walti dis.png
| range_map3_upright = 0.9
| range_map3_alt = range map3 alt
| range_map3_caption = range map3 caption
| binomial4 = binomial4
| binomial4_authority = binomial4 authority
| range_map4 = Pleurodeles walti dis.png
| range_map4_upright = 0.9
| range_map4_alt = range map4 alt
| range_map4_caption = range map4 caption
| synonyms_ref = <ref>synonyms ref</ref>
| synonyms = synonyms
}}
<pre style="overflow:auto">
{{Taxobox
| color =
| name =
| fossil_range =
| image =
| image_upright =
| image_alt =
| image_caption =
| image_caption_align =
| image2 =
| image2_upright =
| image2_alt =
| image2_caption =
| status =
| status_system =
| status_ref =
| classification_status =
| virus_group =
| unranked_superdomain =
| unranked_superdomain_authority =
| superdomain =
| superdomain_authority =
| domain =
| domain_authority =
| superregnum =
| superregnum_authority =
| unranked_regnum =
| unranked_regnum_authority =
| regnum =
| regnum_authority =
| subregnum =
| subregnum_authority =
| superdivisio =
| superdivisio_authority =
| superphylum =
| superphylum_authority =
| unranked_divisio =
| unranked_divisio_authority =
| divisio =
| divisio_authority =
| unranked_phylum =
| unranked_phylum_authority =
| phylum =
| phylum_authority =
| subdivisio =
| subdivisio_authority =
| subphylum =
| subphylum_authority =
| infraphylum =
| infraphylum_authority =
| microphylum =
| microphylum_authority =
| nanophylum =
| nanophylum_authority =
| superclassis =
| superclassis_authority =
| unranked_classis =
| unranked_classis_authority =
| classis =
| classis_authority =
| unranked_subclassis =
| unranked_subclassis_authority =
| subclassis =
| subclassis_authority =
| unranked_infraclassis =
| unranked_infraclassis_authority =
| infraclassis =
| infraclassis_authority =
| magnordo =
| magnordo_authority =
| superordo =
| superordo_authority =
| unranked_ordo =
| unranked_ordo_authority =
| ordo =
| ordo_authority =
| subordo =
| subordo_authority =
| infraordo =
| infraordo_authority =
| parvordo =
| parvordo_authority =
| zoodivisio =
| zoodivisio_authority =
| zoosectio =
| zoosectio_authority =
| zoosubsectio =
| zoosubsectio_authority =
| unranked_superfamilia =
| unranked_superfamilia_authority =
| superfamilia =
| superfamilia_authority =
| familia =
| familia_authority =
| subfamilia =
| subfamilia_authority =
| supertribus =
| supertribus_authority =
| unranked_tribus =
| unranked_tribus_authority =
| tribus =
| tribus_authority =
| subtribus =
| subtribus_authority =
| alliance =
| alliance_authority =
| unranked_genus =
| unranked_genus_authority =
| genus =
| genus_authority =
| subgenus =
| subgenus_authority =
| sectio =
| sectio_authority =
| subsectio =
| subsectio_authority =
| series =
| series_authority =
| subseries =
| subseries_authority =
| species_group =
| species_group_authority =
| species_subgroup =
| species_subgroup_authority =
| species_complex =
| species_complex_authority =
| species =
| species_authority =
| subspecies =
| subspecies_authority =
| variety =
| variety_authority =
| forma =
| forma_authority =
| diversity_ref =
| diversity =
| diversity_link =
| binomial =
| binomial_authority =
| trinomial =
| trinomial_authority =
| type_genus =
| type_genus_authority =
| type_species =
| type_species_authority =
| subdivision =
| subdivision_ranks =
| type_strain =
| range_map =
| range_map_upright =
| range_map_alt =
| range_map_caption =
| binomial2 =
| binomial2_authority =
| range_map2 =
| range_map2_upright =
| range_map2_alt =
| range_map2_caption =
| binomial3 =
| binomial3_authority =
| range_map3 =
| range_map3_upright =
| range_map3_alt =
| range_map3_caption =
| binomial4 =
| binomial4_authority =
| range_map4 =
| range_map4_upright =
| range_map4_alt =
| range_map4_caption =
| synonyms_ref =
| synonyms =
}}
</pre>
=== All parameters ===
The full list of parameters is illustrated inside the infobox above, in the "[[#Complete blank template|Complete blank template]]".
:{| <!--this table uses end-of-line "<tr>" to split rows. -->
|-
| color - || typical color code <tr>
| name - || name defaults to <nowiki>{{PAGENAME}}</nowiki><tr>
| status - || conservation status code <tr>
| status_system - || status-system type <tr>
| status_ref - || status reference <tr>
| regnum - || (standard) kingdom name <tr>
| phylum - || (standard) phylum name <tr>
| classis - || (standard) class name <tr>
| ordo - || (standard) order name <tr>
| familia - || (standard) family name <tr>
| genus - || (standard) genus name <tr>
| species - || (standard) species name <tr>
| fossil_range - || (as shown at top of box) <tr>
| image - || (as shown in box) <tr>
| image_upright - || (as shown in box) <tr>
| image_alt - || (as shown in box) <tr>
| image_caption - || (as shown in box) <tr>
| image2 - || (as shown in box) <tr>
| image2_upright - || (as shown in box) <tr>
| image2_alt - || (as shown in box) <tr>
| image2_caption - || (as shown in box) <tr>
| classification_status - || (as shown in box) <tr>
| virus_group - || (as shown in box) <tr>
| superdomain - || (as shown in box) <tr>
| superdomain_authority - || (as shown in box) <tr>
| unranked_superdomain - || (as shown in box) <tr>
| unranked_superdomain_ authority - || (as shown in box) <tr>
| domain - || (as shown in box) <tr>
| domain_authority - || (as shown in box) <tr>
| unranked_regnum - || (as shown in box) <tr>
| unranked_regnum_authority - || (as shown in box) <tr>
| superregnum - || (as shown in box) <tr>
| superregnum_authority - || (as shown in box) <tr>
| regnum_authority - || (as shown in box) <tr>
| subregnum - || (as shown in box) <tr>
| subregnum_authority - || (as shown in box) <tr>
| unranked_phylum - || (as shown in box) <tr>
| unranked_phylum_authority - || (as shown in box) <tr>
| superdivisio - || (as shown in box) <tr>
| superdivisio_authority - || (as shown in box) <tr>
| superphylum - || (as shown in box) <tr>
| superphylum_authority - || (as shown in box) <tr>
| divisio - || (as shown in box) <tr>
| divisio authority - || (as shown in box) <tr>
| unranked_divisio - || (as shown in box) <tr>
| unranked_divisio_authority - || (as shown in box) <tr>
| phylum_authority - || (as shown in box) <tr>
| subdivisio - || (as shown in box) <tr>
| subdivisio_authority - || (as shown in box) <tr>
| subphylum - || (as shown in box) <tr>
| subphylum_authority - || (as shown in box) <tr>
| infraphylum - || (as shown in box) <tr>
| infraphylum_authority - || (as shown in box) <tr>
| microphylum - || (as shown in box) <tr>
| microphylum_authority - || (as shown in box) <tr>
| nanophylum - || (as shown in box) <tr>
| nanophylum_authority - || (as shown in box) <tr>
| unranked_classis - || (as shown in box) <tr>
| unranked_classis_authority - || (as shown in box) <tr>
| superclassis - || (as shown in box) <tr>
| superclassis_authority - || (as shown in box) <tr>
| classis_authority - || (as shown in box) <tr>
| unranked_subclassis - || (as shown in box) <tr>
| unranked_subclassis_authority - || (as shown in box) <tr>
| subclassis - || (as shown in box) <tr>
| subclassis_authority - || (as shown in box) <tr>
| unranked_infraclassis - || (as shown in box) <tr>
| unranked_infraclassis_authority - || (as shown in box) <tr>
| infraclassis - || (as shown in box) <tr>
| infraclassis_authority - || (as shown in box) <tr>
| unranked_ordo - || (as shown in box) <tr>
| unranked_ordo_authority - || (as shown in box) <tr>
| magnordo - || (as shown in box) <tr>
| magnordo_authority - || (as shown in box) <tr>
| superordo - || (as shown in box) <tr>
| superordo_authority - || (as shown in box) <tr>
| ordo_authority - || (as shown in box) <tr>
| subordo - || (as shown in box) <tr>
| subordo_authority - || (as shown in box) <tr>
| infraordo - || (as shown in box) <tr>
| infraordo_authority - || (as shown in box) <tr>
| parvordo - || (as shown in box) <tr>
| parvordo_authority - || (as shown in box) <tr>
| zoodivisio - || (as shown in box) <tr>
| zoodivisio_authority - || (as shown in box) <tr>
| zoosectio - || (as shown in box) <tr>
| zoosectio_authority - || (as shown in box) <tr>
| zoosubsectio - || (as shown in box) <tr>
| zoosubsectio_authority - || (as shown in box) <tr>
| unranked_superfamilia - || (as shown in box) <tr>
| unranked_superfamilia_authority - || (as shown in box) <tr>
| superfamilia - || (as shown in box) <tr>
| superfamilia_authority - || (as shown in box) <tr>
| familia_authority - || (as shown in box) <tr>
| subfamilia - || (as shown in box) <tr>
| subfamilia_authority - || (as shown in box) <tr>
| unranked_tribus - || (as shown in box) <tr>
| unranked_tribus_authority - || (as shown in box) <tr>
| supertribus - || (as shown in box) <tr>
| supertribus_authority - || (as shown in box) <tr>
| tribus - || (as shown in box) <tr>
| tribus_authority - || (as shown in box) <tr>
| subtribus - || (as shown in box) <tr>
| subtribus_authority - || (as shown in box) <tr>
| alliance - || (as shown in box) <tr>
| alliance_authority - || (as shown in box) <tr>
| unranked_genus - || (as shown in box) <tr>
| unranked_genus_authority - || (as shown in box) <tr>
| genus_authority - || (as shown in box) <tr>
| subgenus - || (as shown in box) <tr>
| subgenus_authority - || (as shown in box) <tr>
| sectio - || (as shown in box) <tr>
| sectio_authority - || (as shown in box) <tr>
| subsectio - || (as shown in box) <tr>
| subsectio_authority - || (as shown in box) <tr>
| series - || (as shown in box) <tr>
| series_authority - || (as shown in box) <tr>
| subseries - || (as shown in box) <tr>
| subseries_authority - || (as shown in box) <tr>
| species_group - || (as shown in box) <tr>
| species_group_authority - || (as shown in box) <tr>
| species_subgroup - || (as shown in box) <tr>
| species_subgroup_authority - || (as shown in box) <tr>
| species_complex - || (as shown in box) <tr>
| species_complex_authority - || (as shown in box) <tr>
| species_authority - || (as shown in box) <tr>
| subspecies - || (as shown in box) <tr>
| subspecies_authority - || (as shown in box) <tr>
| variety - || (as shown in box) <tr>
| variety_authority - || (as shown in box) <tr>
| forma - || (as shown in box) <tr>
| forma_authority - || (as shown in box) <tr>
| diversity_ref - || (as shown in box) <tr>
| diversity - || (as shown in box) <tr>
| diversity_link - || (as shown in box) <tr>
| binomial - || (as shown in box) <tr>
| binomial_authority - || (as shown in box) <tr>
| trinomial - || (as shown in box) <tr>
| trinomial_authority - || (as shown in box) <tr>
| type_genus - || (as shown in box) <tr>
| type_genus_authority - || (as shown in box) <tr>
| type_species - || (as shown in box) <tr>
| type_species_authority - || (as shown in box) <tr>
| subdivision - || (as shown in box) <tr>
| subdivision_ranks - || (as shown in box) <tr>
| type_strain - || (as shown in box) <tr>
| range_map - || 1st map, bottom of box <tr>
| range_map_upright - || 1st map scaling = 0.9 i.e. 90% of default size<tr>
| range_map_alt - || 1st map ALT= text<tr>
| range_map_caption - || 1st caption, under picture<tr>
| binomial2 - || (as shown in box) <tr>
| binomial2_authority - || (as shown in box) <tr>
| range_map2 - || 2nd map in box <tr>
| range_map2_upright - || 2nd map scaling = 0.9 <tr>
| range_map2_alt - || 2nd map ALT= text <tr>
| range_map2_caption - || 2nd map caption <tr>
| binomial3 - || (as shown in box) <tr>
| binomial3_authority - || (as shown in box) <tr>
| range_map3 - || 3rd map in box <tr>
| range_map3_upright - || 3rd map scaling = 0.9 <tr>
| range_map3_alt - || 3rd map ALT= text <tr>
| range_map3_caption - || 3rd maq caption <tr>
| binomial4 - || (as shown in box) <tr>
| binomial4_authority - || (as shown in box) <tr>
| range_map4 - || 4th map in box <tr>
| range_map4_upright - || 4th map scaling = 0.9 <tr>
| range_map4_alt - || 4th map ALT= text <tr>
| range_map4_caption - || 4th map caption <tr>
| synonyms_ref - || reference for synonyms <tr>
| synonyms - || (as at bottom of box)
|}
=== Articles lacking taxoboxes ===
For articles lacking taxoboxes, add '''[[Template:Missing-taxobox]]''' to the ''talk'' page. This may be done by typing '''<nowiki>{{Missing-taxobox}}</nowiki>''' or '''<nowiki>{{needtaxobox}}</nowiki>''' at the top of the ''talk'' page.
=== Microformat ===
{{UF-species}}
===Template Data===
{{TemplateDataHeader}}
<templatedata>
{
"description": "An infobox for plants, animals and other biological taxa",
"params": {
"name": {
"label": "Name",
"description": "For plants, see [[Wikipedia:Naming conventions (flora)]]. For all other living things, the name should be the most common vernacular name, when one is in widespread use, and a scientific name otherwise.",
"type": "string"
},
"image": {
"label": "Image",
"description": "An image to use, do not include the 'File:' part of the image file name.",
"type": "wiki-file-name",
"required": true
},
"image_width": {
"label": "Image Width",
"description": "(Deprecated) Width to display the image at. Should not normally be set. e.g. 320px",
"type": "string",
"aliases": [
"image width"
],
"required": false,
"deprecated": "Use image_upright"
},
"image_upright": {
"label": "Image Upright scale",
"description": "Scale to display the image at. e.g. 1.1",
"type": "string",
"aliases": [
"image upright"
],
"required": false
},
"image_alt": {
"label": "Image alt text",
"description": "Alt text which describes the image to someone who can't see it",
"type": "string",
"aliases": [
"image alt"
],
"required": false
},
"image_caption": {
"label": "Image caption",
"description": "Caption displayed under the image",
"type": "string",
"suggested": true
},
"image_caption_align": {
"label": "Image caption alignment",
"description": "Alignment of the caption displayed under the image, e.g. left. Should not normally be set.",
"type": "string",
"aliases": [
"image caption alignment"
],
"required": false,
"deprecated": true
},
"regnum": {
"label": "Kingdom",
"description": "Kingdom: [[Animalia]], [[Plantae]], [[Fungi]], other taxa may want to use domain or other ranks instead",
"type": "string",
"required": false
},
"divisio": {
"label": "Division",
"description": "Division in botany, e.g. [[Bryophyta]]. Not for flowering plants using the APG III system",
"type": "string",
"required": false
},
"phylum": {
"label": "Phylum",
"description": "Phylum in zoology, eg [[Chordata]] for chordates",
"type": "string",
"required": false
},
"classis": {
"label": "Class",
"description": "Class/classis taxonomic rank",
"type": "string",
"required": false
},
"ordo": {
"label": "Order",
"description": "Order/ordo taxonomic rank",
"type": "string",
"required": false
},
"familia": {
"label": "Family",
"description": "Family/familia taxonomic rank",
"type": "string",
"required": false
},
"genus": {
"label": "Genus",
"description": "Genus taxonomic rank, in italics, e.g. ''[[Homo]]''",
"type": "string",
"required": false
},
"species": {
"label": "Species",
"description": "Species taxonomic rank. Should be given in abbreviated forms and in italics, e.g. ''H. sapiens''.",
"type": "string",
"required": false
},
"binomial": {
"label": "Binomial",
"description": "Full binomial name of taxa, In full form with italics, e.g. ''Salix alba'' var. ''caerulea''",
"type": "string",
"required": false
},
"binomial_authority": {
"label": "Binomial authority",
"description": "Binomial authority using appropriate conventions, eg [[Carl Linnaeus|L.]] (for plants), [[Carl Linnaeus|Linnaeus]], 1761 (for animals)",
"type": "string",
"required": false
},
"range_map": {
"label": "Range map",
"description": "Map of range",
"type": "string",
"aliases": [
"range map"
],
"required": false
},
"range_map_width": {
"label": "Range map width",
"description": "Width to display range map. Should not normally be set. e.g. 320px",
"type": "string",
"aliases": [
"range map width"
],
"required": false,
"deprecated": true
},
"range_map_alt": {
"label": "Range map alt text",
"description": "Alt text describing the range in words",
"type": "string",
"aliases": [
"range map alt"
],
"required": false
},
"range_map_caption": {
"label": "Range map caption",
"description": "Caption/key for the range map",
"type": "string",
"aliases": [
"range map caption"
],
"required": false
},
"status": {
"label": "Conservation status",
"description": "The conservation status code: 'secure', domesticated 'DOM', Least Concern 'LC', Lower Risk—Least Concern 'LR/lc', Near Threatened 'NT', Lower Risk—Near Threatened 'LR/nt', Lower Risk—Conservation Dependent 'LR/cd', Vulnerable 'VU', Endangered 'EN', Critically Endangered 'CR', Possibly Extinct 'PE', Extinct in the wild 'EW', Extinct 'EX', Data deficient 'DD', Not evaluated 'NE',Fossil 'fossil', Prehistoric 'pre', 'See text', Lower Risk 'LR'",
"type": "string",
"required": false
},
"status_system": {
"label": "Conservation status system",
"description": "System used for Conservation status: 'IUCN3.1', 'IUCN2.3', 'EPBC' etc. Required if status given.",
"type": "string",
"aliases": [
"status system"
],
"required": false
},
"status_ref": {
"label": "Status reference",
"description": "Reference for status <ref>{{IUCN2012.2|...}}</ref>",
"type": "string",
"aliases": [
"status ref"
],
"required": false
},
"extinct": {
"label": "Year of extinction",
"description": "Year of extinction, if known",
"type": "string",
"required": false
},
"fossil_range": {
"label": "Fossil range",
"description": "The stratigraphic range for groups known as fossils. E.g. [[Cambrian]]–[[Permian]] or {{fossil range|Cambrian|Permian}} to give a chart. Use 'Recent' for extant taxa and 'Holocene' for Late Quaternary extinctions.",
"type": "string",
"required": false
},
"virus_group": {
"label": "Virus group",
"description": "Viruses not placed in taxa above the rank of order, instead a virus group is used, given by a Roman numeral from I to VII",
"type": "string",
"aliases": [
"virus group"
],
"required": false
},
"unranked_superdomain": {
"label": "Unranked superdomain",
"description": "For each major taxon you can add an unranked entry to the taxobox. The entry unranked X appears above rank X",
"type": "string",
"aliases": [
"unranked superdomain"
],
"required": false
},
"superdomain": {
"label": "Superdomain",
"description": "This and other minor ranks should only be used when they are important to understanding the classification of the taxon described in the article",
"type": "string",
"required": false
},
"superdomain_authority": {
"label": "Superdomain Authority",
"description": "The authority used for this rank. Every rank has a rank authority field which are not currently listed",
"type": "string",
"aliases": [
"superdomain authority"
],
"required": false
},
"domain": {
"label": "Domain",
"description": "Domain for Archaea, Bacteria and Eukarya",
"type": "string",
"required": false
},
"superregnum": {
"label": "Superkingdom",
"type": "string",
"required": false
},
"unranked_regnum": {
"label": "Unranked kingdom",
"type": "string",
"required": false
},
"subregnum": {
"label": "Subkingdom",
"type": "string",
"required": false
},
"superdivisio": {
"label": "Superdivision",
"type": "string",
"required": false
},
"superphylum": {
"label": "Superphylum",
"type": "string",
"required": false
},
"unranked_divisio": {
"label": "Unranked division",
"description": "For flowering plants using the APG IV system this should be set to [[Angiosperms]] rather than using division/divisio",
"type": "string",
"aliases": [
"unranked divisio"
],
"required": false
},
"unranked_phylum": {
"label": "Unranked phylum",
"type": "string",
"required": false
},
"subphylum": {
"label": "Subphylum",
"type": "string",
"required": false
},
"infraphylum": {
"label": "Infraphylum",
"type": "string",
"required": false
},
"microphylum": {
"label": "Microphylum",
"type": "string",
"required": false
},
"nanophylum": {
"label": "Nanophylum",
"type": "string",
"required": false
},
"superclassis": {
"label": "Superclass",
"type": "string",
"required": false
},
"unranked_classis": {
"label": "Unranked class",
"description": "For flowering plants using the APG IV system this should be used rather than class/classis",
"type": "string",
"aliases": [
"unranked classis"
],
"required": false
},
"unranked_subclassis": {
"label": "Unranked subclass",
"type": "string",
"aliases": [
"unranked subclassis"
],
"required": false
},
"subclassis": {
"label": "Subclass",
"type": "string",
"required": false
},
"unranked_infraclassis": {
"label": "Unranked infraclass",
"type": "string",
"aliases": [
"unranked infraclassis"
],
"required": false
},
"infraclassis": {
"label": "Infraclass",
"type": "string",
"required": false
},
"magnordo": {
"label": "Magnorder",
"type": "string",
"required": false
},
"superordo": {
"label": "Superorder",
"type": "string",
"required": false
},
"unranked_ordo": {
"label": "Unranked order",
"description": "Generally used for flowering plants using the APG IV system",
"type": "string",
"aliases": [
"unranked ordo"
],
"required": false
},
"subordo": {
"label": "subordo",
"type": "string",
"required": false
},
"infraordo": {
"label": "infraordo",
"type": "string",
"required": false
},
"parvordo": {
"label": "parvordo",
"type": "string",
"required": false
},
"zoodivisio": {
"label": "zoodivision",
"description": "Used in zoology, a different rank to the division used in botany.",
"type": "string",
"required": false
},
"zoosectio": {
"label": "zoosection",
"description": "Used in zoology, a different rank to the section used in botany.",
"type": "string",
"required": false
},
"zoosubsectio": {
"label": "zoosubsection",
"description": "Used in zoology, a different rank to the subsection used in botany.",
"type": "string",
"required": false
},
"unranked_superfamilia": {
"label": "Unranked Superfamily",
"type": "string",
"required": false
},
"superfamilia": {
"label": "Superfamily",
"type": "string",
"required": false
},
"subfamilia": {
"label": "Subfamily",
"type": "string",
"required": false
},
"supertribus": {
"label": "supertribus",
"type": "string",
"required": false
},
"unranked_tribus": {
"label": "unranked tribe",
"type": "string",
"aliases": [
"unranked tribus"
],
"required": false
},
"tribus": {
"label": "Tribe",
"type": "string",
"required": false
},
"subtribus": {
"label": "Subtribe",
"type": "string",
"required": false
},
"alliance": {
"label": "alliance",
"type": "string",
"required": false,
"deprecated": "Displays as a rank between subtribe and genus. "
},
"unranked_genus": {
"label": "Unranked genus",
"type": "string",
"aliases": [
"unranked genus"
],
"required": false
},
"subgenus": {
"label": "Subgenus",
"type": "string",
"required": false
},
"sectio": {
"label": "Section",
"description": "Used in botany, use zoosectio in zoology",
"type": "string",
"required": false
},
"subsectio": {
"label": "Subsection",
"description": "Used in botany, use zoosubsectio in zoology",
"type": "string",
"required": false
},
"series": {
"label": "Series",
"type": "string",
"required": false
},
"subseries": {
"label": "Subseries",
"type": "string",
"required": false
},
"species_group": {
"label": "Species group",
"type": "string",
"aliases": [
"species group"
],
"required": false
},
"species_subgroup": {
"label": "species subgroup",
"type": "string",
"aliases": [
"species subgroup"
],
"required": false
},
"species_complex": {
"label": "species complex",
"type": "string",
"aliases": [
"species complex"
],
"required": false
},
"subspecies": {
"label": "subspecies",
"type": "string",
"required": false
},
"variety": {
"label": "variety",
"type": "string",
"required": false
},
"forma": {
"label": "form",
"description": "Used in botany, not in zoology",
"type": "string",
"required": false
},
"trinomial": {
"label": "trinomial",
"description": "The full trinomial name for subspecies, it should generally be in italics.",
"type": "string",
"required": false
},
"trinomial_authority": {
"label": "trinomial authority",
"description": "The authority for a trinomial.",
"type": "string",
"aliases": [
"trinomial authority"
],
"required": false
},
"synonyms": {
"label": "Synonyms",
"description": "A list of synonyms for a species, e.g. ''species1'' <small>Authority1</small><br/> ''species2'' <small>Authority2</small>",
"type": "string",
"required": false
},
"synonyms_ref": {
"label": "Synonyms ref",
"description": "References for the synonym lists, e.g.<ref>Smith and Jones, 2009, p. 5</ref>",
"type": "string",
"required": false
},
"type_species": {
"label": "Type species",
"description": "The original name of the species that was initially used to describe the genus, without regard to its present-day nomenclature.",
"type": "string",
"required": false
},
"type_species_authority": {
"label": "Type species authority",
"description": "Authority for the type species, don't use parenthesis.",
"type": "string",
"aliases": [
"type species authority"
],
"required": false
},
"classification_status": {
"label": "Classification status",
"description": "Status of the scientific classification, e.g. disputed. Only use when the scientific classification text would be misleading without it.",
"type": "string",
"aliases": [
"classification status"
],
"required": false
},
"subdivision_ranks": {
"label": "Subdivision ranks",
"description": "Rank used for sub-divisions of this taxa, e.g. 'Families'",
"type": "string",
"aliases": [
"subdivision ranks"
],
"required": false
},
"subdivision": {
"label": "Subdivision",
"description": "List of sub divisions of this taxa, e.g. [[Family1]]<br/> [[Family2]]<br/> [[Family3]]",
"type": "string",
"required": false
},
"image2": {
"label": "Image 2",
"description": "A second image, only use in rare circumstances.",
"type": "string",
"required": false
},
"image2_width": {
"label": "Image 2 Width",
"description": "Deprecated. Width of the second image",
"type": "number",
"aliases": [
"image2 width"
],
"required": false,
"deprecated": true
},
"image2_upright": {
"label": "Image 2 Upright scale",
"description": "Scale of the second image",
"type": "number",
"aliases": [
"image2 upright"
],
"required": false
},
"image2_alt": {
"label": "Image 2 alt text",
"description": "Alt text which describes the second image to someone who can't see it",
"type": "string",
"aliases": [
"image2 alt"
],
"required": false
},
"image2_caption": {
"label": "Image 2 caption",
"description": "Caption to display under the second image",
"type": "string",
"required": false
},
"binomial2": {
"label": "Binomial2",
"description": "Second binomial name of taxa, only used in rare circumstances",
"type": "string",
"required": false
},
"binomial2_authority": {
"label": "Binomial authority 2",
"description": "Authority of second binomial",
"type": "string",
"aliases": [
"binomial2 authority"
],
"required": false
},
"binomial3": {
"label": "Binomial3",
"description": "Third binomial name of taxa, only used in rare circumstances",
"type": "string",
"required": false
},
"binomial3_authority": {
"label": "Binomial authority 3",
"description": "Authority of third binomial",
"type": "string",
"aliases": [
"binomial3 authority"
],
"required": false
},
"binomial4": {
"label": "Binomial4",
"description": "Fourth binomial name of taxa, only used in rare circumstances",
"type": "string",
"required": false
},
"binomial4_authority": {
"label": "Binomial authority 4",
"description": "Authority of fourth binomial",
"type": "string",
"aliases": [
"binomial4 authority"
],
"required": false
},
"range_map2": {
"label": "Range map 2",
"description": "Second map of range",
"type": "string",
"aliases": [
"range map2"
],
"required": false
},
"range_map2_width": {
"label": "Range map 2 width",
"description": "Width of second range map",
"type": "string",
"aliases": [
"range map2 width"
],
"required": false,
"deprecated": true
},
"range_map2_alt": {
"label": "Range map 2 alt text",
"description": "Alt text describing the second range map",
"type": "string",
"aliases": [
"range map2 alt"
],
"required": false
},
"range_map2_caption": {
"label": "Range map 2 caption",
"description": "Caption/key for the second range map",
"type": "string",
"aliases": [
"range map2 caption"
],
"required": false
},
"range_map3": {
"label": "Range map 3",
"description": "Third map of range",
"type": "string",
"aliases": [
"range map3"
],
"required": false
},
"range_map3_width": {
"label": "Range map 3 width",
"description": "Width of third range map",
"type": "string",
"aliases": [
"range map3 width"
],
"required": false,
"deprecated": true
},
"range_map3_alt": {
"label": "Range map 3 alt text",
"description": "Alt text describing the third range map",
"type": "string",
"aliases": [
"range map3 alt"
],
"required": false
},
"range_map3_caption": {
"label": "Range map 3 caption",
"description": "Caption/key for the third range map",
"type": "string",
"aliases": [
"range map3 caption"
],
"required": false
},
"range_map4": {
"label": "Range map 4",
"description": "Forth map of range",
"type": "string",
"aliases": [
"range map4"
],
"required": false
},
"range_map4_width": {
"label": "Range map 4 width",
"description": "Width of forth range map",
"type": "string",
"aliases": [
"range map4 width"
],
"required": false,
"deprecated": true
},
"range_map4_alt": {
"label": "Range map 4 alt text",
"description": "Alt text describing the forth range map",
"type": "string",
"aliases": [
"range map4 alt"
],
"required": false
},
"range_map4_caption": {
"label": "Range map 4 caption",
"description": "Caption/key for the fourth range map",
"type": "string",
"aliases": [
"range map4 caption"
],
"required": false
},
"color": {
"label": "color",
"description": "Generally not used as it is automatically assigned based on the entry for regnum, virus group, unranked phylum, phylum.",
"type": "string",
"required": false,
"deprecated": true
},
"genus_authority": {
"label": "Genus authority",
"type": "string"
}
},
"format": "block",
"paramOrder": [
"name",
"image",
"image_width",
"image_upright",
"image_alt",
"image_caption",
"image_caption_align",
"regnum",
"divisio",
"phylum",
"classis",
"ordo",
"familia",
"genus",
"genus_authority",
"species",
"binomial",
"binomial_authority",
"range_map",
"range_map_width",
"range_map_alt",
"range_map_caption",
"status",
"status_system",
"status_ref",
"extinct",
"fossil_range",
"virus_group",
"unranked_superdomain",
"superdomain",
"superdomain_authority",
"domain",
"superregnum",
"unranked_regnum",
"subregnum",
"superdivisio",
"superphylum",
"unranked_divisio",
"unranked_phylum",
"subphylum",
"infraphylum",
"microphylum",
"nanophylum",
"superclassis",
"unranked_classis",
"unranked_subclassis",
"subclassis",
"unranked_infraclassis",
"infraclassis",
"magnordo",
"superordo",
"unranked_ordo",
"subordo",
"infraordo",
"parvordo",
"zoodivisio",
"zoosectio",
"zoosubsectio",
"unranked_superfamilia",
"superfamilia",
"subfamilia",
"supertribus",
"unranked_tribus",
"tribus",
"subtribus",
"alliance",
"unranked_genus",
"subgenus",
"sectio",
"subsectio",
"series",
"subseries",
"species_group",
"species_subgroup",
"species_complex",
"subspecies",
"variety",
"forma",
"trinomial",
"trinomial_authority",
"synonyms",
"synonyms_ref",
"type_species",
"type_species_authority",
"classification_status",
"subdivision_ranks",
"subdivision",
"image2",
"image2_width",
"image2_upright",
"image2_alt",
"image2_caption",
"binomial2",
"binomial2_authority",
"binomial3",
"binomial3_authority",
"binomial4",
"binomial4_authority",
"range_map2",
"range_map2_width",
"range_map2_alt",
"range_map2_caption",
"range_map3",
"range_map3_width",
"range_map3_alt",
"range_map3_caption",
"range_map4",
"range_map4_width",
"range_map4_alt",
"range_map4_caption",
"color"
]
}
</templatedata>
== Supporting templates ==
* [[Template:Taxobox/core]]
** [[Template:Taxobox/species]]
** [[Template:Taxobox/taxonomy]]
** [[Template:Taxonomy]]
* [[Module:Autotaxobox]]
* [[Template:Taxobox colour]]
** [[Template:Sets taxobox colour]]
** [[Template:Taxobox/Error colour]]
* [[Template:Taxobox name]]
== Tracking categories ==
Hidden category added by Taxobox:
* {{clc|Taxoboxes using extinct parameters}}
Hidden categories added by Taxobox/core:
* {{clc|Articles using diversity taxobox}}
* {{clc|Articles with 'species' microformats}}
Hidden categories added by Taxobox/species:
* {{clc|Taxoboxes with an unrecognised status system}}
* {{clc|Taxoboxes needing a status system parameter}}
* {{clc|Invalid conservation status}}
Hidden categories added by Taxobox/Error colour:
* {{clc|Taxoboxes with an invalid color}}
== See also ==
* {{tl|Automatic taxobox}}
* [[Wikipedia:How to read a taxobox]]
* [[Wikipedia:Manual of Style/Infoboxes]]
<div style="display: none">{{reflist}}</div>
== Notes ==
{{reflist|group=note}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Biology infobox templates]]
[[Category:Taxobox templates]]
[[Category:Wikipedia how-to|Taxobox usage]]
[[Category:Templates that add a tracking category]]
}}</includeonly><noinclude>
[[Category:Wikipedia Manual of Style (science)]]
</noinclude>
6c70da8941b3a73262e9868a812416f25eddbe1b
Template:Taxobox/core
10
362
711
710
2021-01-05T17:34:22Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{| class="infobox biota" style="text-align: left; width: 200px; font-size: 100%"
|-
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}}| }}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}} }}{{#if:{{{temporal_range|}}}|<br /><small>Temporal range: {{{temporal_range}}}</small>}}
|-
{{#if:{{{image|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{{image_width|}}}|sizedefault=frameless|upright={{{upright|1}}}|alt={{{image_alt|}}}}}
{{!}}-
{{#if:{{{image_caption|}}}|
{{!}} colspan=2 style="text-align: {{{image_caption_align|center}}}; font-size: 88%" {{!}} {{{image_caption}}}
{{!}}-
}}
}}
{{#if:{{{image2|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image2}}}|size={{{image2_width|}}}|sizedefault=frameless|upright={{#if:{{{upright2|}}}|{{{upright2}}}|{{{upright|1}}}}}|alt={{{image2_alt|}}}}}
{{!}}-
{{#if:{{{image2_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{image2_caption}}}
{{!}}-
}}
}}
|- colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}"
{{#if:{{{status|}}}|{{taxobox/species|{{{status_system|}}}|{{{status|}}}|{{{status_ref|}}}|extinct={{{extinct|}}} }} }}
|-{{#if:{{{status2|}}}|{{taxobox/species|{{{status2_system|}}}|{{{status2|}}}|{{{status2_ref|}}}|extinct={{{extinct|}}} }} }}
|-
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" | {{#if:{{{virus_group|{{{virus|}}}}}}|[[Virus classification]]|{{#if:{{{ichnos|}}}|[[Trace fossil classification]]|{{#if:{{{veterovata|}}}|[[Veterovata|Eggshell classification]]|[[Taxonomy (biology)|Scientific classification]]}} }} }} {{#if: {{{classification_status|}}} | ({{{classification_status}}}) | }}{{#if:{{{edit link|}}}|{{edit taxonomy|{{{parent|}}} | {{{edit link}}} }} }}
|-
{{#if:{{{parent|}}}|
{{taxobox/taxonomy|{{{parent}}}|{{{display_taxa|}}}|authority={{{authority|}}}|parent_authority={{{parent_authority|}}}|grandparent_authority={{{grandparent_authority|}}}|greatgrandparent_authority={{{greatgrandparent_authority|}}}|greatgreatgrandparent_authority={{{greatgreatgrandparent_authority|}}}|bold first={{#if:{{{species|}}}|link|bold}} }}
}}
{{#if:{{{virus_group|}}}|{{taxonomy|rank=group
|link= {{#switch:{{lc:{{{virus_group}}} }}
|i=Group I <small>([[dsDNA virus|dsDNA]])</small>
|ii=Group II <small>([[ssDNA virus|ssDNA]])</small>
|iii=Group III <small>([[dsRNA virus|dsRNA]])</small>
|iv=Group IV <small>([[Positive-sense ssRNA virus|(+)ssRNA]])</small>
|v=Group V <small>([[Negative-sense ssRNA virus|(−)ssRNA]])</small>
|vi=Group VI <small>([[ssRNA-RT virus|ssRNA-RT]])</small>
|vii=Group VII <small>([[dsDNA-RT virus|dsDNA-RT]])</small>
|{{{virus_group}}}
}} }} }}
{{#if:{{{unranked_superdomain|}}}|{{taxonomy|rank=unranked|link={{{unranked_superdomain}}} | auth={{{unranked_superdomain_authority|}}} }} }}
{{#if:{{{superdomain|}}}|{{taxonomy|rank=superdomain|link={{{superdomain}}} | auth={{{superdomain_authority|}}} }} }}
{{#if:{{{unranked_domain|}}}|{{taxonomy|rank=unranked|link={{{unranked_domain}}} | auth={{{unranked_domain_authority|}}} }} }}
{{#if:{{{domain|}}}|{{taxonomy|rank=domain|link={{{domain}}} | auth={{{domain_authority|}}} }} }}
{{#if:{{{unranked_superregnum|}}}|{{taxonomy|rank=unranked|link={{{unranked_superregnum}}} | auth={{{unranked_superregnum_authority|}}} }} }}
{{#if:{{{superregnum|}}}|{{taxonomy|rank=superregnum|link={{{superregnum}}} | auth={{{superregnum_authority|}}} }} }}
{{#if:{{{unranked_regnum|}}}|{{taxonomy|rank=unranked|link={{{unranked_regnum}}} | auth={{{unranked_regnum_authority|}}} }} }}
{{#if:{{{regnum|}}}|{{taxonomy|rank=regnum|link={{{regnum}}} | auth={{{regnum_authority|}}} }} }}
{{#if:{{{unranked_subregnum|}}}|{{taxonomy|rank=unranked|link={{{unranked_subregnum}}} | auth={{{unranked_subregnum_authority|}}} }} }}
{{#if:{{{subregnum|}}}|{{taxonomy|rank=subregnum|link={{{subregnum}}} | auth={{{subregnum_authority|}}} }} }}
{{#if:{{{unranked_superdivisio|}}}|{{taxonomy|rank=unranked|link={{{unranked_superdivisio}}} | auth={{{unranked_superdivisio_authority|}}} }} }}
{{#if:{{{superdivisio|}}}|{{taxonomy|rank=superdivisio|link={{{superdivisio}}} | auth={{{superdivisio_authority|}}} }} }}
{{#if:{{{unranked_superphylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_superphylum}}} | auth={{{unranked_superphylum_authority|}}} }} }}
{{#if:{{{superphylum|}}}|{{taxonomy|rank=superphylum|link={{{superphylum}}} | auth={{{superphylum_authority|}}} }} }}
{{#if:{{{unranked_divisio|}}}|{{taxonomy|rank=unranked|link={{{unranked_divisio}}} | auth={{{unranked_divisio_authority|}}} }} }}
{{#if:{{{divisio|}}}|{{taxonomy|rank=divisio|link={{{divisio}}} | auth={{{divisio_authority|}}} }} }}
{{#if:{{{unranked_phylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_phylum}}} | auth={{{unranked_phylum_authority|}}} }} }}
{{#if:{{{phylum|}}}|{{taxonomy|rank=phylum|link={{{phylum}}} | auth={{{phylum_authority|}}} }} }}
{{#if:{{{unranked_subdivisio|}}}|{{taxonomy|rank=unranked|link={{{unranked_subdivisio}}} | auth={{{unranked_subdivisio_authority|}}} }} }}
{{#if:{{{subdivisio|}}}|{{taxonomy|rank=subdivisio|link={{{subdivisio}}} | auth={{{subdivisio_authority|}}} }} }}
{{#if:{{{unranked_subphylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_subphylum}}} | auth={{{unranked_subphylum_authority|}}} }} }}
{{#if:{{{subphylum|}}}|{{taxonomy|rank=subphylum|link={{{subphylum}}} | auth={{{subphylum_authority|}}} }} }}
{{#if:{{{unranked_infraphylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_infraphylum}}} | auth={{{unranked_infraphylum_authority|}}} }} }}
{{#if:{{{infraphylum|}}}|{{taxonomy|rank=infraphylum|link={{{infraphylum}}} | auth={{{infraphylum_authority|}}} }} }}
{{#if:{{{unranked_microphylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_microphylum}}} | auth={{{unranked_microphylum_authority|}}} }} }}
{{#if:{{{microphylum|}}}|{{taxonomy|rank=microphylum|link={{{microphylum}}} | auth={{{microphylum_authority|}}} }} }}
{{#if:{{{unranked_nanophylum|}}}|{{taxonomy|rank=unranked|link={{{unranked_nanophylum}}} | auth={{{unranked_nanophylum_authority|}}} }} }}
{{#if:{{{nanophylum|}}}|{{taxonomy|rank=nanophylum|link={{{nanophylum}}} | auth={{{nanophylum_authority|}}} }} }}
{{#if:{{{unranked_superclassis|}}}|{{taxonomy|rank=unranked|link={{{unranked_superclassis}}} | auth={{{unranked_superclassis_authority|}}} }} }}
{{#if:{{{superclassis|}}}|{{taxonomy|rank=superclassis|link={{{superclassis}}} | auth={{{superclassis_authority|}}} }} }}
{{#if:{{{unranked_classis|}}}|{{taxonomy|rank=unranked|link={{{unranked_classis}}} | auth={{{unranked_classis_authority|}}} }} }}
{{#if:{{{classis|}}}|{{taxonomy|rank=classis|link={{{classis}}} | auth={{{classis_authority|}}} }} }}
{{#if:{{{unranked_subclassis|}}}|{{taxonomy|rank=unranked|link={{{unranked_subclassis}}} | auth={{{unranked_subclassis_authority|}}} }} }}
{{#if:{{{subclassis|}}}|{{taxonomy|rank=subclassis|link={{{subclassis}}} | auth={{{subclassis_authority|}}} }} }}
{{#if:{{{unranked_infraclassis|}}}|{{taxonomy|rank=unranked|link={{{unranked_infraclassis}}} | auth={{{unranked_infraclassis_authority|}}} }} }}
{{#if:{{{infraclassis|}}}|{{taxonomy|rank=infraclassis|link={{{infraclassis}}} | auth={{{infraclassis_authority|}}} }} }}
{{#if:{{{unranked_magnordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_magnordo}}} | auth={{{unranked_magnordo_authority|}}} }} }}
{{#if:{{{magnordo|}}}|{{taxonomy|rank=magnordo|link={{{magnordo}}} | auth={{{magnordo_authority|}}} }} }}
{{#if:{{{unranked_superordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_superordo}}} | auth={{{unranked_superordo_authority|}}} }} }}
{{#if:{{{superordo|}}}|{{taxonomy|rank=superordo|link={{{superordo}}} | auth={{{superordo_authority|}}} }} }}
{{#if:{{{unranked_ordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_ordo}}} | auth={{{unranked_ordo_authority|}}} }} }}
{{#if:{{{ordo|}}}|{{taxonomy|rank=ordo|link={{{ordo}}} | auth={{{ordo_authority|}}} }} }}
{{#if:{{{unranked_subordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_subordo}}} | auth={{{unranked_subordo_authority|}}} }} }}
{{#if:{{{subordo|}}}|{{taxonomy|rank=subordo|link={{{subordo}}} | auth={{{subordo_authority|}}} }} }}
{{#if:{{{unranked_infraordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_infraordo}}} | auth={{{unranked_infraordo_authority|}}} }} }}
{{#if:{{{infraordo|}}}|{{taxonomy|rank=infraordo|link={{{infraordo}}} | auth={{{infraordo_authority|}}} }} }}
{{#if:{{{unranked_parvordo|}}}|{{taxonomy|rank=unranked|link={{{unranked_parvordo}}} | auth={{{unranked_parvordo_authority|}}} }} }}
{{#if:{{{parvordo|}}}|{{taxonomy|rank=parvorder|link={{{parvordo}}} | auth={{{parvordo_authority|}}} }} }}
{{#if:{{{unranked_zoodivisio|}}}|{{taxonomy|rank=unranked|link={{{unranked_zoodivisio}}} | auth={{{unranked_zoodivisio_authority|}}} }} }}
{{#if:{{{zoodivisio|}}}|{{taxonomy|rank=zoodivisio|link={{{zoodivisio}}} | auth={{{zoodivisio_authority|}}} }} }}
{{#if:{{{unranked_zoosectio|}}}|{{taxonomy|rank=unranked|link={{{unranked_zoosectio}}} | auth={{{unranked_zoosectio_authority|}}} }} }}
{{#if:{{{zoosectio|}}}|{{taxonomy|rank=zoosectio|link={{{zoosectio}}} | auth={{{zoosectio_authority|}}} }} }}
{{#if:{{{unranked_zoosubsectio|}}}|{{taxonomy|rank=unranked|link={{{unranked_zoosubsectio}}} | auth={{{unranked_zoosubsectio_authority|}}} }} }}
{{#if:{{{zoosubsectio|}}}|{{taxonomy|rank=zoosubsectio|link={{{zoosubsectio}}} | auth={{{zoosubsectio_authority|}}} }} }}
{{#if:{{{unranked_superfamilia|}}}|{{taxonomy|rank=unranked|link={{{unranked_superfamilia}}} | auth={{{unranked_superfamilia_authority|}}} }} }}
{{#if:{{{superfamilia|}}}|{{taxonomy|rank=superfamilia|link={{{superfamilia}}} | auth={{{superfamilia_authority|}}} }} }}
{{#if:{{{unranked_familia|}}}|{{taxonomy|rank=unranked|link={{{unranked_familia}}} | auth={{{unranked_familia_authority|}}} }} }}
{{#if:{{{familia|}}}|{{taxonomy|rank=familia|link={{{familia}}} | auth={{{familia_authority|}}} }} }}
{{#if:{{{unranked_subfamilia|}}}|{{taxonomy|rank=unranked|link={{{unranked_subfamilia}}} | auth={{{unranked_subfamilia_authority|}}} }} }}
{{#if:{{{subfamilia|}}}|{{taxonomy|rank=subfamilia|link={{{subfamilia}}} | auth={{{subfamilia_authority|}}} }} }}
{{#if:{{{unranked_supertribus|}}}|{{taxonomy|rank=unranked|link={{{unranked_supertribus}}} | auth={{{unranked_supertribus_authority|}}} }} }}
{{#if:{{{supertribus|}}}|{{taxonomy|rank=supertribus|link={{{supertribus}}} | auth={{{supertribus_authority|}}} }} }}
{{#if:{{{unranked_tribus|}}}|{{taxonomy|rank=unranked|link={{{unranked_tribus}}} | auth={{{unranked_tribus_authority|}}} }} }}
{{#if:{{{tribus|}}}|{{taxonomy|rank=tribus|link={{{tribus}}} | auth={{{tribus_authority|}}} }} }}
{{#if:{{{unranked_subtribus|}}}|{{taxonomy|rank=unranked|link={{{unranked_subtribus}}} | auth={{{unranked_subtribus_authority|}}} }} }}
{{#if:{{{subtribus|}}}|{{taxonomy|rank=subtribus|link={{{subtribus}}} | auth={{{subtribus_authority|}}} }} }}
{{#if:{{{unranked_alliance|}}}|{{taxonomy|rank=unranked|link={{{unranked_alliance}}} | auth={{{unranked_alliance_authority|}}} }} }}
{{#if:{{{alliance|}}}|{{taxonomy|rank=alliance|link={{{alliance}}} | auth={{{alliance_authority|}}} }} }}
{{#if:{{{unranked_genus|}}}|{{taxonomy|rank=unranked|link={{{unranked_genus}}} | auth={{{unranked_genus_authority|}}} }} }}
{{#if:{{{genus|}}}| {{taxonomy|rank=genus|link={{{genus}}}|auth={{{genus_authority|}}} }} }}
{{#if:{{{unranked_subgenus|}}}|{{taxonomy|rank=unranked|link={{{unranked_subgenus}}} | auth={{{unranked_subgenus_authority|}}} }} }}
{{#if:{{{subgenus|}}}|{{taxonomy|rank=subgenus|link={{{subgenus}}} | auth={{{subgenus_authority|}}} }} }}
{{#if:{{{unranked_sectio|}}}|{{taxonomy|rank=unranked|link={{{unranked_sectio}}} | auth={{{unranked_sectio_authority|}}} }} }}
{{#if:{{{sectio|}}}|{{taxonomy|rank=sectio|link={{{sectio}}} | auth={{{sectio_authority|}}} }} }}
{{#if:{{{unranked_subsectio|}}}|{{taxonomy|rank=unranked|link={{{unranked_subsectio}}} | auth={{{unranked_subsectio_authority|}}} }} }}
{{#if:{{{subsectio|}}}|{{taxonomy|rank=subsectio|link={{{subsectio}}} | auth={{{subsectio_authority|}}} }} }}
{{#if:{{{unranked_series|}}}|{{taxonomy|rank=unranked|link={{{unranked_series}}} | auth={{{unranked_series_authority|}}} }} }}
{{#if:{{{series|}}}|{{taxonomy|rank=series|link={{{series}}} | auth={{{series_authority|}}} }} }}
{{#if:{{{unranked_subseries|}}}|{{taxonomy|rank=unranked|link={{{unranked_subseries}}} | auth={{{unranked_subseries_authority|}}} }} }}
{{#if:{{{subseries|}}}|{{taxonomy|rank=subseries|link={{{subseries}}}|auth={{{subseries_authority|}}} }} }}
{{#if:{{{unranked_species_group|}}}|{{taxonomy|rank=unranked|link={{{unranked_species_group}}} | auth={{{unranked_species_group_authority|}}} }} }}
{{#if:{{{species_group|}}}|{{taxonomy|rank=species group|link={{{species_group}}} | auth={{{species_group_authority|}}} }} }}
{{#if:{{{unranked_species_subgroup|}}}|{{taxonomy|rank=unranked|link={{{unranked_species_subgroup}}} | auth={{{unranked_species_subgroup_authority|}}} }} }}
{{#if:{{{species_subgroup|}}}|{{taxonomy|rank=species subgroup|link={{{species_subgroup}}} | auth={{{species_subgroup_authority|}}} }} }}
{{#if:{{{unranked_species_complex|}}}|{{taxonomy|rank=unranked|link={{{unranked_species_complex}}} | auth={{{unranked_species_complex_authority|}}} }} }}
{{#if:{{{species_complex|}}}|{{taxonomy|rank=species complex|link={{{species_complex}}} | auth={{{species_complex_authority|}}} }} }}
{{#if:{{{unranked_species|}}}|{{taxonomy|rank=unranked|link={{{unranked_species}}} | auth={{{unranked_species_authority|}}} }} }}
{{#if:{{{species|}}}|{{taxonomy|rank=species|link={{{species}}} | auth={{{species_authority|}}} }} }}
{{#if:{{{unranked_subspecies|}}}|{{taxonomy|rank=unranked|link={{{unranked_subspecies}}} | auth={{{unranked_subspecies_authority|}}} }} }}
{{#if:{{{subspecies|}}}|{{taxonomy|rank=subspecies|link={{{subspecies}}} | auth={{{subspecies_authority|}}}
}} }}
|-
{{#if:{{{unranked_varietas|{{{unranked_variety|}}}}}}|{{taxonomy|rank=unranked|link={{{unranked_varietas|{{{unranked_variety|}}}}}} | auth={{{unranked_varietas_authority|{{{unranked_variety_authority|}}}}}} }} }}
{{#if:{{{varietas|{{{variety|}}}}}}|{{taxonomy|rank=varietas|link={{{varietas|{{{variety}}}}}} | auth={{{varietas_authority|{{{variety_authority|}}}}}}
}} }}
{{#if:{{{forma|}}}|{{taxonomy|rank=forma|link={{{forma}}} | auth={{{forma_authority|}}}
}} }}
|-
{{#if:{{{binomial|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Binomial nomenclature|Binomial name]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} '''<span class="binomial">{{{binomial}}}</span>'''<br /><small>{{{binomial_authority|}}}</small>
}}
|- style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}"
{{#if:{{{trinomial|}}}|
! colspan=2 style="text-align: center" {{!}} [[{{#switch:{{{regnum|}}}|[[Animalia]]|[[Animal]]ia|Animalia=Trinomen|[[Plantae]]|[[Plant]]ae|Plantae|[[Fungi]]|[[Fungus|Fungi]]|Fungi|[[Archaeplastida]]|Archaeplastida=Infraspecific name (botany)|Trinomen}}|Trinomial name]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} '''<span class="trinomial">{{{trinomial}}}</span>'''<br /><small>{{{trinomial_authority|}}}</small>
}}
|-
{{#if:{{{type_genus|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour|}}} }}"{{!}} [[Type genus]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_genus}}}<br /><small>{{{type_genus_authority|}}}</small>
}}
|-
{{#if:{{{type_ichnogenus|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour|}}} }}"{{!}} [[Type genus|Type ichnogenus]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnogenus}}}<br /><small>{{{type_ichnogenus_authority|}}}</small>
}}
|-
{{#if:{{{type_oogenus|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour|}}} }}"{{!}} [[Type genus|Type oogenus]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnogenus}}}<br /><small>{{{type_oogenus_authority|}}}</small>
}}
|-
{{#if:{{{type_species|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Type species]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_species}}}<br /><small>{{{type_species_authority|}}}</small>
}}
|-
{{#if:{{{type_ichnospecies|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Type species|Type ichnospecies]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnospecies}}}<br /><small>{{{type_ichnospecies_authority|}}}</small>
}}
|-
{{#if:{{{type_oospecies|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Type species|Type oospecies]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_oospecies}}}<br /><small>{{{type_oospecies_authority|}}}</small>
}}
|-
{{#if:{{{type_strain|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Type strain]]
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_strain}}}
}}
|-
{{#if:{{{subdivision|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} {{{subdivision_ranks}}}
{{!}}-
{{!}} colspan=2 style="text-align: left" {{!}}
{{{subdivision|}}}
}}
|-
{{#if:{{{possible_subdivision|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} {{{possible_subdivision_ranks}}}
{{!}}-
{{!}} colspan=2 style="text-align: left" {{!}}
{{{possible_subdivision|}}}
}}
|-
{{#if:{{{diversity|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Biodiversity|Diversity]]{{{diversity_ref|}}} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Articles using diversity taxobox]] | }}
{{!}}-
{{!}} colspan=2 style="text-align: center" {{!}} {{#if:{{{diversity_link|}}}|[[{{{diversity_link|}}}|{{{diversity|}}}]]|{{{diversity|}}}}}
{{!}}-
}}
{{#if:{{{range_map|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{range_map}}}|size={{{range_map_width|}}}|sizedefault=frameless|upright={{#if:{{{range_map_upright|}}}|{{{range_map_upright}}}|{{{upright|1}}}}}|alt={{{range_map_alt|}}}}}
{{!}}-
{{#if:{{{range_map_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{range_map_caption}}}
{{!}}-
}}
}}
{{#if:{{{binomial2|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{binomial2}}}'''<br /><small>{{{binomial2_authority|}}}</small>
{{!}}-
}}
{{#if:{{{trinomial2|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{trinomial2}}}'''<br /><small>{{{trinomial2_authority|}}}</small>
{{!}}-
}}
{{#if:{{{range_map2|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{range_map2}}}|size={{{range_map2_width|}}}|sizedefault=frameless|upright={{#if:{{{range_map2_upright|}}}|{{{range_map2_upright}}}|{{{upright|1}}}}}|alt={{{range_map2_alt|}}}}}
{{!}}-
{{#if:{{{range_map2_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{range_map2_caption}}}
{{!}}-
}}
}}
{{#if:{{{binomial3|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{binomial3}}}'''<br /><small>{{{binomial3_authority|}}}</small>
{{!}}-
}}
{{#if:{{{trinomial3|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{trinomial3}}}'''<br /><small>{{{trinomial3_authority|}}}</small>
{{!}}-
}}
{{#if:{{{range_map3|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{range_map3}}}|size={{{range_map3_width|}}}|sizedefault=frameless|upright={{#if:{{{range_map3_upright|}}}|{{{range_map3_upright}}}|{{{upright|1}}}}}|alt={{{range_map3_alt|}}}}}
{{!}}-
{{#if:{{{range_map3_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{range_map3_caption}}}
{{!}}-
}}
}}
{{#if:{{{binomial4|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{binomial4}}}'''<br /><small>{{{binomial4_authority|}}}</small>
{{!}}-
}}
{{#if:{{{trinomial4|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} '''{{{trinomial4}}}'''<br /><small>{{{trinomial4_authority|}}}</small>
{{!}}-
}}
{{#if:{{{range_map4|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{range_map4}}}|size={{{range_map4_width|}}}|sizedefault=frameless|upright={{#if:{{{range_map4_upright|}}}|{{{range_map4_upright}}}|{{{upright|1}}}}}|alt={{{range_map4_alt|}}}}}
{{!}}-
{{#if:{{{range_map4_caption|}}}|
{{!}} colspan=2 style="text-align: center; font-size: 88%" {{!}} {{{range_map4_caption}}}
}}
}}
|-
{{#if:{{{synonyms|}}}|
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color{{COLON}} {{{colour}}} }}" {{!}} [[Synonym (taxonomy)|Synonyms]]{{{synonyms_ref|}}}
{{!}}-
{{!}} colspan=2 style="text-align: left" {{!}}
{{{synonyms}}}
{{!}}-
}}
{{#if:{{{footer|}}}|
{{!}}-
{{!}} colspan=2 style="text-align: left" {{!}}
{{{footer}}}
{{!}}-
}}
|}<!--
Define any categories to be displayed on the page here:
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!--
-->| [[Category:Articles with 'species' microformats]]<!--
-->{{#ifeq:{{{colour|none}}}|{{Taxobox/Error_colour}}| [[Category:Taxoboxes with the error color]]}}<!--
-->{{#ifeq:{{{colour|none}}}|{{Taxobox colour|incertae sedis}}| [[Category:Taxoboxes with the incertae sedis color]]}}<!--
-->{{#ifeq:{{{colour|none}}}|{{Taxobox colour|}}| [[Category:Taxoboxes with no color]]}}<!--
-->}}</includeonly><noinclude>{{documentation}}</noinclude>
2a68fe912c3c045cc628e554ba57339470571de5
Template:Taxobox colour
10
363
713
712
2021-01-05T17:34:22Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#switch:{{Delink|{{lc:{{{1|}}} }} }}
|eukaryota|eukarya = rgb(245,215,255)
|animalia|animal = rgb(235,235,210)
|archaeplastida|plantae|plant|viridiplantae = rgb(180,250,180)
|fungi = rgb(145,250,250)
|sar|chromalveolata = rgb(200,250,80)
|opisthokonta|choanozoa = rgb(240,240,120)
|excavata|excavates|protista|protists = rgb(250,250,100)
|amoebozoa = rgb(170,250,205)
|bacteria|firmicutes|eubacteria = rgb(220,235,245)
|archaea|nanoarchaeota|nanarchaeota|euryarchaeota|crenarchaeota|thaumarchaeota|korarchaeota = rgb(195,245,250)
|incertae sedis|''incertae sedis''|acritarcha = rgb(250,240,230)
|virus|viruses|i|ii|iii|iv|v|vi|vii|viii|viroid|viroids = rgb(250,250,190)
|=transparent
|#default = {{Taxobox/Error colour}}<!--
-->}}</includeonly><noinclude>
{{template doc}}</noinclude>
53a2771ba86f247fb54df43ae93d623de073621e
Template:Taxobox/species
10
364
715
714
2021-01-05T17:34:22Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#if:{{{2|}}}|
! colspan = 2 {{!}} <div style = "text-align: center">[[Conservation status]]</div>
{{!}}-
{{!}} colspan = 2 {{!}} <div style = "text-align: center">{{#if:{{{1|}}}|{{#switch:{{{1}}}<!--
*************
* IUCN2.3 *
*************
--> | iucn2.3
| IUCN2.3 = {{#switch:{{{2}}}
| EX
| ex = [[file:Status iucn2.3 EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List extinct species]] | }}
| EW
| ew = [[file:Status iucn2.3 EW.svg|frameless|link=|alt=]]<br />[[Extinct in the Wild]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List extinct in the wild species]] | }}
| CR
| cr = [[file:Status iucn2.3 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered species|Critically Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] | }}
| EN
| en = [[file:Status iucn2.3 EN.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List endangered species]] | }}
| VU
| vu = [[file:Status iucn2.3 VU.svg|frameless|link=|alt=]]<br />[[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List vulnerable species]] | }}
| LR
| lr = [[file:Status iucn2.3 blank.svg|link=|alt=]]<br />Lower risk {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]] | }}
| CD
| cd
| LR/CD
| lr/CD
| LR/cd
| lr/cd = [[file:Status iucn2.3 CD.svg|frameless|link=|alt=]]<br />[[Conservation Dependent]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List conservation dependent species]] | }}
| NT
| nt
| LR/NT
| lr/NT
| LR/nt
| lr/nt = [[file:Status iucn2.3 NT.svg|frameless|link=|alt=]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List near threatened species]] | }}
| LC
| lc
| LR/LC
| lr/LC
| LR/lc
| lr/lc = [[file:Status iucn2.3 LC.svg|frameless|link=|alt=]]<br />[[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List least concern species]] | }}
| DD
| dd = [[file:Status iucn2.3 blank.svg|frameless|link=|alt=]]<br />[[Data Deficient]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List data deficient species]] | }}
| NE
| ne = ''Not evaluated''
| NR
| nr = ''Not recognized''
| PE
| pe = [[file:Status iucn2.3 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] |}}
| PEW
| pew = [[file:Status iucn2.3 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct in the wild {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] | }}
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]] | }}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[IUCN Red List|IUCN 2.3]]}}){{{3|}}}</small></div><!--
*************
* IUCN3.1 *
*************
-->| iucn
| IUCN
| iucn3.1
| IUCN3.1 = {{#switch:{{{2}}}
| EX
| ex = [[file:Status iucn3.1 EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List extinct species]] | }}
| EW
| ew = [[file:Status iucn3.1 EW.svg|frameless|link=|alt=]]<br />[[Extinct in the Wild]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List extinct in the wild species]] | }}
| CR
| cr = [[file:Status iucn3.1 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered species|Critically Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] |}}
| EN
| en = [[file:Status iucn3.1 EN.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List endangered species]] | }}
| VU
| vu = [[file:Status iucn3.1 VU.svg|frameless|link=|alt=]]<br />[[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List vulnerable species]] |}}
| NT
| nt = [[file:Status iucn3.1 NT.svg|frameless|link=|alt=]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List near threatened species]] | }}
| LC
| lc = [[file:Status iucn3.1 LC.svg|frameless|link=|alt=]]<br />[[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List least concern species]] |}}
| DD
| dd = [[file:Status iucn3.1 blank.svg|frameless|link=|alt=]]<br/>[[Data Deficient]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List data deficient species]] |}}
| NE
| ne = ''Not evaluated''
| NR
| nr = ''Not recognized''
| PE
| pe = [[file:Status iucn3.1 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]] |}}
| PEW
| pew = [[file:Status iucn3.1 CR.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct in the wild {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:IUCN Red List critically endangered species]]|}}
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[IUCN Red List|IUCN 3.1]]}}){{{3|}}}</small></div><!--
*************
* EPBC *
*************
-->| epbc
| EPBC = {{#switch:{{{2}}}
| EX
| ex = [[file:Status EPBC EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act extinct biota]] |}}
| EW
| ew = [[file:Status EPBC EW.svg|frameless|link=|alt=]]<br />[[Extinct in the Wild]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act extinct in the wild biota]]|}}
| CR
| cr = [[file:Status EPBC CR.svg|frameless|link=|alt=]]<br />[[Critically endangered species|Critically endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act critically endangered biota]] |}}
| EN
| en = [[file:Status EPBC EN.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act endangered biota]]|}}
| VU
| vu = [[file:Status EPBC VU.svg|frameless|link=|alt=]]<br />[[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act vulnerable biota]] |}}
| CD
| cd = [[file:Status EPBC CD.svg|frameless|link=|alt=]]<br />[[Conservation Dependent]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:EPBC Act conservation dependent biota]] |}}
| DL
| dl
| Delisted = [[file:Status EPBC DL.svg|frameless|link=|alt=]]<br />Delisted
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Environment Protection and Biodiversity Conservation Act 1999|EPBC Act]]}}){{{3|}}}</small></div><!--
*************
* TNC *
*************
-->| tnc
| TNC
| natureserve
| NatureServe = {{#switch:{{{2}}}
| GX
| gx = [[file:Status TNC GX.svg|frameless|link=|alt=]]<br />Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe presumed extinct species]]|}}
| GH
| gh = [[file:Status TNC GH.svg|frameless|link=|alt=]]<br />Possibly [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe possibly extinct species]]|}}
| G1
| g1 = [[file:Status TNC G1.svg|frameless|link=|alt=]]<br />Critically Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe critically imperiled species]] |}}
| G2
| g2 = [[file:Status TNC G2.svg|frameless|link=|alt=]]<br />Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe imperiled species]] |}}
| G3
| g3 = [[file:Status TNC G3.svg|frameless|link=|alt=]]<br />Vulnerable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe vulnerable species]] |}}
| G4
| g4 = [[file:Status TNC G4.svg|frameless|link=|alt=]]<br />Apparently Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe apparently secure species]] |}}
| G5
| g5 = [[file:Status TNC G5.svg|frameless|link=|alt=]]<br />Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe secure species]]|}}
| GU
| gu = [[file:Status TNC blank.svg|frameless|link=|alt=]]<br />Unrankable
| TX
| tx = [[file:Status TNC TX.svg|frameless|link=|alt=]]<br />Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe presumed extinct species]]|}}
| TH
| th = [[file:Status TNC TH.svg|frameless|link=|alt=]]<br />Possibly [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe possibly extinct species]]|}}
| T1
| t1 = [[file:Status TNC T1.svg|frameless|link=|alt=]]<br />Critically Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe critically imperiled species]]|}}
| T2
| t2 = [[file:Status TNC T2.svg|frameless|link=|alt=]]<br />Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe imperiled species]] |}}
| T3
| t3 = [[file:Status TNC T3.svg|frameless|link=|alt=]]<br />Vulnerable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe vulnerable species]]|}}
| T4
| t4 = [[file:Status TNC T4.svg|frameless|link=|alt=]]<br />Apparently Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe apparently secure species]]|}}
| T5
| t5 = [[file:Status TNC T5.svg|frameless|link=|alt=]]<br />Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:NatureServe secure species]] |}}
| TU
| tu = [[file:Status TNC T blank.svg|frameless|link=|alt=]]<br />Unrankable
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[NatureServe conservation status|NatureServe]]}}){{{3|}}}</small></div><!--
*************
* ESA *
*************
-->| esa
| ESA = {{#switch:{{{2}}}
| EX
| ex = [[file:Status ESA EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| E
| e
| LE
| le = [[file:Status ESA LE.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]]
| T
| t
| LT
| lt = [[file:Status ESA LT.svg|frameless|link=|alt=]]<br />[[Threatened species|Threatened]]
| DL
| dl
| Delisted = [[file:Status ESA DL.svg|frameless|link=|alt=]]<br />Delisted
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Endangered Species Act|ESA]]}}){{{3|}}}</small></div><!--
*************
* COSEWIC *
*************
-->| cosewic
| COSEWIC = {{#switch:{{{2}}}
| X
| x = [[file:Status COSEWIC X.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| XT
| xt = [[file:Status COSEWIC XT.svg|frameless|link=|alt=]]<br />Extirpated (Canada)
| E
| e = [[file:Status COSEWIC E.svg|frameless|link=|alt=]]<br />[[Endangered species|Endangered]]
| T
| t = [[file:Status COSEWIC T.svg|frameless|link=|alt=]]<br />[[Threatened species|Threatened]]
| SC
| sc = [[file:Status COSEWIC SC.svg|frameless|link=|alt=]]<br />Special Concern
| NAR
| nar = [[file:Status COSEWIC NAR.svg|frameless|link=|alt=]]<br />[[Least Concern|Not at risk]]
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Committee on the Status of Endangered Wildlife in Canada|COSEWIC]]}}){{{3|}}}</small></div><!--
*************
* DECF *
*************
-->| decf
| DECF = {{#switch:{{{2}}}
| X
| x = [[file:Status DECF X.svg|frameless|link=|alt=]]<br />Declared Rare — Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| R
| r = [[file:Status DECF R.svg|frameless|link=|alt=]]<br />Declared [[Rare species|rare]]
| P1
| p1 = [[file:Status DECF P1.svg|frameless|link=|alt=]]<br />Priority One — Poorly Known Taxa
| P2
| p2 = [[file:Status DECF P2.svg|frameless|link=|alt=]]<br />Priority Two — Poorly Known Taxa
| P3
| p3 = [[file:Status DECF P3.svg|frameless|link=|alt=]]<br />Priority Three — Poorly Known Taxa
| P4
| p4 = [[file:Status DECF P4.svg|frameless|link=|alt=]]<br />Priority Four — Rare Taxa
| DL
| dl
| Delisted = [[file:Status DECF DL.svg|frameless|link=|alt=]]<br />Delisted
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Declared Rare and Priority Flora List|DEC]]}}){{{3|}}}</small></div><!--
*************
* QLDNCA *
*************
-->| qldnca
| QLDNCA = {{#switch:{{{2}}}
| EW
| ew = [[Extinct in the Wild]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act extinct in the wild biota]]|}}
| EN
| en = [[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act endangered biota]]|}}
| VU
| vu = [[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act vulnerable biota]]|}}
| R
| r = Rare {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act rare biota]]|}}
| NT
| nt = [[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act near threatened biota]]|}}
| LC
| lc = [[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Nature Conservation Act least concern biota]]|}}
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[Nature Conservation Act 1992|NCA]]}}){{{3|}}}</small></div><!--
*************
* CITES *
*************
-->| CITES
| cites = {{#switch:{{{2}}}
| CITES_A1 = [[CITES]] Appendix I
| CITES_A2 = [[CITES]] Appendix II
| CITES_A3 = [[CITES]] Appendix III
| '''''Invalid status''''' {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[CITES]]}}){{{3|}}}</small></div><!--
*************
* NZTCS *
*************
-->| nztcs
| NZTCS = {{#switch:{{{2}}}
| EX
| ex = [[file:Status NZTCS EX.svg|frameless|link=|alt=]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| NC
| nc = [[file:Status NZTCS NC.svg|frameless|link=|alt=]]<br />Nationally Critical
| NE
| ne = [[file:Status NZTCS NE.svg|frameless|link=|alt=]]<br />Nationally Endangered
| NV
| nv = [[file:Status NZTCS NV.svg|frameless|link=|alt=]]<br />Nationally Vulnerable
| SD
| sd = [[file:Status NZTCS SD.svg|frameless|link=|alt=]]<br />Serious Decline
| GD
| gd = [[file:Status NZTCS GD.svg|frameless|link=|alt=]]<br />Gradual Decline
| SP
| sp = [[file:Status NZTCS SP.svg|frameless|link=|alt=]]<br />Sparse
| RR
| rr = [[file:Status NZTCS RR.svg|frameless|link=|alt=]]<br />Range Restricted
| '''''Invalid status'''''{{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|[[New Zealand Threat Classification System|NZ TCS]]}}){{{3|}}}</small></div><!--
********************
* No status system *
********************
-->| {{#switch:{{{2}}}
| EX
| ex = [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| CR
| cr = [[Critically endangered species|Critically Endangered]]
| EN
| en = [[Endangered species|Endangered]]
| {{{2}}}
}}<small> ({{#if:{{{status_text|}}}|[[{{{status_text|#Conservation status}}}|See text]]|{{{1}}}}}){{{3|}}}</small> {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes with an unrecognised status system]]|}}
}}
| {{#switch:{{{2}}}
| EX
| ex = [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }}
| EW
| ew = [[Extinction|Extinct]] in the wild {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Species extinct in the wild]][[Category:Taxoboxes needing a status system parameter]]|}}
| CR
| cr = [[Critically endangered species|Critically endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Critically endangered species]][[Category:Taxoboxes needing a status system parameter]]|}}
| EN
| en = [[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Endangered species]][[Category:Taxoboxes needing a status system parameter]]|}}
| VU
| vu = [[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Vulnerable species]][[Category:Taxoboxes needing a status system parameter]]|}}
| NT
| nt = [[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Near Threatened species]][[Category:Taxoboxes needing a status system parameter]]|}}
| LC
| lc = [[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Least concern species]][[Category:Taxoboxes needing a status system parameter]]|}}
| SE
| se
| SECURE
| Secure
| secure = Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| DD
| dd = [[Data Deficient]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| DOM
| dom
| DOMESTICATED
| Domesticated
| domesticated = Domesticated {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Domesticated animals]]|}}
| PE
| pe = [[file:Status_none_PE.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Critically endangered species]][[Category:Taxoboxes needing a status system parameter]]|}}
| PEW
| pew = [[file:Status_none_PEW.svg|frameless|link=|alt=]]<br />[[Critically endangered]], possibly extinct in the wild {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Critically endangered species]][[Category:Taxoboxes needing a status system parameter]]|}}
| CITES_A1 = [[CITES]] Appendix I {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| CITES_A2 = [[CITES]] Appendix II {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| CITES_A3 = [[CITES]] Appendix III {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}
| FOSSIL
| Fossil
| fossil = Fossil
| PRE
| Pre
| pre = Prehistoric {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Invalid conservation status]]|}}
| text
| Text
| TEXT = ''See text''
| LR/CD
| lr/CD
| LR/cd
| lr/cd = [[file:Status iucn2.3 CD.svg|frameless|link=|alt=]]<br />[[Conservation Dependent]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| LR/NT
| lr/NT
| LR/nt
| lr/nt = [[file:Status iucn2.3 NT.svg|frameless|link=|alt=]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Near Threatened species]][[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| LR/LC
| lr/LC
| LR/lc
| lr/lc = [[file:Status iucn2.3 LC.svg|frameless|link=|alt=]]<br />[[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Least Concern species]][[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| GX
| gx = [[file:Status TNC GX.svg|frameless|link=|alt=]]<br />Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}| ({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| GH
| gh = [[file:Status TNC GH.svg|frameless|link=|alt=]]<br />Possibly [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G1
| g1 = [[file:Status TNC G1.svg|frameless|link=|alt=]]<br />Critically Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G2
| g2 = [[file:Status TNC G2.svg|frameless|link=|alt=]]<br />Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G3
| g3 = [[file:Status TNC G3.svg|frameless|link=|alt=]]<br />Vulnerable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G4
| g4 = [[file:Status TNC G4.svg|frameless|link=|alt=]]<br />Apparently Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| G5
| g5 = [[file:Status TNC G5.svg|frameless|link=|alt=]]<br />Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| GU
| gu = [[file:Status TNC blank.svg|frameless|link=|alt=]]<br />Unrankable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| TX
| tx = [[file:Status TNC TX.svg|frameless|link=|alt=]]<br />Presumed [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}} {{#if:{{{extinct|}}}| ({{{extinct}}}) }}<!--This case is subject to deletion once status systems are added-->
| TH
| th = [[file:Status TNC TH.svg|frameless|link=|alt=]]<br />Possibly [[Extinction|Extinct]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T1
| t1 = [[file:Status TNC T1.svg|frameless|link=|alt=]]<br />Critically Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T2
| t2 = [[file:Status TNC T2.svg|frameless|link=|alt=]]<br />Imperiled {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T3
| t3 = [[file:Status TNC T3.svg|frameless|link=|alt=]]<br />Vulnerable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T4
| t4 = [[file:Status TNC T4.svg|frameless|link=|alt=]]<br />Apparently Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| T5
| t5 = [[file:Status TNC T5.svg|frameless|link=|alt=]]<br />Secure {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| TU
| tu = [[file:Status TNC T blank.svg|frameless|link=|alt=]]<br />Unrankable {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| R
| r = [[file:Status DECF R.svg|frameless|link=|alt=]]<br />Declared [[Rare species|rare]] {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| P1
| p1 = [[file:Status DECF P1.svg|frameless|link=|alt=]]<br />[[Conservation Codes for Western Australian Flora|Priority One]] — Poorly Known Taxa {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| P2
| p2 = [[file:Status DECF P2.svg|frameless|link=|alt=]]<br />[[Conservation Codes for Western Australian Flora|Priority Two]] — Poorly Known Taxa {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| P3
| p3 = [[file:Status DECF P3.svg|frameless|link=|alt=]]<br />[[Conservation Codes for Western Australian Flora|Priority Three]] — Poorly Known Taxa {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| P4
| p4 = [[file:Status DECF P4.svg|frameless|link=|alt=]]<br />[[Conservation Codes for Western Australian Flora|Priority Four]] — Rare Taxa {{#ifeq: {{NAMESPACEE}} | {{ns: 0}} | [[Category:Taxoboxes needing a status system parameter]]|}}<!--This case is subject to deletion once status systems are added-->
| {{{2}}}
}}<small>{{{3|}}}</small></div>
}}
}}<noinclude>{{documentation}}</noinclude>
a1e79cb08f5cc5fa50ef7d49ec9c39c90cf60205
Template:Taxobox colour scheme
10
365
717
716
2021-01-05T17:34:22Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{| class="wikitable"
|-
! style="background:{{Taxobox colour|[[Virus]]}}" | [[Virus]]es || {{Taxobox colour|[[Virus]]}}
|also [[Viroid]]s
|-
! style="background:{{Taxobox colour|[[Bacteria]]}}" | [[Bacteria]] || {{Taxobox colour|[[Bacteria]]}}
|-
! style="background:{{Taxobox colour|[[Archaea]]}}" | [[Archaea]] || {{Taxobox colour|[[Archaea]]}}
|also [[Nanoarchaeota]] (Nanarchaeota), [[Korarchaeota]], [[Thaumarchaeota]], [[Crenarchaeota]] and [[Euryarchaeota]]
|-
! style="background:{{Taxobox colour|Eukaryota}}" | [[Eukaryote|Eukaryota]] || {{Taxobox colour|Eukaryota}}
|For eukaryotes with no other colour defined
|-
! style="background:{{Taxobox colour|[[Opisthokonta]]}}" | [[Opisthokont|Opisthokonta]] || {{Taxobox colour|[[Opisthokonta]]}}
|For opisthokonts with no other colour defined
|-
! style="background:{{Taxobox colour|[[Animal]]ia}}" | [[Animal]]ia || {{Taxobox colour|[[Animal]]ia}}
|-
! style="background:{{Taxobox colour|[[Fungi]]}}" | [[Fungus|Fungi]] || {{Taxobox colour|[[Fungus|Fungi]]}}
|-
! style="background:{{Taxobox colour|[[Archaeplastida]]}}" | [[Archaeplastida]] || {{Taxobox colour|[[Archaeplastida]]}}
|also [[Plant]]ae and [[Viridiplantae]]
|-
! style="background:{{Taxobox colour|[[SAR supergroup|SAR]]}}" | [[SAR supergroup|SAR]] || {{Taxobox colour|[[SAR supergroup|SAR]]}}
|also [[Chromalveolata]]
|-
! style="background:{{Taxobox colour|[[Excavata]]}}" | [[Excavata]] || {{Taxobox colour|[[Excavata]]}}
|also [[Protist|Protista]]
|-
! style="background:{{Taxobox colour|[[Amoebozoa]]}}" | [[Amoebozoa]] || {{Taxobox colour|[[Amoebozoa]]}}
|-
! style="background:{{Taxobox colour|''[[incertae sedis]]''}}" | ''[[incertae sedis]]'' || {{Taxobox colour|''[[incertae sedis]]''}}
|-
| colspan=2 | Colours not produced by this template:
|-
! style='background:rgb(215,240,210)' | [[Template:Ichnobox|Ichnotaxa]] || rgb(215,240,210)
|-
! style='background:rgb(250,250,220)' | [[Template:Oobox|Ootaxa]] || rgb(250,250,220)
|}<noinclude>
[[Category:Taxobox templates]]
</noinclude>
1c33d3d49543802a62d44d81707235667cfb1c67
Template:Taxobox colour/doc
10
366
719
718
2021-01-05T17:34:23Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
{{High-risk|340000+}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<strong>Note to template editors</strong>: Edits to the taxonomic terms (taxa) in this template depend for their effect in manual taxoboxes on the colour-determining taxon being at a rank allowed to change the taxobox colour by {{tl|Taxobox}}, so this may need altering. Colours must be defined using the rgb(..,..,..) format to enable {{tl|Sets taxobox colour}} to work correctly.
== Function ==
This template generates the appropriate colour for a taxobox.
It should only be used by other taxobox templates.
=== Use by taxonomy templates ===
Manual taxoboxes call this template from {{tl|Taxobox}}, which looks at the values of ranks given in the taxobox from phylum upwards and uses the taxobox colour for the first colour-setting taxon found (or the error colour if none is found). {{tl|Sets taxobox colour}} is used to decide whether a taxon is colour-setting, which it does by using this template.
Automated taxoboxes use a function in [[Module:Autotaxobox]], which finds a colour-setting taxon by searching up the taxonomic hierarchy coded in taxonomy templates (i.e. templates with names of the form "Taxonomy/''taxon-name''").
=== Setting colour within a taxobox ===
Both manual and automatic taxoboxes usually generate their colours automatically. If this fails, or if for some reason the automatically generated colour should be over-ridden, {{para|color_as}} can be used to set the colour based on a supplied taxon. Thus:
<pre>| color_as = Animalia
</pre>
within a taxobox forces its colour to be the one appropriate for animal taxoboxes. The taxon given as the value of {{para|color_as}} must be in the switch statement in this template. Thus {{para|color_as|Felis}} fails and assigns the error colour.
==Taxobox colour scheme==
{{Taxobox colour scheme}}
== Tracking categories ==
* {{clc|Taxoboxes with the error color}}
* {{clc|Taxoboxes with no color}}
== Supporting templates ==
* [[Template:Sets taxobox colour]]
* [[Template:Taxobox/Error colour]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Taxobox templates]]
[[Category:Template implementation details]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
c7ed8eb4c7a6755c79121732c77670b5b54db99d
Template:Automatic taxobox
10
367
721
720
2021-01-05T17:34:23Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude><!--
-====================================================================
- Template:Automatic_taxobox - Auto-generate a taxobox infobox
-====================================================================
--
-- This template chooses parameters to send to {Taxobox/core}, to
-- generate a right-side taxobox infobox. Most parameters are just
-- passed directly; some are explained with a comment. When run as
-- stand-alone, template shows genus "Acacia" as a sample output.
--
-------------------------------- Check for taxonomy template
--></noinclude>{{#ifexist:Template:Taxonomy/{{{taxon|<includeonly>{{PAGENAME}}</includeonly><noinclude>Acacia</noinclude>}}}
|<noinclude><!--do nothing if it exists--></noinclude>
|{{Automatic taxobox/floating intro|taxon={{{taxon|{{PAGENAME}}}}} }}<!--
-->}}<noinclude><!--
-------------------------------- Invoke {Taxobox/core}
The nowiki that follows is needed because of parser bug T18700--></noinclude><nowiki/>{{Taxobox/core
| edit link = {{{edit link|{{{edit_link|e}}} }}}<noinclude><!--
--
-- fossil_range: If the specified fossil range is a period supported
-- by templates {period_start} and {next_period}, then it incorporates
-- the specified range into template {Fossil range}, but checking to
-- display properly. Otherwise, just passes parameter. --></noinclude>
| temporal_range = {{#if:{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}|{{#iferror:{{period start|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}} }}|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}|{{geological range|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}} }} }} | {{#if:{{{oldest fossil|{{{oldest_fossil|}}} }}}|{{geological range|{{{oldest fossil|{{{oldest_fossil}}}}}}|{{{youngest fossil|{{{youngest_fossil|Recent}}}}}} }} }} }}<!--
-- parent: this parameter should be called "taxon", not "parent" -->
| parent = {{{taxon|<noinclude>Acacia</noinclude><includeonly>{{PAGENAME}}</includeonly>}}}<!--
-- display_parents: number of parent taxons to display
-- (default: 1, to give the taxon some context). -->
| display_taxa = {{{display parents|{{{display_parents|1}}}}}}<!--
-- authority: in the format "author, year". -->
| authority = {{{authority|}}}
| parent_authority = {{{parent authority|{{{parent_authority|}}} }}}
| grandparent_authority = {{{grandparent authority|{{{grandparent_authority|}}} }}}
| greatgrandparent_authority = {{{greatgrandparent authority|{{{greatgrandparent_authority|}}} }}}
| greatgreatgrandparent_authority = {{{greatgreatgrandparent authority|{{{greatgreatgrandparent_authority|}}} }}}<noinclude><!--
-- name: checks for whether the name should be italicized
-- (for: genera, species, etc); if so, passes the appropriately
-- italicized result.
-- There should be no punctuation in the "name" parameter, which is
-- intended only for cases where the taxobox name does not match the
-- name displayed or linked to by the taxon in question. Italics are
-- generated automatically.
--
-- italic_name: This parameter is still supported (just in case),
-- but links "Category:Automatic taxobox cleanup" because the
-- template 'should' be able to italicize in all cases. --></noinclude>
| name = {{{name|{{#if:{{{italic name|{{{italic_name|}}}}}}|[[Category:Automatic taxobox cleanup|ι]]{{DISPLAYTITLE:{{#if:{{NAMESPACE}} | {{NAMESPACE}}:}}''{{{italic_name}}}''}}''{{{italic name}}}''|{{taxobox name
|1={{{binomial|}}}
|2={{taxobox/italics|{{{taxon|{{PAGENAME}}}}} }}
|3={{taxobox/italics|{{taxon info|{{{taxon|{{PAGENAME}}}}}|parent}} }}
|4={{taxobox/italics|{{taxon info|{{taxon info|{{{taxon|{{PAGENAME}}}}}|parent}}|parent}} }}
}} }} }}}<noinclude><!--
-- colour: (Note UK spelling here) There are two cases:
1) the parameter color_as has a value – the colour is found directly using {{Taxobox colour|color_as}}
2) otherwise – Module:Autotaxobox|taxoboxColour searches up the taxonomic hierarchy to try to find a taxon that
determines the taxobox colour
--></noinclude>
| colour = {{#if:{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}|{{Taxobox colour|{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}}}|{{#invoke:Autotaxobox|taxoboxColour|{{{taxon|<includeonly>{{PAGENAME}}</includeonly><noinclude>Acacia</noinclude>}}} }} }}
| status = {{{status|}}}
| status_system = {{{status system|{{{status_system|}}} }}}
| status_ref = {{{status ref|{{{status_ref|}}} }}}
| status2 = {{{status2|}}}
| status2_system = {{{status2 system|{{{status2_system|}}} }}}
| status2_ref = {{{status2 ref|{{{status2_ref|}}} }}}
| trend = {{{trend|}}}
| extinct = {{{extinct|}}}
| image = {{{image|}}}
| image_width = {{{image_width|{{{image width|}}} }}}
| upright = {{{image_upright|{{{image upright|}}}}}}
| image_alt = {{{image alt|{{{image_alt|}}} }}}
| image_caption = {{{image caption|{{{image_caption|}}} }}}
| image_caption_align = {{{image caption align|{{{image_caption_align|center}}}}}}
| image2 = {{{image2|}}}
| image2_width = {{{image2 width|{{{image2_width|}}} }}}
| upright2 = {{{image2_upright|{{{image2 upright|}}}}}}
| image2_alt = {{{image2 alt|{{{image2_alt|}}}}}}
| image2_caption = {{{image2 caption|{{{image2_caption|}}}}}}
| classification_status = {{{classification status|{{{classification_status|}}} }}}
| diversity = {{{diversity|}}}
| diversity_ref = {{{diversity ref|{{{diversity_ref|}}} }}}
| diversity_link = {{{diversity link|{{{diversity_link|}}} }}}
| binomial = {{{binomial|{{Automatic taxobox/is species|{{{taxon|<includeonly>{{PAGENAME}}</includeonly>}}}}}}}}
| binomial_authority = {{{binomial authority|{{{binomial_authority|}}} }}}
| trinomial = {{{trinomial|}}}
| trinomial_authority = {{{trinomial authority|{{{trinomial_authority|}}} }}}
| type_genus = {{{type genus|{{{type_genus|}}}}}}
| type_genus_authority = {{{type genus authority|{{{type_genus_authority|}}} }}}
| type_species = {{{type species|{{{type_species|}}} }}}
| type_species_authority = {{{type species authority|{{{type_species_authority|}}} }}}
| subdivision = {{{subdivision|}}}<noinclude><!--
-- If subdivision has a value, subdivision_ranks provides a section heading in the taxobox. A default will be
-- generated from the target taxon's rank if no value is given. --></noinclude>
| subdivision_ranks = {{#if:{{{subdivision ranks|}}}|{{{subdivision ranks}}}|{{#if:{{{subdivision_ranks|}}}|{{{subdivision_ranks}}}|{{children_rank|{{taxonomy/{{{taxon|{{PAGENAME}}}}}|machine code=rank}} }} }} }}
| type_strain = {{{type strain|{{{type_strain|}}} }}}
| range_map = {{{range map|{{{range_map|}}} }}}
| range_map_upright = {{{range_map_upright|{{{range map upright|}}}}}}
| range_map_width = {{{range map width|{{{range_map_width|}}} }}}
| range_map_alt = {{{range map alt|{{{range_map_alt|}}} }}}
| range_map_caption = {{{range map caption|{{{range_map_caption|}}} }}}
| binomial2 = {{{binomial2|}}}
| binomial2_authority = {{{binomial2 authority|{{{binomial2_authority|}}} }}}
| range_map2 = {{{range map2|{{{range_map2|}}} }}}
| range_map2_upright = {{{range_map2_upright|{{{range map2 upright|}}}}}}
| range_map2_width = {{{range map2 width| {{{range_map2_width|}}}}}}
| range_map2_alt = {{{range map2 alt|{{{range_map2_alt|}}} }}}
| range_map2_caption = {{{range map2 caption|{{{range_map2_caption|}}} }}}
| binomial3 = {{{binomial3|}}}
| binomial3_authority = {{{binomial3 authority|{{{binomial3_authority|}}} }}}
| range_map3 = {{{range map3|{{{range_map3|}}} }}}
| range_map3_upright = {{{range_map3_upright|{{{range map3 upright|}}}}}}
| range_map3_width = {{{range map3 width|{{{range_map3_width|}}} }}}
| range_map3_alt = {{{range map3 alt|{{{range_map3_alt|}}} }}}
| range_map3_caption = {{{range map3 caption|{{{range_map3_caption|}}} }}}
| binomial4 = {{{binomial4|}}}
| binomial4_authority = {{{binomial4 authority|{{{binomial4_authority|}}} }}}
| range_map4 = {{{range map4|{{{range_map4|}}} }}}
| range_map4_upright = {{{range_map4_upright|{{{range map4 upright|}}}}}}
| range_map4_width = {{{range map4 width|{{{range_map4_width|}}} }}}
| range_map4_alt = {{{range map4 alt|{{{range_map4_alt|}}} }}}
| range_map4_caption = {{{range map4 caption|{{{range_map4_caption|}}} }}}
| synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}}
| synonyms = {{{synonyms|}}}
}}{{#if:{{{binomial|}}}|[[Category:Automatic taxoboxes using binomial parameter]]}}<noinclude><!--
---------------------------------------------------------------------------
--NOTES
--
-- NOTE A1: This template invokes Template:Taxobox/core, with special
-- parameters based on automatic logical settings.
--
---------------------------------------------------------------------------
--HISTORY:
--08Jul2010 Created by User:Smith609
--08Dec2010 Automated grandparent and great-grandparent authorities.
--01Jan2011 Discontinued the automatic authority generation.
--04Jan2011 Support "oldest fossil" parameter.
--09Jan2011 Removed κ test; to reduce post-expand size.
--18Mar2011 Display Help box if seriously misconfigured.
--20May2011 Protected Highly visible ([edit=autoconfirmed] (indefinite).
--29Jun2011 Add modified initial taxon to fix ghost transclusion issues.
--28Jul2011 Stripping whitespace from DISPLAYTITLE {{{italic_name}}}.
--08Feb2012 New parameter extinct = {{{extinct|}}}.
--01Nov2012 Set default taxon={{PAGENAME}} to fit template expansion depth.
--01Nov2012 Put "Acacia" as stand-alone sample display.
--01Nov2012 Noincluded top comments & condensed comments about parameters.
--01Nov2012 Put NOTES comments to explain template operation.
--01Nov2012 Put HISTORY comments to log major changes (not typos).
--15Nov2016 (to 20Dec2016) Major changes to the method of determining the taxobox colour.
--
-->{{Documentation}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
d9b9a5e5b3bdc9f43d5a45668339c2e9193b8193
Template:Taxobox/Error colour
10
368
723
722
2021-01-05T17:34:23Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>transparent; text-align:center; border: 2px solid red; error:colour</includeonly><noinclude><!--
-- The caller template must check invalid
-- {{{colour}}} value to link [[Category:Taxoboxes with an invalid color]] because
-- a [[wp:wikitable]] column format cannot contain a wikilinked page or category,
-- as of September 2016.
--
-- See check of {{{colour}}} in template {Taxobox/core}.
-->{{documentation|Template:Taxobox colour/doc}}</noinclude>
c6f744f74e76dd747507c5138847c259bc299b06
Template:Sets taxobox colour
10
369
725
724
2021-01-05T17:34:24Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#ifeq:{{padleft:|1|{{Taxobox colour|{{{1|}}}}}}}|r
|{{#ifexpr:{{str find0|{{{1|}}}|incertae}}=-1|{{{1|}}}{{{sep|,}}}}}
}}</includeonly><noinclude>
{{Template documentation}}
</noinclude>
a924cc1474f29992b8377c6a4a5ddcf260befbe6
Template:Delink
10
370
727
726
2021-01-05T17:34:24Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:delink|delink}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
ccf86b4255142fffb206ab8240f36ed22e029d6a
Module:Delink
828
371
729
728
2021-01-05T17:34:25Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- This module de-links most wikitext.
require('Module:No globals')
local p = {}
local getArgs
local function delinkReversePipeTrick(s)
if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes.
return s
else
return s:match("%[%[|(.*)%]%]")
end
end
local function delinkPipeTrick(s)
local linkarea, display = "", ""
-- We need to deal with colons, brackets, and commas, per [[Help:Pipe trick]].
-- First, remove the text before the first colon, if any.
if s:match(":") then
s = s:match("%[%[.-:(.*)|%]%]")
-- If there are no colons, grab all of the text apart from the square brackets and the pipe.
else
s = s:match("%[%[(.*)|%]%]")
end
-- Next up, brackets and commas.
if s:match("%(.-%)$") then -- Brackets trump commas.
s = s:match("(.-) ?%(.-%)$")
elseif s:match(",") then -- If there are no brackets, display only the text before the first comma.
s = s:match("(.-),.*$")
end
return s
end
local function delinkWikilink(s)
local result = s
-- Deal with the reverse pipe trick.
if result:match("%[%[|") then
return delinkReversePipeTrick(result)
end
result = mw.uri.decode(result, "PATH") -- decode percent-encoded entities. Leave underscores and plus signs.
result = mw.text.decode(result, true) -- decode HTML entities.
-- Check for bad titles. To do this we need to find the
-- title area of the link, i.e. the part before any pipes.
local titlearea
if result:match("|") then -- Find if we're dealing with a piped link.
titlearea = result:match("^%[%[(.-)|.*%]%]")
else
titlearea = result:match("^%[%[(.-)%]%]")
end
-- Check for bad characters.
if mw.ustring.match(titlearea, "[%[%]<>{}%%%c\n]") then
return s
end
-- Check for categories, interwikis, and files.
local colonprefix = result:match("%[%[(.-):.*%]%]") or "" -- Get the text before the first colon.
local ns = mw.site.namespaces[colonprefix] -- see if this is a known namespace
if mw.language.isKnownLanguageTag(colonprefix)
or ( ns and ( ns.canonicalName == "File" or ns.canonicalName == "Category" ) ) then
return ""
end
-- Remove the colon if the link is using the [[Help:Colon trick]].
if result:match("%[%[:") then
result = "[[" .. result:match("%[%[:(.*%]%])")
end
-- Deal with links using the [[Help:Pipe trick]].
if mw.ustring.match(result, "^%[%[[^|]*|%]%]") then
return delinkPipeTrick(result)
end
-- Find the display area of the wikilink
if result:match("|") then -- Find if we're dealing with a piped link.
result = result:match("^%[%[.-|(.+)%]%]")
-- Remove new lines from the display of multiline piped links,
-- where the pipe is before the first new line.
result = result:gsub("\n", "")
else
result = result:match("^%[%[(.-)%]%]")
end
return result
end
local function delinkURL(s)
-- Assume we have already delinked internal wikilinks, and that
-- we have been passed some text between two square brackets [foo].
-- If the text contains a line break it is not formatted as a URL, regardless of other content.
if s:match("\n") then
return s
end
-- Check if the text has a valid URL prefix and at least one valid URL character.
local valid_url_prefixes = {"//", "http://", "https://", "ftp://", "gopher://", "mailto:", "news:", "irc://"}
local url_prefix
for i,v in ipairs(valid_url_prefixes) do
if mw.ustring.match(s, '^%[' .. v ..'[^"%s].*%]' ) then
url_prefix = v
break
end
end
-- Get display text
if not url_prefix then
return s
end
s = s:match("^%[" .. url_prefix .. "(.*)%]") -- Grab all of the text after the URL prefix and before the final square bracket.
s = s:match('^.-(["<> ].*)') or "" -- Grab all of the text after the first URL separator character ("<> ).
s = mw.ustring.match(s, "^%s*(%S.*)$") or "" -- If the separating character was a space, trim it off.
local s_decoded = mw.text.decode(s, true)
if mw.ustring.match(s_decoded, "%c") then
return s
else
return s_decoded
end
end
local function delinkLinkClass(s, pattern, delinkFunction)
if not type(s) == "string" then
error("Attempt to de-link non-string input.", 2)
end
if not ( type(pattern) == "string" and mw.ustring.sub(pattern, 1, 1) == "^" ) then
error('Invalid pattern detected. Patterns must begin with "^".', 2)
end
-- Iterate over the text string, and replace any matched text. using the
-- delink function. We need to iterate character by character rather
-- than just use gsub, otherwise nested links aren't detected properly.
local result = ""
while s ~= '' do
-- Replace text using one iteration of gsub.
s = mw.ustring.gsub(s, pattern, delinkFunction, 1)
-- Append the left-most character to the result string.
result = result .. mw.ustring.sub(s, 1, 1)
s = mw.ustring.sub(s, 2, -1)
end
return result
end
function p._delink(args)
local text = args[1] or ""
if args.refs == "yes" then
-- Remove any [[Help:Strip markers]] representing ref tags. In most situations
-- this is not a good idea - only use it if you know what you are doing!
text = mw.ustring.gsub(text, "UNIQ%w*%-ref%-%d*%-QINU", "")
end
if not (args.comments == "no") then
text = text:gsub("<!%-%-.-%-%->", "") -- Remove html comments.
end
if not (args.wikilinks == "no") then
text = delinkLinkClass(text, "^%[%[.-%]%]", delinkWikilink) -- De-link wikilinks.
end
if not (args.urls == "no") then
text = delinkLinkClass(text, "^%[.-%]", delinkURL) -- De-link URLs.
end
if not (args.whitespace == "no") then
-- Replace single new lines with a single space, but leave double new lines
-- and new lines only containing spaces or tabs before a second new line.
text = mw.ustring.gsub(text, "([^\n \t][ \t]*)\n([ \t]*[^\n \t])", "%1 %2")
text = text:gsub("[ \t]+", " ") -- Remove extra tabs and spaces.
end
return text
end
function p.delink(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return p._delink(getArgs(frame, {wrappers = 'Template:Delink'}))
end
return p
54628ddb50ed2753468f758fe0b69c043c744c0f
Template:Taxonomy
10
372
731
730
2021-01-05T17:34:25Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#if:{{{rank|}}}|<!--
Cell stating the rank:
-->
{{!}} {{anglicise rank|{{{rank|}}}}}:<!--
Cell stating the taxon's name, with authority:
-->
{{!}} <span class="{{lc:{{anglicise rank|{{{rank}}} }} }}">{{Taxonomy/nobreak|{{{link}}}}}</span>{{#if:{{{auth|}}}
|<br /><small>{{{auth}}}</small>}}
{{!}}-
}}</includeonly><noinclude>{{documentation}}</noinclude>
4be5b92f37829b0ce181780528e776d6baf0cfcd
Template:Taxonomy/nobreak
10
373
733
732
2021-01-05T17:34:25Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude>{{pp-template|small=yes}}</noinclude>{{#ifexpr:{{Str find|{{{1|}}}|. }}>1|{{str rep|{{{1|}}}|. |. }}|{{{1|}}}}}<noinclude>{{documentation}}</noinclude>
bb845fa4f7efe3f5fa22d17ea9c5d48053fde59d
Template:Template doc
10
374
735
734
2021-01-05T17:34:26Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Documentation]]
42f6a7b19e5c3f7b2cf63e7b21f4401a495a2975
Template:Anglicise rank
10
375
737
736
2021-01-05T17:34:26Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<noinclude><!--Note that #titleparts: is used to replace underscores by spaces before other processing.
--></noinclude><includeonly>{{#ifeq:{{str_left|{{lc:{{{1}}}}}|8}}|unranked|(unranked)|{{#switch:{{lc:{{#titleparts:{{{1}}}|1}} }}|
<!--Special cases, alphabetic order-->
|alliance=''Alliance''
|basic shell type=''Basic shell type''
|branch=''Branch''
|clade|cladus=''Clade''
|form taxon=''Form taxon''
|grade|gradus=''Grade''
|informal|informal group=''Informal group''
|morphotype=''Morphotype''
|node=''Node''
|possible clade=''Clade?''
|species complex=''Species complex''
|species group=''Species group''
|species subgroup=''Species subgroup''
|stem group=''Stem group''
|total group=''Total group''
|virus group=Group
<!--Linnaean taxonomy, alphabetic order-->
|classis=Class
|cohort=Cohort
|divisio=Division
|domain=Domain
|familia=Family
|forma=Form
|genus=Genus
|grandordo|grandordo-mb<!--McKenna & Bell version-->=Grandorder
|infraclassis=Infraclass
|infralegio|infralegion=Infralegion
|infraordo=Infraorder
|infraphylum=Infraphylum
|infraregnum=Infrakingdom
|infratribus=Infratribe
|legio|legion=Legion
|magnordo=Magnorder
|micrordo=Microrder
|microphylum=Microphylum
|mirordo|mirordo-mb<!--McKenna & Bell version-->=Mirorder
|nanordo=Nanorder
|nanophylum=Nanophylum
|ordo=Order
|parafamilia=Parafamily
|parvordo=Parvorder
|phylum=Phylum
|regnum=Kingdom
|sectio=Section
|series=Series
|species=Species
|subclassis=Subclass
|subcohort=Subcohort
|subdivisio=Subdivision
|subfamilia=Subfamily
|subgenus=Subgenus
|sublegio|sublegion=Sublegion
|subordo=Suborder
|subphylum=Subphylum
|subregnum=Subkingdom
|subsectio=Subsection
|subspecies=Subspecies
|subtribus=Subtribe
|superclassis=Superclass
|supercohort=Supercohort
|superdivisio=Superdivision
|superdomain=Superdomain
|superfamilia=Superfamily
|superlegio|superlegion=Superlegion
|superordo=Superorder
|superphylum=Superphylum
|superregnum=Superkingdom
|supertribus=Supertribe
|tribus=Tribe
|varietas=Variety
|zoodivisio=Division
|zoosectio=Section
|zoosubdivisio=Subdivision
|zoosubsectio=Subsection
<!--trace fossil taxonomy, alphabetic order-->
|ichnoclassis=Ichnoclass
|ichnocohort=Ichnocohort
|ichnodivisio=Ichnodivision
|ichnofamilia=Ichnofamily
|ichnogenus=Ichnogenus
|ichnograndordo=Ichnograndorder
|ichnoinfraclassis=Ichnoinfraclass
|ichnoinfradivisio=Ichnoinfradivision
|ichnoinfraordo=Ichnoinfraorder
|ichnolegio|ichnolegion=Ichnolegion
|ichnomagnordo=Ichnomagnorder
|ichnomicrordo=Ichnomicrorder
|ichnoordo=Ichnoorder
|ichnoparvordo=Ichnoparvorder
|ichnospecies=Ichnospecies
|ichnostem-group=Ichnostem-Group
|ichnosubclassis=Ichnosubclass
|ichnosubdivisio=Ichnosubdivision
|ichnosubfamilia=Ichnosubfamily
|ichnosublegio|ichnosublegion=Ichnosublegion
|ichnosubordo=Ichnosuborder
|ichnosuperclassis=Ichnosuperclass
|ichnosupercohort=Ichnosupercohort
|ichnosuperfamilia=Ichnosuperfamily
|ichnosuperordo=Ichnosuperorder
<!--fossilized egg taxonomy, alphabetic order-->
|ooclassis=Ooclass
|oocohort=Oocohort
|oofamilia=Oofamily
|oogenus=Oogenus
|oomagnordo=Oomagnorder
|oordo=Oorder
|oospecies=Oospecies
|oosubclassis=Oosubclass
|oosubgenus=Oosubgenus
|oosubspecies=Oosubspecies
|oosupercohort=Oosupercohort
|oosuperordo=Oosuperorder
<!--default is to capitalize first letter and then put calling page in error category-->
|#default={{ucfirst:{{#titleparts:{{{1}}}|1}} }}{{#ifeq:{{{check|}}}|yes|{{#ifeq:{{#titleparts:{{PAGENAME}}|1}}|Taxonomy|[[Category:Taxonomy templates using unrecognized rank parameters]]}}}}
}}}}</includeonly><noinclude>{{documentation}}</noinclude>
396ca1760193f62073f142a07af5017521d56c01
Module:String
828
376
739
738
2021-01-05T17:34:27Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
--[[
This module is intended to provide access to basic string functions.
Most of the functions provided here can be invoked with named parameters,
unnamed parameters, or a mixture. If named parameters are used, Mediawiki will
automatically remove any leading or trailing whitespace from the parameter.
Depending on the intended use, it may be advantageous to either preserve or
remove such whitespace.
Global options
ignore_errors: If set to 'true' or 1, any error condition will result in
an empty string being returned rather than an error message.
error_category: If an error occurs, specifies the name of a category to
include with the error message. The default category is
[Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error
is generated.
Unit tests for this module are available at Module:String/tests.
]]
local str = {}
--[[
len
This function returns the length of the target string.
Usage:
{{#invoke:String|len|target_string|}}
OR
{{#invoke:String|len|s=target_string}}
Parameters
s: The string whose length to report
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string.
]]
function str.len( frame )
local new_args = str._getParameters( frame.args, {'s'} );
local s = new_args['s'] or '';
return mw.ustring.len( s )
end
--[[
sub
This function returns a substring of the target string at specified indices.
Usage:
{{#invoke:String|sub|target_string|start_index|end_index}}
OR
{{#invoke:String|sub|s=target_string|i=start_index|j=end_index}}
Parameters
s: The string to return a subset of
i: The fist index of the substring to return, defaults to 1.
j: The last index of the string to return, defaults to the last character.
The first character of the string is assigned an index of 1. If either i or j
is a negative value, it is interpreted the same as selecting a character by
counting from the end of the string. Hence, a value of -1 is the same as
selecting the last character of the string.
If the requested indices are out of range for the given string, an error is
reported.
]]
function str.sub( frame )
local new_args = str._getParameters( frame.args, { 's', 'i', 'j' } );
local s = new_args['s'] or '';
local i = tonumber( new_args['i'] ) or 1;
local j = tonumber( new_args['j'] ) or -1;
local len = mw.ustring.len( s );
-- Convert negatives for range checking
if i < 0 then
i = len + i + 1;
end
if j < 0 then
j = len + j + 1;
end
if i > len or j > len or i < 1 or j < 1 then
return str._error( 'String subset index out of range' );
end
if j < i then
return str._error( 'String subset indices out of order' );
end
return mw.ustring.sub( s, i, j )
end
--[[
This function implements that features of {{str sub old}} and is kept in order
to maintain these older templates.
]]
function str.sublength( frame )
local i = tonumber( frame.args.i ) or 0
local len = tonumber( frame.args.len )
return mw.ustring.sub( frame.args.s, i + 1, len and ( i + len ) )
end
--[[
match
This function returns a substring from the source string that matches a
specified pattern.
Usage:
{{#invoke:String|match|source_string|pattern_string|start_index|match_number|plain_flag|nomatch_output}}
OR
{{#invoke:String|pos|s=source_string|pattern=pattern_string|start=start_index
|match=match_number|plain=plain_flag|nomatch=nomatch_output}}
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from each string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
If the match_number or start_index are out of range for the string being queried, then
this function generates an error. An error is also generated if no match is found.
If one adds the parameter ignore_errors=true, then the error will be suppressed and
an empty string will be returned on any failure.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
function str.match( frame )
local new_args = str._getParameters( frame.args, {'s', 'pattern', 'start', 'match', 'plain', 'nomatch'} );
local s = new_args['s'] or '';
local start = tonumber( new_args['start'] ) or 1;
local plain_flag = str._getBoolean( new_args['plain'] or false );
local pattern = new_args['pattern'] or '';
local match_index = math.floor( tonumber(new_args['match']) or 1 );
local nomatch = new_args['nomatch'];
if s == '' then
return str._error( 'Target string is empty' );
end
if pattern == '' then
return str._error( 'Pattern string is empty' );
end
if math.abs(start) < 1 or math.abs(start) > mw.ustring.len( s ) then
return str._error( 'Requested start is out of range' );
end
if match_index == 0 then
return str._error( 'Match index is out of range' );
end
if plain_flag then
pattern = str._escapePattern( pattern );
end
local result
if match_index == 1 then
-- Find first match is simple case
result = mw.ustring.match( s, pattern, start )
else
if start > 1 then
s = mw.ustring.sub( s, start );
end
local iterator = mw.ustring.gmatch(s, pattern);
if match_index > 0 then
-- Forward search
for w in iterator do
match_index = match_index - 1;
if match_index == 0 then
result = w;
break;
end
end
else
-- Reverse search
local result_table = {};
local count = 1;
for w in iterator do
result_table[count] = w;
count = count + 1;
end
result = result_table[ count + match_index ];
end
end
if result == nil then
if nomatch == nil then
return str._error( 'Match not found' );
else
return nomatch;
end
else
return result;
end
end
--[[
pos
This function returns a single character from the target string at position pos.
Usage:
{{#invoke:String|pos|target_string|index_value}}
OR
{{#invoke:String|pos|target=target_string|pos=index_value}}
Parameters
target: The string to search
pos: The index for the character to return
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
The first character has an index value of 1.
If one requests a negative value, this function will select a character by counting backwards
from the end of the string. In other words pos = -1 is the same as asking for the last character.
A requested value of zero, or a value greater than the length of the string returns an error.
]]
function str.pos( frame )
local new_args = str._getParameters( frame.args, {'target', 'pos'} );
local target_str = new_args['target'] or '';
local pos = tonumber( new_args['pos'] ) or 0;
if pos == 0 or math.abs(pos) > mw.ustring.len( target_str ) then
return str._error( 'String index out of range' );
end
return mw.ustring.sub( target_str, pos, pos );
end
--[[
str_find
This function duplicates the behavior of {{str_find}}, including all of its quirks.
This is provided in order to support existing templates, but is NOT RECOMMENDED for
new code and templates. New code is recommended to use the "find" function instead.
Returns the first index in "source" that is a match to "target". Indexing is 1-based,
and the function returns -1 if the "target" string is not present in "source".
Important Note: If the "target" string is empty / missing, this function returns a
value of "1", which is generally unexpected behavior, and must be accounted for
separatetly.
]]
function str.str_find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target'} );
local source_str = new_args['source'] or '';
local target_str = new_args['target'] or '';
if target_str == '' then
return 1;
end
local start = mw.ustring.find( source_str, target_str, 1, true )
if start == nil then
start = -1
end
return start
end
--[[
find
This function allows one to search for a target string or pattern within another
string.
Usage:
{{#invoke:String|find|source_str|target_string|start_index|plain_flag}}
OR
{{#invoke:String|find|source=source_str|target=target_str|start=start_index|plain=plain_flag}}
Parameters
source: The string to search
target: The string or pattern to find within source
start: The index within the source string to start the search, defaults to 1
plain: Boolean flag indicating that target should be understood as plain
text and not as a Lua style regular expression, defaults to true
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the parameter. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
This function returns the first index >= "start" where "target" can be found
within "source". Indices are 1-based. If "target" is not found, then this
function returns 0. If either "source" or "target" are missing / empty, this
function also returns 0.
This function should be safe for UTF-8 strings.
]]
function str.find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target', 'start', 'plain' } );
local source_str = new_args['source'] or '';
local pattern = new_args['target'] or '';
local start_pos = tonumber(new_args['start']) or 1;
local plain = new_args['plain'] or true;
if source_str == '' or pattern == '' then
return 0;
end
plain = str._getBoolean( plain );
local start = mw.ustring.find( source_str, pattern, start_pos, plain )
if start == nil then
start = 0
end
return start
end
--[[
replace
This function allows one to replace a target string or pattern within another
string.
Usage:
{{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}
OR
{{#invoke:String|replace|source=source_string|pattern=pattern_string|replace=replace_string|
count=replacement_count|plain=plain_flag}}
Parameters
source: The string to search
pattern: The string or pattern to find within source
replace: The replacement text
count: The number of occurences to replace, defaults to all.
plain: Boolean flag indicating that pattern should be understood as plain
text and not as a Lua style regular expression, defaults to true
]]
function str.replace( frame )
local new_args = str._getParameters( frame.args, {'source', 'pattern', 'replace', 'count', 'plain' } );
local source_str = new_args['source'] or '';
local pattern = new_args['pattern'] or '';
local replace = new_args['replace'] or '';
local count = tonumber( new_args['count'] );
local plain = new_args['plain'] or true;
if source_str == '' or pattern == '' then
return source_str;
end
plain = str._getBoolean( plain );
if plain then
pattern = str._escapePattern( pattern );
replace = mw.ustring.gsub( replace, "%%", "%%%%" ); --Only need to escape replacement sequences.
end
local result;
if count ~= nil then
result = mw.ustring.gsub( source_str, pattern, replace, count );
else
result = mw.ustring.gsub( source_str, pattern, replace );
end
return result;
end
--[[
simple function to pipe string.rep to templates.
]]
function str.rep( frame )
local repetitions = tonumber( frame.args[2] )
if not repetitions then
return str._error( 'function rep expects a number as second parameter, received "' .. ( frame.args[2] or '' ) .. '"' )
end
return string.rep( frame.args[1] or '', repetitions )
end
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function str._getParameters( frame_args, arg_list )
local new_args = {};
local index = 1;
local value;
for i,arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index];
index = index + 1;
end
new_args[arg] = value;
end
return new_args;
end
--[[
Helper function to handle error messages.
]]
function str._error( error_str )
local frame = mw.getCurrentFrame();
local error_category = frame.args.error_category or 'Errors reported by Module String';
local ignore_errors = frame.args.ignore_errors or false;
local no_category = frame.args.no_category or false;
if str._getBoolean(ignore_errors) then
return '';
end
local error_str = '<strong class="error">String Module Error: ' .. error_str .. '</strong>';
if error_category ~= '' and not str._getBoolean( no_category ) then
error_str = '[[Category:' .. error_category .. ']]' .. error_str;
end
return error_str;
end
--[[
Helper Function to interpret boolean strings
]]
function str._getBoolean( boolean_str )
local boolean_value;
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower();
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false;
else
boolean_value = true;
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str;
else
error( 'No boolean value found' );
end
return boolean_value
end
--[[
Helper function that escapes all pattern characters so that they will be treated
as plain text.
]]
function str._escapePattern( pattern_str )
return mw.ustring.gsub( pattern_str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" );
end
return str
b3f731f2026437e7ef7e3f22bb9d823788125c39
Module:InfoboxImage
828
377
741
740
2021-01-05T17:34:28Z
Jacques Ducloy
1
1 revision imported
Scribunto
text/plain
-- Inputs:
-- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link
-- page - page to display for multipage images (DjVu)
-- size - size to display the image
-- maxsize - maximum size for image
-- sizedefault - default size to display the image if size param is blank
-- alt - alt text for image
-- title - title text for image
-- border - set to yes if border
-- center - set to yes, if the image has to be centered
-- upright - upright image param
-- suppressplaceholder - if yes then checks to see if image is a placeholder and suppresses it
-- link - page to visit when clicking on image
-- Outputs:
-- Formatted image.
-- More details available at the "Module:InfoboxImage/doc" page
local i = {};
local placeholder_image = {
"Blue - Replace this image female.svg",
"Blue - Replace this image male.svg",
"Female no free image yet.png",
"Flag of None (square).svg",
"Flag of None.svg",
"Flag of.svg",
"Green - Replace this image female.svg",
"Green - Replace this image male.svg",
"Image is needed female.svg",
"Image is needed male.svg",
"Location map of None.svg",
"Male no free image yet.png",
"Missing flag.png",
"No flag.svg",
"No free portrait.svg",
"No portrait (female).svg",
"No portrait (male).svg",
"Red - Replace this image female.svg",
"Red - Replace this image male.svg",
"Replace this image female (blue).svg",
"Replace this image female.svg",
"Replace this image male (blue).svg",
"Replace this image male.svg",
"Silver - Replace this image female.svg",
"Silver - Replace this image male.svg",
"Replace this image.svg",
"Cricket no pic.png",
"CarersLogo.gif",
"Diagram Needed.svg",
"Example.jpg",
"Image placeholder.png",
"No male portrait.svg",
"Nocover-upload.png",
"NoDVDcover copy.png",
"Noribbon.svg",
"No portrait-BFD-test.svg",
"Placeholder barnstar ribbon.png",
"Project Trains no image.png",
"Image-request.png",
"Sin bandera.svg",
"Sin escudo.svg",
"Replace this image - temple.png",
"Replace this image butterfly.png",
"Replace this image.svg",
"Replace this image1.svg",
"Resolution angle.png",
"Image-No portrait-text-BFD-test.svg",
"Insert image here.svg",
"No image available.png",
"NO IMAGE YET square.png",
"NO IMAGE YET.png",
"No Photo Available.svg",
"No Screenshot.svg",
"No-image-available.jpg",
"Null.png",
"PictureNeeded.gif",
"Place holder.jpg",
"Unbenannt.JPG",
"UploadACopyrightFreeImage.svg",
"UploadAnImage.gif",
"UploadAnImage.svg",
"UploadAnImageShort.svg",
"CarersLogo.gif",
"Diagram Needed.svg",
"No male portrait.svg",
"NoDVDcover copy.png",
"Placeholder barnstar ribbon.png",
"Project Trains no image.png",
"Image-request.png",
}
function i.IsPlaceholder(image)
-- change underscores to spaces
image = mw.ustring.gsub(image, "_", " ");
assert(image ~= nil, 'mw.ustring.gsub(image, "_", " ") must not return nil')
-- if image starts with [[ then remove that and anything after |
if mw.ustring.sub(image,1,2) == "[[" then
image = mw.ustring.sub(image,3);
image = mw.ustring.gsub(image, "([^|]*)|.*", "%1");
assert(image ~= nil, 'mw.ustring.gsub(image, "([^|]*)|.*", "%1") must not return nil')
end
-- Trim spaces
image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1');
assert(image ~= nil, "mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1') must not return nil")
-- remove prefix if exists
local allNames = mw.site.namespaces[6].aliases
allNames[#allNames + 1] = mw.site.namespaces[6].name
allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName
for i, name in ipairs(allNames) do
if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then
image = mw.ustring.sub(image, mw.ustring.len(name) + 2);
break
end
end
-- Trim spaces
image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1');
-- capitalise first letter
image = mw.ustring.upper(mw.ustring.sub(image,1,1)) .. mw.ustring.sub(image,2);
for i,j in pairs(placeholder_image) do
if image == j then
return true
end
end
return false
end
function i.InfoboxImage(frame)
local image = frame.args["image"];
if image == "" or image == nil then
return "";
end
if image == " " then
return image;
end
if frame.args["suppressplaceholder"] ~= "no" then
if i.IsPlaceholder(image) == true then
return "";
end
end
if mw.ustring.lower(mw.ustring.sub(image,1,5)) == "http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,8)) == "[[https:" then
return "";
end
if mw.ustring.sub(image,1,2) == "[[" then
-- search for thumbnail images and add to tracking cat if found
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then
return image .. "[[Category:Pages using infoboxes with thumbnail images]]";
else
return image;
end
elseif mw.ustring.sub(image,1,2) == "{{" and mw.ustring.sub(image,1,3) ~= "{{{" then
return image;
elseif mw.ustring.sub(image,1,1) == "<" then
return image;
elseif mw.ustring.sub(image,1,5) == mw.ustring.char(127).."UNIQ" then
-- Found strip marker at begining, so pass don't process at all
return image;
else
local result = "";
local page = frame.args["page"];
local size = frame.args["size"];
local maxsize = frame.args["maxsize"];
local sizedefault = frame.args["sizedefault"];
local alt = frame.args["alt"];
local link = frame.args["link"];
local title = frame.args["title"];
local border = frame.args["border"];
local upright = frame.args["upright"] or "";
local thumbtime = frame.args["thumbtime"] or "";
local center= frame.args["center"];
-- remove prefix if exists
local allNames = mw.site.namespaces[6].aliases
allNames[#allNames + 1] = mw.site.namespaces[6].name
allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName
for i, name in ipairs(allNames) do
if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then
image = mw.ustring.sub(image, mw.ustring.len(name) + 2);
break
end
end
if maxsize ~= "" and maxsize ~= nil then
-- if no sizedefault then set to maxsize
if sizedefault == "" or sizedefault == nil then
sizedefault = maxsize
end
-- check to see if size bigger than maxsize
if size ~= "" and size ~= nil then
local sizenumber = tonumber(mw.ustring.match(size,"%d*")) or 0;
local maxsizenumber = tonumber(mw.ustring.match(maxsize,"%d*")) or 0;
if sizenumber>maxsizenumber and maxsizenumber>0 then
size = maxsize;
end
end
end
-- add px to size if just a number
if (tonumber(size) or 0) > 0 then
size = size .. "px";
end
result = "[[File:" .. image;
if page ~= "" and page ~= nil then
result = result .. "|page=" .. page;
end
if size ~= "" and size ~= nil then
result = result .. "|" .. size;
elseif sizedefault ~= "" and sizedefault ~= nil then
result = result .. "|" .. sizedefault;
else
result = result .. "|frameless";
end
if center == "yes" then
result = result .. "|center"
end
if alt ~= "" and alt ~= nil then
result = result .. "|alt=" .. alt;
end
if link ~= "" and link ~= nil then
result = result .. "|link=" .. link;
end
if border == "yes" then
result = result .. "|border";
end
if upright == "yes" then
result = result .. "|upright";
elseif upright ~= "" then
result = result .. "|upright=" .. upright;
end
if thumbtime ~= "" then
result = result .. "|thumbtime=" .. thumbtime;
end
if title ~= "" and title ~= nil then
result = result .. "|" .. title;
elseif alt ~= "" and alt ~= nil then
result = result .. "|" .. alt;
end
result = result .. "]]";
return result;
end
end
return i;
1a1ed525e01727635fb7cb850162afe4fd2ba259
Template:Str find
10
378
743
742
2021-01-05T17:34:28Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
{{#invoke:String|str_find|source={{{1|}}}|{{{2|}}}}}<noinclude>
{{documentation}}</noinclude>
221bd2b123ec554ecc6df47bb212a911d4947dda
Template:Str left
10
379
745
744
2021-01-05T17:34:28Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
2048b0d7b35e156528655b1d090e8b5ffab3f400
Template:;
10
380
747
746
2021-01-05T17:34:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
;<noinclude>
{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
aa0f8dfd252fc7e7ec736d8c478a88c47488d917
Template:COLON
10
381
749
748
2021-01-05T17:34:29Z
Jacques Ducloy
1
1 revision imported
wikitext
text/x-wiki
:<noinclude>{{Documentation}}</noinclude>
699b9a5402e0ee6619624048c6c98be313bbd372
Wicri Grand Est (en):Community portal
4
382
750
2021-01-05T17:36:19Z
Jacques Ducloy
1
Created page with "==Browsing Wicri== {{Browsing Wicri}} {{Wicri partners}} [[fr:Wicri Base 1.31:Portail communautaire]]"
wikitext
text/x-wiki
==Browsing Wicri==
{{Browsing Wicri}}
{{Wicri partners}}
[[fr:Wicri Base 1.31:Portail communautaire]]
375e05f50781df53485173d547264c54715a4406
Template:Logo Wicri LIS history en
10
390
774
2021-01-05T18:13:27Z
imported>Jacques Ducloy
0
Jacques Ducloy moved page [[Template:Logo Wicri LIS histoy en]] to [[Template:Logo Wicri LIS history en]]
wikitext
text/x-wiki
File:LogoWicriHistIstEn.png
44990d8339bfe7c164f6e0c16b09f14b47bc4c7c
Template:Logo Wicri History of science en
10
391
775
2021-01-05T18:19:45Z
imported>Jacques Ducloy
0
Created page with "File:LogoWicriHistSciencesEn.png"
wikitext
text/x-wiki
File:LogoWicriHistSciencesEn.png
ed80062fa1cb11a4ab6330aac7995bdfe2673462
Template:Logo Wicri Artist en
10
151
766
289
2021-01-05T19:42:25Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:Artist Logo en.png
d13eed1429c8498b364876193a4885e318b4a5f3
Template:Logo Wicri Metadata en
10
135
758
257
2021-01-05T21:43:26Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriMeta2021En.png
d6ec076a243df6b9b4441a84a5e1ab0544625a24
Template:Logo Wicri Asia en
10
175
790
337
2021-01-06T10:00:20Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriAsie2020En.png
325f9047b59e85e2a64642cbf5416583a907549f
Template:Logo Wicri Health en
10
156
771
299
2021-01-06T12:51:36Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriSante2021En.png<noinclude>
[[File:LogoWicriSante2021En.png]]
</noinclude>
13adef95c21fe54f8eda8a2c0ce7373cf1a0a3d1
Template:Logo Wicri Wood en
10
150
765
287
2021-01-06T14:12:51Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriBois2021En.png
b04e2d172e9344c73065a9db841eea04eb35983e
Template:Logo Wicri Germany en
10
164
779
315
2021-01-06T18:37:14Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriAllemagne2021En.png
f0cf00a50023eff5e644bc09e28244da38bb063b
Template:Logo Wicri Music en
10
157
772
301
2021-01-07T14:37:40Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriMusique2021En.png<noinclude>
[[File:LogoWicriMusique2021En.png]]
</noinclude>
e7759d58cf49e2e556d346f6c99833ae37a2efd8
Template:Logo Wicri Africa en
10
176
791
339
2021-01-08T06:35:27Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriAfrique2021En.png
3ab2bf94cd54f3821816f8b79b711bcaf019b726
Template:Logo Wicri Europe en
10
159
776
305
2021-01-08T13:13:14Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriEurope2021En.png
d7412a0f675148e23bd2df9a730e149079b999ad
Template:Logo Wicri France en
10
161
778
309
2021-01-08T13:14:15Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriFrance2021En.png
29f9e31309078e337a2ac0b5a72ffd01eba83367
Template:Logo Wicri Americas en
10
172
787
331
2021-01-09T16:37:16Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriAmerique2021En.png
210dcbd7340cc93b1e4e325c7f56c9a59cb7e821
Template:Logo Wicri Canada en
10
174
789
335
2021-01-09T16:43:09Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriCanada2021En.png
988d782a34ada05579ae7aafb291bbe31b18744b
Template:Logo Wicri Morocco en
10
177
792
341
2021-01-10T10:37:54Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriMaroc2021En.png
c921ebbb5ea7ff48c2f2eb183bd9527cd5f5124b
Template:Logo Wicri Belgium en
10
160
777
307
2021-01-10T18:35:56Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriBelgique2021En.png
e63e9f0180156f8d81ba3cc306f44098850e773c
Template:Logo Wicri Luxembourg en
10
165
780
317
2021-01-11T10:08:25Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriLuxembourg2021En.png
4098719f73bc39fd0b7750799185f7713d705df6
Template:Logo Wicri Greater Region en
10
171
786
329
2021-01-11T10:08:56Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriGrandeRegion2021En.png
bb91260e6ff12dd4f7d2b466f6af95e36ab60086
Template:Logo Wicri Brazil en
10
173
788
333
2021-01-11T10:09:42Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriBresil2021En.png
b95fc15f7debafa4b7e6c726f50de8d64ed4a9d8
Template:Logo Wicri Mathematics en
10
388
763
2021-01-12T14:50:42Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriMath2021En.png
4bfd84efae010b07994c1cdcecffaab07f1f0c4a
Template:Logo Wicri Nancy en
10
392
782
2021-01-13T13:29:46Z
imported>Jacques Ducloy
0
Created page with "File:LogoWicriNancy2021En.png"
wikitext
text/x-wiki
File:LogoWicriNancy2021En.png
c9dd6643e2dcafa087419ff1d03b6c394ea020ef
Template:Logo Wicri Agronomy en
10
143
759
273
2021-01-14T17:06:27Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriAgronomie2021En.png
2245fbb34ccefd4fef4f3d6fa39d44a234478dde
Template:Logo Wicri Saarland en
10
169
784
325
2021-01-14T17:07:22Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriSarre2021En.png
daa86d1ccaa1b40b8599f1a28630e864cd4026b3
Template:Logo Wicri Water en
10
149
764
285
2021-01-15T21:09:32Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriEau2021En.png
ed7542c51d161d2ee119bf5cc062d058f51ff4c7
Template:Logo Wicri Alsace en
10
166
781
319
2021-01-15T21:10:41Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriAlsace2021En.png
6d6a3492b6026895b85e5498ff1bc20d8befd4e6
Template:Logo Wicri Computer science en
10
153
767
293
2021-01-16T14:02:51Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriInformatique2021En.png
d1f3d2e6f91d6125ba920e3a7ace8cbe1768ac86
Template:Logo Wicri Wallonia en
10
170
785
327
2021-01-16T14:24:17Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriWallonie2021En.png
59deef33ca52e6d3da7cca0a503dc3debe0b814b
Template:Logo Wicri Psychology en
10
158
773
303
2021-01-17T13:40:09Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriPsycho2021En.png<noinclude>
[[File:LogoWicriPsycho2021En.png]]
</noinclude>
3c68e2e75bba50ea0b2b1b1c4dc423d2f3ea5a6b
Template:Logo Wicri Rhineland-Palatinate en
10
168
783
323
2021-01-17T13:41:53Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriRhenPal2021En.png
2539b780353ded29f7acda2cc5dbbbebc546620c
Template:Logo Wicri Archaeology en
10
154
768
295
2021-01-18T17:36:23Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriArcheo2021En.png
49ca6a2118a4ae5daa1c3c9e754070687b6c20f5
Template:Logo Wicri Biomass en
10
144
760
275
2021-01-18T20:37:07Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriBiomasse2021En.png
dbb587b4abb066bb6e173dbcacb5caba62b4bf76
Template:Logo Wicri Earth en
10
145
761
277
2021-01-18T20:38:05Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriTerre2021En.png
9f5ea79e1f5c3854e9c9fe6217b097636342c100
Template:Logo Wicri Linguistics en
10
155
770
297
2021-01-18T20:43:18Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriLinguistique2021En.png
ebba45d79e6b2b6e79abc90554ec748148be0439
Template:Logo Wicri Engineering en
10
146
762
279
2021-01-18T20:44:10Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
File:LogoWicriIngen2021En.png
b6d89e300e2b0fde13c2337291534b255b409197
Template:Wicri link
10
214
793
415
2023-12-24T13:51:20Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
{{#switch:{{{wiki}}}<!--
-->|Africa=[[wicri-africa.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Africa]]<!--
-->|Agronomy=[[wicri-agronomy.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Agronomy]]<!--
-->|Alsace=[[wicri-als.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Alsace]]<!--
-->|Americas=[[wicri-americas.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Americas]]<!--
-->|Arts=[[wicri-arts.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Arts]]<!--
-->|Asia=[[wicri-asia.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Asia]]<!--
-->|Base=[[wicri-base.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Base]]<!--
-->|Computer science=[[wicri-computer-science.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Computer science]]<!--
-->|Earth=[[wicri-earth.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Earth]]<!--
-->|Europe=[[wicri-europe.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Europe]]<!--
-->|Forest=[[wicri-forest.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Forest]]<!--
-->|France=[[wicri-france.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/France]]<!--
-->|Germany=[[wicri-germany.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Germany]]<!--
-->|GR=[[wicri-gr.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Greater Region]]<!--
-->|Health=[[wicri-health.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Health]]<!--
-->|Lorraine=[[wicri-lor.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Lorraine]]<!--
-->|Luxembourg=[[wicri-lux.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Luxembourg]]<!--
-->|Man=[[wicri-man.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Man]]<!--
-->|Metadata=[[wicri-meta.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Metadata]]<!--
-->|Music=[[wicri-music.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Music]]<!--
-->|Outils=[[wicri-outils.fr:{{{page|{{FULLPAGENAME}}}}}|Wicri/Outils (fr)]]<!--
-->|Psychology=[[wicri-psycho.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Psychology]]<!--
-->|Ticri=[[ticri.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Ticri]]<!--
-->|Tools=[[wicri-tools.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Tools]]<!--
-->|Water=[[wicri-water.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Water]]<!--
-->|Wicri=[[wicri-wicri.en:{{{page|{{FULLPAGENAME}}}}}|Wicri/Wicri]]
}}<noinclude>
This template generates a link into Wicri network.
;Syntax:
::<code><nowiki>{{</nowiki>'''Wicri link'''</code>
:::<code>|wiki=''name of target wiki ''</code> - mandatory
:::<code>|page=''name of target page ''</code> - implicit value <nowiki>{{FULLPAGENAME}}</nowiki>
:::<code>}}</code>
;List of available codes for target wikis:
{{Wicri link/List}}
==See also==
* [[:Template:Wicri link fr]]
[[de:Vorlage:Wicri Link]]
[[fr:Modèle:Wicri lien]]
[[pt:Predefinição:Wicri ligação]]
</noinclude>
2c4e4928889803f0946258cc729a67d78acc4d4c
Template:Cat main
10
393
794
2023-12-26T21:49:58Z
imported>Jacques Ducloy
0
Created page with "{{#invoke:Cat main|catMain}}"
wikitext
text/x-wiki
{{#invoke:Cat main|catMain}}
6cb20af21a9659f35b795bed5ad33d58476d590c
Module:Cat main
828
394
795
2023-12-26T21:52:01Z
imported>Jacques Ducloy
0
Created page with "local mHatnote = require('Module:Hatnote') local mFormatLink = require('Module:Format link') local yesno = require('Module:Yesno') local mTableTools -- lazily initialise local..."
Scribunto
text/plain
local mHatnote = require('Module:Hatnote')
local mFormatLink = require('Module:Format link')
local yesno = require('Module:Yesno')
local mTableTools -- lazily initialise
local mArguments -- lazily initialise
local p = {}
function p.catMain(frame)
mTableTools = require('Module:TableTools')
mArguments = require('Module:Arguments')
local args = mArguments.getArgs(frame, {wrappers = 'Template:Cat main'})
local pages = mTableTools.compressSparseArray(args)
local options = {
article = args.article,
selfref = args.selfref
}
return p._catMain(options, unpack(pages))
end
function p._catMain(options, ...)
options = options or {}
-- Get the links table.
local links = mFormatLink.formatPages({}, {...})
if not links[1] then
local page = mw.title.getCurrentTitle().text
links[1] = mFormatLink._formatLink{link = page}
end
for i, link in ipairs(links) do
links[i] = string.format("'''%s'''", link)
end
-- Get the pagetype.
local pages = {...}
local pagetype
if options.article ~= nil then
pagetype = yesno(options.article) ~= false and 'article' or 'page'
elseif pages and pages[1] then
local page = pages[1]:gsub("|.*","")
pagetype = mw.title.new(page).namespace == 0 and "article" or "page"
else
pagetype = "article"
end
-- Work out whether we need to be singular or plural.
local stringToFormat
if #links > 1 then
stringToFormat = 'The main %ss for this [[Help:Categories|category]] are %s.'
else
stringToFormat = 'The main %s for this [[Help:Categories|category]] is %s.'
end
-- Get the text.
local text = string.format(
stringToFormat,
pagetype,
mw.text.listToText(links)
)
-- Pass it through to Module:Hatnote.
local hnOptions = {}
hnOptions.selfref = options.selfref
return mHatnote._hatnote(text, hnOptions)
end
return p
2cd27261de0b4d6cf821c2d7a3bd86e94ca23b88
Module:Format link
828
395
796
2023-12-26T21:59:24Z
imported>Jacques Ducloy
0
Created page with "-------------------------------------------------------------------------------- -- Format link -- -- Makes a wikilink from the given link and display values. Links are escape..."
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Format link
--
-- Makes a wikilink from the given link and display values. Links are escaped
-- with colons if necessary, and links to sections are detected and displayed
-- with " § " as a separator rather than the standard MediaWiki "#". Used in
-- the {{format link}} template.
--------------------------------------------------------------------------------
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg
local mArguments -- lazily initialise [[Module:Arguments]]
local mError -- lazily initialise [[Module:Error]]
local yesno -- lazily initialise [[Module:Yesno]]
local p = {}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getArgs(frame)
-- Fetches the arguments from the parent frame. Whitespace is trimmed and
-- blanks are removed.
mArguments = require('Module:Arguments')
return mArguments.getArgs(frame, {parentOnly = true})
end
local function removeInitialColon(s)
-- Removes the initial colon from a string, if present.
return s:match('^:?(.*)')
end
local function maybeItalicize(s, shouldItalicize)
-- Italicize s if s is a string and the shouldItalicize parameter is true.
if s and shouldItalicize then
return '<i>' .. s .. '</i>'
else
return s
end
end
local function parseLink(link)
-- Parse a link and return a table with the link's components.
-- These components are:
-- - link: the link, stripped of any initial colon (always present)
-- - page: the page name (always present)
-- - section: the page name (may be nil)
-- - display: the display text, if manually entered after a pipe (may be nil)
link = removeInitialColon(link)
-- Find whether a faux display value has been added with the {{!}} magic
-- word.
local prePipe, display = link:match('^(.-)|(.*)$')
link = prePipe or link
-- Find the page, if it exists.
-- For links like [[#Bar]], the page will be nil.
local preHash, postHash = link:match('^(.-)#(.*)$')
local page
if not preHash then
-- We have a link like [[Foo]].
page = link
elseif preHash ~= '' then
-- We have a link like [[Foo#Bar]].
page = preHash
end
-- Find the section, if it exists.
local section
if postHash and postHash ~= '' then
section = postHash
end
return {
link = link,
page = page,
section = section,
display = display,
}
end
local function formatDisplay(parsed, options)
-- Formats a display string based on a parsed link table (matching the
-- output of parseLink) and an options table (matching the input options for
-- _formatLink).
local page = maybeItalicize(parsed.page, options.italicizePage)
local section = maybeItalicize(parsed.section, options.italicizeSection)
if (not section) then
return page
elseif (not page) then
return mw.ustring.format('§ %s', section)
else
return mw.ustring.format('%s § %s', page, section)
end
end
local function missingArgError(target)
mError = require('Module:Error')
return mError.error{message =
'Error: no link or target specified! ([[' .. target .. '#Errors|help]])'
}
end
--------------------------------------------------------------------------------
-- Main functions
--------------------------------------------------------------------------------
function p.formatLink(frame)
-- The formatLink export function, for use in templates.
yesno = require('Module:Yesno')
local args = getArgs(frame)
local link = args[1] or args.link
local target = args[3] or args.target
if not (link or target) then
return missingArgError('Template:Format link')
end
return p._formatLink{
link = link,
display = args[2] or args.display,
target = target,
italicizePage = yesno(args.italicizepage),
italicizeSection = yesno(args.italicizesection),
categorizeMissing = args.categorizemissing
}
end
function p._formatLink(options)
-- The formatLink export function, for use in modules.
checkType('_formatLink', 1, options, 'table')
local function check(key, expectedType) --for brevity
checkTypeForNamedArg(
'_formatLink', key, options[key], expectedType or 'string', true
)
end
check('link')
check('display')
check('target')
check('italicizePage', 'boolean')
check('italicizeSection', 'boolean')
check('categorizeMissing')
-- Normalize link and target and check that at least one is present
if options.link == '' then options.link = nil end
if options.target == '' then options.target = nil end
if not (options.link or options.target) then
return missingArgError('Module:Format link')
end
local parsed = parseLink(options.link)
local display = options.display or parsed.display
local catMissing = options.categorizeMissing
local category = ''
-- Find the display text
if not display then display = formatDisplay(parsed, options) end
-- Handle the target option if present
if options.target then
local parsedTarget = parseLink(options.target)
parsed.link = parsedTarget.link
parsed.page = parsedTarget.page
end
-- Test if page exists if a diagnostic category is specified
if catMissing and (mw.ustring.len(catMissing) > 0) then
local title = nil
if parsed.page then title = mw.title.new(parsed.page) end
if title and (not title.isExternal) then
local success, exists = pcall(function() return title.exists end)
if success and not exists then
category = mw.ustring.format('[[Category:%s]]', catMissing)
end
end
end
-- Format the result as a link
if parsed.link == display then
return mw.ustring.format('[[:%s]]%s', parsed.link, category)
else
return mw.ustring.format('[[:%s|%s]]%s', parsed.link, display, category)
end
end
--------------------------------------------------------------------------------
-- Derived convenience functions
--------------------------------------------------------------------------------
function p.formatPages(options, pages)
-- Formats an array of pages using formatLink and the given options table,
-- and returns it as an array. Nil values are not allowed.
local ret = {}
for i, page in ipairs(pages) do
ret[i] = p._formatLink{
link = page,
categorizeMissing = options.categorizeMissing,
italicizePage = options.italicizePage,
italicizeSection = options.italicizeSection
}
end
return ret
end
return p
1253bdd2683ee4badc33856bfd5499b09a7dca1f
Template:Logo Wicri Animals en
10
389
769
2024-01-09T07:37:43Z
imported>Jacques Ducloy
0
Created page with "File:LogoWicriAnimaux2024 en.jpg<noinclude> [[File:LogoWicriAnimaux2024 en.jpg|100px]] </noinclude>"
wikitext
text/x-wiki
File:LogoWicriAnimaux2024 en.jpg<noinclude>
[[File:LogoWicriAnimaux2024 en.jpg|100px]]
</noinclude>
8cd3cdd6377d5c88556a1190d522484f90f5a4a0
Template:Wicri global map (en)
10
124
757
235
2024-01-09T07:38:50Z
imported>Jacques Ducloy
0
wikitext
text/x-wiki
<noinclude>
Ce modèle affiche une carte globale des wikis communs du réseau Wicri
<pre>
{{Wicri global map (en)
|map size= 550 (default)
|size 1 = 54 (default)
|size 2 = 50 (default)
|size 3 = 43 (default)
|size 4 = 42 (default)
|size 5 = 39 (default)
|private = link to private wiki
}}
</pre>
[[fr:Modèle:Wicri global map]]
[[de:Vorlage:Globale Karte Wicri]]
[[pt:Predefinição:Mapa de rede Wicri Orientação]]
</noinclude><div style="position:relative;width:{{{map size|550}}}px;">
[[File:WicriRéseauGabarit3.png|{{{map size|550}}}px]]
<div style="position: absolute; top: 4%; left: 17%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Base 1.28 en}}|{{{size 3|43}}}px|link=wicri-base128.en:Main Page|Pour aller sur le wiki de service Wicri/Base 1.28 (fr)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 25%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Base 1.31 en}}|{{{size 3|43}}}px|link=wicri-base131.en:Main Page|Going to wiki Wicri/Base 1.31 (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 33%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Pool LorExplor}}|{{{size 3|43}}}px|link=wic-lorexplor.pool:Main Page|Going to images pool on domain lorexplor.istex.fr]]
</div>
</div>
<div style="position: absolute; top: 4%; left:41%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Root en}}|{{{size 3|43}}}px|link=wicri-root.en:Main Page|Going to home wiki for domain lorexplor.ixtex.fr (en)]]
</div>
</div>
<div style="position: absolute; top: 1%; left: 50%;">
<div style="position: absolute; left: -{{#expr: {{{size 1|54}}} / 2}}px;">
[[{{Logo Wicri Wicri en}}|{{{size 1|54}}}px|link=wicri-wicri.en:Main Page|Going to Wicri/Wicri (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 59%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Home Demo.Istex}}|{{{size 3|43}}}px|link=wic-demo.istex.fr:Main Page|Going to home wiki for wicri-demo.istex.fr domain]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 67%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Pool Demo.Istex}}|{{{size 3|43}}}px|link=wic-demo.istex.pool:Main Page|Going to images pool on wicri-demo.istex.fr domain]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 75%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Man en}}|{{{size 3|43}}}px|link=wicri-man.en:Main Page|Going to wiki Wicri/Man (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 83%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Metadata en}}|{{{size 3|43}}}px|link=wicri-meta.en:Main Page|Going to wiki Wicri/Metadata (en)]]
</div>
</div>
<div style="position: absolute; top: 4%; left: 91%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Tools en}}|{{{size 3|43}}}px|link=wicri-tools.en:Main Page|Going to Wicri/Tools]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 7%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Archaeology en}}|{{{size 3|43}}}px|link=wicri-archeologie.en:Main Page|Going to wiki Wicri/Archaeology (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 14%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Arts en}}|{{{size 3|43}}}px|link=wicri-arts.en:Main Page|Going to wiki Wicri/Arts (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 22%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Music en}}|{{{size 3|43}}}px|link=wicri-musique.en:Main Page|Going to wiki Wicri/Music (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 30%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Engineering en}}|{{{size 3|43}}}px|link=wicri-ingen.en:Main Page|Going to wiki Wicri/Music (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 38%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Psychology en}}|{{{size 3|43}}}px|link=wicri-psycho.en:Main Page|Going to wiki Wicri/Psychology (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 46.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Linguistics en}}|{{{size 3|43}}}px|link=wic-linguistique.en:Main Page|Going to wiki Wicri/Linguistics (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 54%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Mathematics en}}|{{{size 3|43}}}px|link=wicri-math.en:Main Page|Going to wiki Wicri/Mathematics (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 62%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Health en}}|{{{size 3|43}}}px|link=wicri-sante.en:Main Page|Going to wiki Wicri/Health (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 70%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Computer science en}}|{{{size 3|43}}}px|link=wic-informatique.en:Main Page|Going to wiki Wicri/Computer science (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 78%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Sic en}}|{{{size 3|43}}}px|link=wicri-sic.en:Main Page|Going to wiki Wicri/Ics (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 85%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri History of science en}}|{{{size 3|43}}}px|link=wic-hist.sci.en:Main Page|Going to wiki Wicri/Ics (en)]]
</div>
</div>
<div style="position: absolute; top: 20%; left: 93%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri LIS history en}}|{{{size 3|43}}}px|link=wic-hist.ist.en:Main Page|Going to wiki Wicri/Ics (en)]]
</div>
</div>
<div style="position: absolute; top: 38%; left: 7%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Biomass en}}|{{{size 3|43}}}px|link=wicri-biomasse.en:Main Page|Going to wiki Wicri/Biomass (en)]]
</div>
</div>
<div style="position: absolute; top: 38%; left: 15%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Water en}}|{{{size 3|43}}}px|link=wicri-water.en:Main Page|Going to wiki Wicri/Water (en)]]
</div>
</div>
<div style="position: absolute; top: 38%; left: 23%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Wood en}}|{{{size 3|43}}}px|link=wicri-bois.en:Main Page|Going to wiki Wicri/Forest (en)]]
</div>
</div>
<div style="position: absolute; top: 38%; left: 30.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Earth en}}|{{{size 3|43}}}px|link=wicri-terre.en:Main Page|Going to wiki Wicri/Earth (en)]]
</div>
</div>
<div style="position: absolute; top: 38%; left: 38%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Urban soils en}}|{{{size 3|43}}}px|link=wicri-solsurbains.en:Main Page|Going to wiki Wicri/Urban soils (en)]]
</div>
</div>
<div style="position: absolute; top: 38%; left: 46%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Agronomy en}}|{{{size 3|43}}}px|link=wicri-agronomie.en:Main Page|Going to wiki Wicri/Agronomy (en)]]
</div>
</div>
<div style="position: absolute; top: 38%; left: 57%;">
<div style="position: absolute; left: -{{#expr: {{{size 6|{{#expr: {{{size 1|64}}} / 2}} }}} / 2}}px;">
[[{{Logo Wicri Animals en}}|{{{size 5|39}}}px|link=wicri-animaux.en:Main Page|Going tp Wicri/Animals (en)]]
</div>
</div>
<div style="position: absolute; top: 38%; left: 71%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Artist en}}|{{{size 3|43}}}px|link=wic-sic-artist.en:Main Page|Going to wiki Wicri/Ics/Artist (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 6.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Germany en}}|{{{size 3|43}}}px|link=wicri-allemagne.en:Main Page|Going to wiki Wicri/Germania (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 14%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Belgium en}}|{{{size 3|43}}}px|link=wicri-belgique.en:Main Page|Going to wiki Wicri/Belgium (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 22%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri France en}}|{{{size 3|43}}}px|link=wicri-france.en:Main Page|Going to wiki Wicri/France (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 30%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Luxembourg en}}|{{{size 3|43}}}px|link=wicri-lux.en:Main Page|Going to wiki Wicri/Luxembourg (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 39%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Africa en}}|{{{size 3|43}}}px|link=wicri-africa.en:Main Page|Going to wiki Wicri/Africa (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 47%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Americas en}}|{{{size 3|43}}}px|link=wicri-amerique.en:Main Page|Going to wiki Wicri/Americas (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 55%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Asia en}}|{{{size 3|43}}}px|link=wicri-asia.en:Main Page|Going to wiki Wicri/Asia (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 63%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Europe en}}|{{{size 3|43}}}px|link=wicri-europe.en:Main Page|Going to wiki Wicri/Europe (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 71%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Oceania en}}|{{{size 3|43}}}px|link=wicri-oceania.en:Main Page|Going to wiki Wicri/Oceania (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 79%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Canada en}}|{{{size 3|43}}}px|link=wicri-canada.en:Main Page|Going to wiki Wicri/Canada (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 86.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Morocco en}}|{{{size 3|43}}}px|link=wicri-maroc.en:Main Page|Going to wiki Wicri/Morocco (en)]]
</div>
</div>
<div style="position: absolute; top: 55%; left: 94%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Brazil en}}|{{{size 3|43}}}px|link=wicri-bresil.en:Main Page|Going to wiki Wicri/Brazil (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 8.5%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Greater Region en}}|{{{size 5|39}}}px|link=wicri-gr.en:Main Page|Going to wiki Wicri/Greater Region (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 16%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Rhineland-Palatinate en}}|{{{size 5|39}}}px|link=wicri-rhen-pal.en:Main Page|Going to wiki Wicri/Rhineland-Palatinate(en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 24%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Saarland en}}|{{{size 5|39}}}px|link=wicri-sarre.en:Main Page|Going to wiki Wicri/Saarland (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 31%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Wallonia en}}|{{{size 5|39}}}px|link=wicri-wallonie.en:Main Page|Going to wiki Wicri/Wallonia (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 46%;">
<div style="position: absolute; left: -{{#expr: {{{size 3|43}}} / 2}}px;">
[[{{Logo Wicri Grand Est en}}|{{{size 5|39}}}px|link=wic-grand.est.en:Main Page|Going to wiki Wicri/Grand Est (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 61%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Alsace en}}|{{{size 5|39}}}px|link=wic-alsace.en:Main Page|Going to wiki Wicri/Alsace (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 69%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Lorraine en}}|{{{size 5|39}}}px|link=wic-lorraine.en:Main Page|Going to wiki Wicri/Lorraine (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 85%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Nancy en}}|{{{size 5|39}}}px|link=wicri-nancy.en:Main Page|Going to wiki Wicri/Nancy (en)]]
</div>
</div>
<div style="position: absolute; top: 75%; left: 92%;">
<div style="position: absolute; left: -{{#expr: {{{size 5|39}}} / 2}}px;">
[[{{Logo Wicri Île-de-France en}}|{{{size 5|39}}}px|link=wic-iledefrance.en:Main Page|Going to wiki Wicri/Île-de-France (en)]]
</div>
</div>
</div>
79599e4fd04e4a1a8d80ca4b7a2dfe9a88e5c05d
Template:Template other
10
387
756
2024-01-10T21:44:53Z
imported>Jacques Ducloy
0
Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {..."
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:Template}}
| template
| other
}}
}}
| template = {{{1|}}}
| other
| #default = {{{2|}}}
}}<!--End switch--><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
06fb13d264df967b5232141067eb7d2b67372d76
Template:Ensure AAA contrast ratio
10
386
755
2024-01-10T21:45:38Z
imported>Jacques Ducloy
0
Created page with "<includeonly>{{#if:{{{base|}}}|{{#ifexpr:{{#invoke:Color contrast|ratio|{{{base}}}|{{{other|}}}|error=21}} < 7 OR {{#invoke:Color contrast|ratio|{{{base}}}|black|error=0}} < 7..."
wikitext
text/x-wiki
<includeonly>{{#if:{{{base|}}}|{{#ifexpr:{{#invoke:Color contrast|ratio|{{{base}}}|{{{other|}}}|error=21}} < 7 OR {{#invoke:Color contrast|ratio|{{{base}}}|black|error=0}} < 7 AND {{#invoke:Color contrast|ratio|{{{base}}}|white|error=0}} < 7|{{{category|}}}}}}}</includeonly><noinclude>
{{Documentation}}</noinclude>
fc83a8a4a27cb92d451a525073f8d814628fc79f
Template:Background color
10
385
754
2024-01-10T21:46:27Z
imported>Jacques Ducloy
0
Created page with "<span style="background-color: {{{c|{{{1|}}}}}}">{{{t|{{{2|}}}}}}</span>{{Main other|{{Ensure AAA contrast ratio|base={{{c|{{{1|}}}}}}|other={{{t|{{{2|}}}}}}|category=Catego..."
wikitext
text/x-wiki
<span style="background-color: {{{c|{{{1|}}}}}}">{{{t|{{{2|}}}}}}</span>{{Main other|{{Ensure AAA contrast ratio|base={{{c|{{{1|}}}}}}|other={{{t|{{{2|}}}}}}|category=[[Category:Pages using Template:Background color with invalid color combination]]}}}}{{Template other|{{Ensure AAA contrast ratio|base={{{c|{{{1|}}}}}}|other={{{t|{{{2|}}}}}}|category=[[Category:Pages using Template:Background color with invalid color combination]]}}}}<noinclude>
{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
</noinclude>
1e7a96d3ad444366f8abfe647562f7510c5cfa6d
Template:Article body/Page number right
10
384
753
2024-01-10T21:47:14Z
imported>Jacques Ducloy
0
Created page with "<span id="P. {{{1}}}" style="position:absolute;right:10px;">{{Background color|yellow|[{{{1}}}]}}</span>"
wikitext
text/x-wiki
<span id="P. {{{1}}}" style="position:absolute;right:10px;">{{Background color|yellow|[{{{1}}}]}}</span>
c19d1c104ec2f2b8c068358aa725975f3da44606
Template:Article body/Image page left
10
383
752
2024-01-10T21:47:54Z
imported>Jacques Ducloy
0
Created page with "<span style="position:absolute;left:10px;">[[File:{{{1}}}|50px]]</span>"
wikitext
text/x-wiki
<span style="position:absolute;left:10px;">[[File:{{{1}}}|50px]]</span>
769c76665fbbe8c73561f3523ab6868fccebe1f6
Main Page
0
1
751
23
2024-01-13T14:48:23Z
Jacques Ducloy
1
wikitext
text/x-wiki
{{Wicri box
|text=<center>'''<big>Welcome on Wicri/Grand Est in English</big>'''</center>
}}
[[fr:Accueil]]
0a4336ab3548d269c3ef32e1a9ba85bd2d5d3464
855
751
2024-01-13T15:02:20Z
Jacques Ducloy
1
wikitext
text/x-wiki
{{Wicri box
|text=<center>'''<big>Welcome on Wicri/Grand Est in English</big>'''</center>
}}
{|width=100%
|-
|[[File:ZOO Bojnice - Levjpg|left|200px|Nile river and delta]]
|
|
{|style="background:#ccccff;-moz-border-radius:0.8em; -webkit-border-radius:0.5em;" align=right
|-
|width=200px|{{Wicri global map (en)
|map size=280
|size 1 = 32
|size 2 = 26
|size 3 = 24
|size 4 = 22
|size 5 = 18
|size 6 = 17
}}
|-
|width=200px|{{Wicri network navbox}}
|}
|}
__NOTOC__
[[fr:Accueil]]
2512ca4b049d88cff95c2a41e1386dfae122094b
856
855
2024-01-13T15:03:01Z
Jacques Ducloy
1
wikitext
text/x-wiki
{{Wicri box
|text=<center>'''<big>Welcome on Wicri/Grand Est in English</big>'''</center>
}}
{|width=100%
|-
|[[File:Catedrala din Reims2.jpg|left|200px|Nile river and delta]]
|
|
{|style="background:#ccccff;-moz-border-radius:0.8em; -webkit-border-radius:0.5em;" align=right
|-
|width=200px|{{Wicri global map (en)
|map size=280
|size 1 = 32
|size 2 = 26
|size 3 = 24
|size 4 = 22
|size 5 = 18
|size 6 = 17
}}
|-
|width=200px|{{Wicri network navbox}}
|}
|}
__NOTOC__
[[fr:Accueil]]
eeec661cde856141f746ecbb5783d9c634a6f087
Grand Est
0
396
854
2024-01-13T14:57:56Z
Jacques Ducloy
1
Created page with "<small>{{geographical access}} > [[Europe]] > [[France]] > [[Grand Est]]</small><hr/> [[fr:Grand Est]]"
wikitext
text/x-wiki
<small>{{geographical access}} > [[Europe]] > [[France]] > [[Grand Est]]</small><hr/>
[[fr:Grand Est]]
c2dc20036a76e7d24231e7cfee4cbbf7abe621e6
Africa
0
37
857
61
2024-01-13T15:04:21Z
Jacques Ducloy
1
/* Interwiki links */
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Africa]]</small><hr/>
==Countries of Africa==
{{Countries of Africa}}
==See also==
===Pages & articles===
* Categories: [[:Category:Africa|Africa]]
===Interwiki links===
See Africa on:
* [[wicri-wicri.en:Africa|Wicri/Wicri]]
[[fr:Afrique]]
4ef8f455cbb579be234148dffb4a84814bdbea8b
Geographic access
0
397
858
2024-01-13T15:09:24Z
Jacques Ducloy
1
Created page with "==Geographical access== * [[Africa]] * [[Americas]] * [[Asia]] * [[Europe]] > [[France]] * [[Oceania]]"
wikitext
text/x-wiki
==Geographical access==
* [[Africa]]
* [[Americas]]
* [[Asia]]
* [[Europe]] > [[France]]
* [[Oceania]]
12c463ccd182d2c00f7fe8abec2c7d578bc7321c
Europe
0
43
859
73
2024-01-13T15:11:51Z
Jacques Ducloy
1
/* Interwiki links */
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Europe]]</small><hr/>
==Countries of Europe==
{{Countries of Europe}}
==See also==
===Pages & articles===
* Categories: [[:Category:Europe|Europe]]
===Interwiki links===
See Europe on:
* [[wicri-wicri.en:Europe|Wicri/Wicri]]
[[fr:Europe]]
70367599b82d9a2a5214976f34f98672d5a28912
860
859
2024-01-13T15:14:39Z
Jacques Ducloy
1
/* Interwiki links */
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Europe]]</small><hr/>
==Countries of Europe==
{{Countries of Europe}}
==See also==
===Pages & articles===
* Categories: [[:Category:Europe|Europe]]
===Interwiki links===
See Europe on:
* [[wicri-europe.en:Main Page|Wicri/Europe]]
[[fr:Europe]]
b25b06c8f148f23e27fa68476f7a64246773047a
Asia
0
35
861
57
2024-01-13T15:15:21Z
Jacques Ducloy
1
/* Interwiki links */
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Asia]]</small><hr/>
==Countries of Asia==
{{Countries of Asia}}
==See also==
===Pages & articles===
* Categories: [[:Category:Asia|Asia]]
===Interwiki links===
See Asia on:
* [[wicri-asia.en:Main Page|Wicri/Asia]]
[[fr:Asie]]
60c3a797f050641939ca0690c78381a3a2e50689
EuroVoc
0
26
862
39
2024-01-13T15:20:29Z
Jacques Ducloy
1
wikitext
text/x-wiki
'''EuroVoc''' is a multilingual, multidisciplinary thesaurus covering the activities of the [[European Union]]
==See also==
===On this wiki===
See:
* Category [[:Category:EuroVoc|EuroVoc]]
===Interwiki links===
See Eurovoc on wikis:
* [[wicri-europe.en:EuroVoc|Wicri/Europe]].
[[fr:Eurovoc]]
782dbe49a4c2c92a2a62f4fab8382ff991c16cb3
France
0
45
863
77
2024-01-13T15:21:46Z
Jacques Ducloy
1
/* Interwiki links */
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Europe]] > [[France]]</small><hr/>
==Regions of France==
{{Regions of France}}
==See also==
===Pages & articles===
* Categories: [[:Category:France|France]]
===Interwiki links===
France on : [[wicri.france.en:France|Wicri/France]]
[[fr:France]]
3f13af43a53655e74b79a7e2ef79c7234d84854c
864
863
2024-01-13T15:22:02Z
Jacques Ducloy
1
/* Interwiki links */
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Europe]] > [[France]]</small><hr/>
==Regions of France==
{{Regions of France}}
==See also==
===Pages & articles===
* Categories: [[:Category:France|France]]
===Interwiki links===
France on : [[wicri-france.en:France|Wicri/France]]
[[fr:France]]
244a847dce6d8cc3d5b2aa5ca73362eb9d4fd3fb
Oceania
0
41
865
69
2024-01-13T15:22:43Z
Jacques Ducloy
1
/* Interwiki links */
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Oceania]]</small><hr/>
==Countries and territories of Oceania==
{{Countries and territories of Oceania}}
==See also==
===Pages & articles===
* Categories: [[:Category:Oceania|Oceania]]
===Interwiki links===
See Oceania on:
* [[wicri-wicri.en:Oceania|Wicri/Wicri]]
[[fr:Océanie]]
2b2be1e984bd5ca90302cb8c52bc4558c20cb1e0
Americas
0
39
866
65
2024-01-13T15:23:09Z
Jacques Ducloy
1
/* Interwiki links */
wikitext
text/x-wiki
<!--
This page can be used in initalization process of a new wiki
-->
<small>{{geographical access}} > [[Americas]]</small><hr/>
==Countries of the Americas==
{{Countries of the Americas}}
==See also==
===Pages & articles===
* Categories: [[:Category:Americas|Americas]]
===Interwiki links===
See Americas on:
* [[wicri-wicri.en:Americas|Wicri/Wicri]]
[[fr:Amérique]]
a6ad48b23cc72f7850151c5ede8d579d126f21cb
Topics index
0
24
867
35
2024-01-13T15:24:36Z
Jacques Ducloy
1
wikitext
text/x-wiki
==[[Geographic access|Geographical access]]==
* [[Africa]]
* [[Americas]]
* [[Asia]]
* [[Europe]] > [[France]]
* [[Oceania]]
==Topics acces with [[EuroVoc]]==
{|
|-
|{{EuroVoc domains - list 1.2}}
|{{Copyright EuroVoc}}
|}
==Categories==
See: [[:Category:Contents]]
* [[archives]]
[[fr:Index thématique]]
e7d9047e5630f9320d178ffd7d47cb6b8f6476ed